var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404762&x=2716',
		'title': '',
		'imageId': '71404762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404761&x=2716',
		'title': '',
		'imageId': '71404761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404763&x=2716',
		'title': '',
		'imageId': '71404763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404765&x=2716',
		'title': '',
		'imageId': '71404765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404766&x=2716',
		'title': '',
		'imageId': '71404766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404759&x=2716',
		'title': '',
		'imageId': '71404759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404767&x=2716',
		'title': '',
		'imageId': '71404767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404768&x=2716',
		'title': '',
		'imageId': '71404768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076233&docid=71404760&x=2716',
		'title': '',
		'imageId': '71404760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076233';

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