var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883662&x=5447',
		'title': '',
		'imageId': '71883662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883660&x=5447',
		'title': '',
		'imageId': '71883660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883657&x=5447',
		'title': '',
		'imageId': '71883657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883655&x=5447',
		'title': '',
		'imageId': '71883655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883656&x=5447',
		'title': '',
		'imageId': '71883656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883654&x=5447',
		'title': '',
		'imageId': '71883654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883661&x=5447',
		'title': '',
		'imageId': '71883661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883659&x=5447',
		'title': '',
		'imageId': '71883659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087786&docid=71883664&x=5447',
		'title': '',
		'imageId': '71883664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087786';

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