var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022565&x=5423',
		'title': '',
		'imageId': '71022565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022562&x=5423',
		'title': '',
		'imageId': '71022562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022567&x=5423',
		'title': '',
		'imageId': '71022567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022561&x=5423',
		'title': '',
		'imageId': '71022561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022566&x=5423',
		'title': '',
		'imageId': '71022566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022564&x=5423',
		'title': '',
		'imageId': '71022564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022569&x=5423',
		'title': '',
		'imageId': '71022569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022568&x=5423',
		'title': '',
		'imageId': '71022568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051251&docid=71022563&x=5423',
		'title': '',
		'imageId': '71022563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051251';

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