var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084372&x=5559',
		'title': '',
		'imageId': '69084372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084373&x=5559',
		'title': '',
		'imageId': '69084373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084371&x=5559',
		'title': '',
		'imageId': '69084371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084377&x=5559',
		'title': '',
		'imageId': '69084377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084381&x=5559',
		'title': '',
		'imageId': '69084381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084374&x=5559',
		'title': '',
		'imageId': '69084374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084375&x=5559',
		'title': '',
		'imageId': '69084375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084376&x=5559',
		'title': '',
		'imageId': '69084376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084380&x=5559',
		'title': '',
		'imageId': '69084380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084378&x=5559',
		'title': '',
		'imageId': '69084378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972459&docid=69084379&x=5559',
		'title': '',
		'imageId': '69084379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972459';

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