var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906559&x=2117',
		'title': '',
		'imageId': '65906559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906560&x=2117',
		'title': '',
		'imageId': '65906560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906561&x=2117',
		'title': '',
		'imageId': '65906561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906563&x=2117',
		'title': '',
		'imageId': '65906563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906562&x=2117',
		'title': '',
		'imageId': '65906562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906564&x=2117',
		'title': '',
		'imageId': '65906564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906565&x=2117',
		'title': '',
		'imageId': '65906565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906566&x=2117',
		'title': '',
		'imageId': '65906566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906567&x=2117',
		'title': '',
		'imageId': '65906567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906568&x=2117',
		'title': '',
		'imageId': '65906568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840242&docid=65906569&x=2117',
		'title': '',
		'imageId': '65906569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3840242';

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