var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917412&x=4243',
		'title': '',
		'imageId': '69917412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917414&x=4243',
		'title': '',
		'imageId': '69917414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917415&x=4243',
		'title': '',
		'imageId': '69917415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917416&x=4243',
		'title': '',
		'imageId': '69917416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917417&x=4243',
		'title': '',
		'imageId': '69917417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917418&x=4243',
		'title': '',
		'imageId': '69917418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917419&x=4243',
		'title': '',
		'imageId': '69917419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917420&x=4243',
		'title': '',
		'imageId': '69917420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917421&x=4243',
		'title': '',
		'imageId': '69917421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917422&x=4243',
		'title': '',
		'imageId': '69917422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917423&x=4243',
		'title': '',
		'imageId': '69917423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008301&docid=69917424&x=4243',
		'title': '',
		'imageId': '69917424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008301';

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