var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908388&x=4742',
		'title': '',
		'imageId': '68908388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908391&x=4742',
		'title': '',
		'imageId': '68908391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908407&x=4742',
		'title': '',
		'imageId': '68908407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908363&x=4742',
		'title': '',
		'imageId': '68908363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908366&x=4742',
		'title': '',
		'imageId': '68908366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908370&x=4742',
		'title': '',
		'imageId': '68908370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908373&x=4742',
		'title': '',
		'imageId': '68908373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908376&x=4742',
		'title': '',
		'imageId': '68908376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908379&x=4742',
		'title': '',
		'imageId': '68908379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=68908382&x=4742',
		'title': '',
		'imageId': '68908382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976770&docid=69012251&x=4742',
		'title': '',
		'imageId': '69012251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976770';

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