var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183249&x=4514',
		'title': '',
		'imageId': '69183249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183366&x=4514',
		'title': '',
		'imageId': '69183366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183368&x=4514',
		'title': '',
		'imageId': '69183368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183370&x=4514',
		'title': '',
		'imageId': '69183370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183371&x=4514',
		'title': '',
		'imageId': '69183371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183369&x=4514',
		'title': '',
		'imageId': '69183369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183373&x=4514',
		'title': '',
		'imageId': '69183373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183375&x=4514',
		'title': '',
		'imageId': '69183375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183374&x=4514',
		'title': '',
		'imageId': '69183374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183372&x=4514',
		'title': '',
		'imageId': '69183372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976666&docid=69183367&x=4514',
		'title': '',
		'imageId': '69183367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976666';

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