var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491888&x=545',
		'title': '',
		'imageId': '71491888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491886&x=545',
		'title': '',
		'imageId': '71491886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491887&x=545',
		'title': '',
		'imageId': '71491887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491889&x=545',
		'title': '',
		'imageId': '71491889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491894&x=545',
		'title': '',
		'imageId': '71491894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491898&x=545',
		'title': '',
		'imageId': '71491898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491906&x=545',
		'title': '',
		'imageId': '71491906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491908&x=545',
		'title': '',
		'imageId': '71491908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491912&x=545',
		'title': '',
		'imageId': '71491912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491885&x=545',
		'title': '',
		'imageId': '71491885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071600&docid=71491884&x=545',
		'title': '',
		'imageId': '71491884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071600';

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