var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915107&x=5450',
		'title': '',
		'imageId': '71915107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915112&x=5450',
		'title': '',
		'imageId': '71915112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915133&x=5450',
		'title': '',
		'imageId': '71915133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915159&x=5450',
		'title': '',
		'imageId': '71915159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915177&x=5450',
		'title': '',
		'imageId': '71915177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915182&x=5450',
		'title': '',
		'imageId': '71915182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915293&x=5450',
		'title': '',
		'imageId': '71915293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915304&x=5450',
		'title': '',
		'imageId': '71915304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089204&docid=71915308&x=5450',
		'title': '',
		'imageId': '71915308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089204';

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