var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350065&x=3428',
		'title': '',
		'imageId': '71350065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350067&x=3428',
		'title': '',
		'imageId': '71350067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350068&x=3428',
		'title': '',
		'imageId': '71350068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350069&x=3428',
		'title': '',
		'imageId': '71350069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350079&x=3428',
		'title': '',
		'imageId': '71350079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350082&x=3428',
		'title': '',
		'imageId': '71350082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350083&x=3428',
		'title': '',
		'imageId': '71350083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350066&x=3428',
		'title': '',
		'imageId': '71350066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064504&docid=71350064&x=3428',
		'title': '',
		'imageId': '71350064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4064504';

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