var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429968&x=4619',
		'title': '',
		'imageId': '71429968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429970&x=4619',
		'title': '',
		'imageId': '71429970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429963&x=4619',
		'title': '',
		'imageId': '71429963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429967&x=4619',
		'title': '',
		'imageId': '71429967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429971&x=4619',
		'title': '',
		'imageId': '71429971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429965&x=4619',
		'title': '',
		'imageId': '71429965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429966&x=4619',
		'title': '',
		'imageId': '71429966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429969&x=4619',
		'title': '',
		'imageId': '71429969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067290&docid=71429964&x=4619',
		'title': '',
		'imageId': '71429964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067290';

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