var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982137&x=4451',
		'title': '',
		'imageId': '69982137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982140&x=4451',
		'title': '',
		'imageId': '69982140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982144&x=4451',
		'title': '',
		'imageId': '69982144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982136&x=4451',
		'title': '',
		'imageId': '69982136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982139&x=4451',
		'title': '',
		'imageId': '69982139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982143&x=4451',
		'title': '',
		'imageId': '69982143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982145&x=4451',
		'title': '',
		'imageId': '69982145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982138&x=4451',
		'title': '',
		'imageId': '69982138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982135&x=4451',
		'title': '',
		'imageId': '69982135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982142&x=4451',
		'title': '',
		'imageId': '69982142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982146&x=4451',
		'title': '',
		'imageId': '69982146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010771&docid=69982141&x=4451',
		'title': '',
		'imageId': '69982141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010771';

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