var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407526&x=1119',
		'title': '',
		'imageId': '71407526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407529&x=1119',
		'title': '',
		'imageId': '71407529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407525&x=1119',
		'title': '',
		'imageId': '71407525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407530&x=1119',
		'title': '',
		'imageId': '71407530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407524&x=1119',
		'title': '',
		'imageId': '71407524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407531&x=1119',
		'title': '',
		'imageId': '71407531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407528&x=1119',
		'title': '',
		'imageId': '71407528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066684&docid=71407527&x=1119',
		'title': '',
		'imageId': '71407527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066684';

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