var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142675&x=857',
		'title': '',
		'imageId': '71142675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142690&x=857',
		'title': '',
		'imageId': '71142690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142694&x=857',
		'title': '',
		'imageId': '71142694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142698&x=857',
		'title': '',
		'imageId': '71142698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142699&x=857',
		'title': '',
		'imageId': '71142699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142701&x=857',
		'title': '',
		'imageId': '71142701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142703&x=857',
		'title': '',
		'imageId': '71142703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142712&x=857',
		'title': '',
		'imageId': '71142712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142713&x=857',
		'title': '',
		'imageId': '71142713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142716&x=857',
		'title': '',
		'imageId': '71142716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142726&x=857',
		'title': '',
		'imageId': '71142726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142730&x=857',
		'title': '',
		'imageId': '71142730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142731&x=857',
		'title': '',
		'imageId': '71142731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142732&x=857',
		'title': '',
		'imageId': '71142732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142733&x=857',
		'title': '',
		'imageId': '71142733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142734&x=857',
		'title': '',
		'imageId': '71142734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142737&x=857',
		'title': '',
		'imageId': '71142737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142744&x=857',
		'title': '',
		'imageId': '71142744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142742&x=857',
		'title': '',
		'imageId': '71142742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055710&docid=71142670&x=857',
		'title': '',
		'imageId': '71142670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055710';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
