var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445376&x=560',
		'title': '',
		'imageId': '71445376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445375&x=560',
		'title': '',
		'imageId': '71445375',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445377&x=560',
		'title': '',
		'imageId': '71445377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445383&x=560',
		'title': '',
		'imageId': '71445383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445394&x=560',
		'title': '',
		'imageId': '71445394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445379&x=560',
		'title': '',
		'imageId': '71445379',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71445378&x=560',
		'title': '',
		'imageId': '71445378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081107&docid=71453978&x=560',
		'title': '',
		'imageId': '71453978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4081107';

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