var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731372&x=3029',
		'title': '',
		'imageId': '69731372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731380&x=3029',
		'title': '',
		'imageId': '69731380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731373&x=3029',
		'title': '',
		'imageId': '69731373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731376&x=3029',
		'title': '',
		'imageId': '69731376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731375&x=3029',
		'title': '',
		'imageId': '69731375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731371&x=3029',
		'title': '',
		'imageId': '69731371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731374&x=3029',
		'title': '',
		'imageId': '69731374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731378&x=3029',
		'title': '',
		'imageId': '69731378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731379&x=3029',
		'title': '',
		'imageId': '69731379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731377&x=3029',
		'title': '',
		'imageId': '69731377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000528&docid=69731381&x=3029',
		'title': '',
		'imageId': '69731381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000528';

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