var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883495&x=4744',
		'title': '',
		'imageId': '71883495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883493&x=4744',
		'title': '',
		'imageId': '71883493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883491&x=4744',
		'title': '',
		'imageId': '71883491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883489&x=4744',
		'title': '',
		'imageId': '71883489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883496&x=4744',
		'title': '',
		'imageId': '71883496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883488&x=4744',
		'title': '',
		'imageId': '71883488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883490&x=4744',
		'title': '',
		'imageId': '71883490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883492&x=4744',
		'title': '',
		'imageId': '71883492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087778&docid=71883494&x=4744',
		'title': '',
		'imageId': '71883494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087778';

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