var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274857&x=125',
		'title': '',
		'imageId': '71274857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274859&x=125',
		'title': '',
		'imageId': '71274859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274858&x=125',
		'title': '',
		'imageId': '71274858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274866&x=125',
		'title': '',
		'imageId': '71274866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274867&x=125',
		'title': '',
		'imageId': '71274867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274868&x=125',
		'title': '',
		'imageId': '71274868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274877&x=125',
		'title': '',
		'imageId': '71274877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274876&x=125',
		'title': '',
		'imageId': '71274876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070891&docid=71274882&x=125',
		'title': '',
		'imageId': '71274882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4070891';

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