var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596377&x=5158',
		'title': '',
		'imageId': '71596377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596380&x=5158',
		'title': '',
		'imageId': '71596380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596378&x=5158',
		'title': '',
		'imageId': '71596378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596383&x=5158',
		'title': '',
		'imageId': '71596383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596381&x=5158',
		'title': '',
		'imageId': '71596381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596375&x=5158',
		'title': '',
		'imageId': '71596375',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596376&x=5158',
		'title': '',
		'imageId': '71596376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596382&x=5158',
		'title': '',
		'imageId': '71596382',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072632&docid=71596379&x=5158',
		'title': '',
		'imageId': '71596379',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072632';

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