var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717423&x=305',
		'title': '',
		'imageId': '71717423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717425&x=305',
		'title': '',
		'imageId': '71717425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717437&x=305',
		'title': '',
		'imageId': '71717437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717439&x=305',
		'title': '',
		'imageId': '71717439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717441&x=305',
		'title': '',
		'imageId': '71717441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717444&x=305',
		'title': '',
		'imageId': '71717444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717445&x=305',
		'title': '',
		'imageId': '71717445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080463&docid=71717422&x=305',
		'title': '',
		'imageId': '71717422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080463';

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