var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080609&x=4523',
		'title': '',
		'imageId': '69080609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080613&x=4523',
		'title': '',
		'imageId': '69080613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080612&x=4523',
		'title': '',
		'imageId': '69080612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080617&x=4523',
		'title': '',
		'imageId': '69080617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080611&x=4523',
		'title': '',
		'imageId': '69080611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080615&x=4523',
		'title': '',
		'imageId': '69080615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080616&x=4523',
		'title': '',
		'imageId': '69080616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080610&x=4523',
		'title': '',
		'imageId': '69080610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080619&x=4523',
		'title': '',
		'imageId': '69080619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080618&x=4523',
		'title': '',
		'imageId': '69080618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972352&docid=69080614&x=4523',
		'title': '',
		'imageId': '69080614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972352';

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