var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737773&x=5642',
		'title': '',
		'imageId': '70737773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737776&x=5642',
		'title': '',
		'imageId': '70737776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737778&x=5642',
		'title': '',
		'imageId': '70737778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737777&x=5642',
		'title': '',
		'imageId': '70737777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737774&x=5642',
		'title': '',
		'imageId': '70737774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737775&x=5642',
		'title': '',
		'imageId': '70737775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737783&x=5642',
		'title': '',
		'imageId': '70737783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737787&x=5642',
		'title': '',
		'imageId': '70737787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737795&x=5642',
		'title': '',
		'imageId': '70737795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737789&x=5642',
		'title': '',
		'imageId': '70737789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040296&docid=70737792&x=5642',
		'title': '',
		'imageId': '70737792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4040296';

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";
	})
}
