var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312378&x=5619',
		'title': '',
		'imageId': '71312378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312381&x=5619',
		'title': '',
		'imageId': '71312381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312387&x=5619',
		'title': '',
		'imageId': '71312387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312391&x=5619',
		'title': '',
		'imageId': '71312391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312393&x=5619',
		'title': '',
		'imageId': '71312393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312394&x=5619',
		'title': '',
		'imageId': '71312394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312397&x=5619',
		'title': '',
		'imageId': '71312397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312399&x=5619',
		'title': '',
		'imageId': '71312399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062419&docid=71312400&x=5619',
		'title': '',
		'imageId': '71312400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062419';

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