var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732415&x=3457',
		'title': '',
		'imageId': '69732415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732414&x=3457',
		'title': '',
		'imageId': '69732414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732416&x=3457',
		'title': '',
		'imageId': '69732416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732417&x=3457',
		'title': '',
		'imageId': '69732417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732418&x=3457',
		'title': '',
		'imageId': '69732418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732421&x=3457',
		'title': '',
		'imageId': '69732421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732419&x=3457',
		'title': '',
		'imageId': '69732419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732422&x=3457',
		'title': '',
		'imageId': '69732422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732420&x=3457',
		'title': '',
		'imageId': '69732420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732423&x=3457',
		'title': '',
		'imageId': '69732423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732424&x=3457',
		'title': '',
		'imageId': '69732424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000678&docid=69732425&x=3457',
		'title': '',
		'imageId': '69732425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000678';

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