var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176358&x=659',
		'title': '',
		'imageId': '70176358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176354&x=659',
		'title': '',
		'imageId': '70176354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176357&x=659',
		'title': '',
		'imageId': '70176357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176361&x=659',
		'title': '',
		'imageId': '70176361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176359&x=659',
		'title': '',
		'imageId': '70176359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176356&x=659',
		'title': '',
		'imageId': '70176356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176363&x=659',
		'title': '',
		'imageId': '70176363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176362&x=659',
		'title': '',
		'imageId': '70176362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176360&x=659',
		'title': '',
		'imageId': '70176360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176355&x=659',
		'title': '',
		'imageId': '70176355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017602&docid=70176353&x=659',
		'title': '',
		'imageId': '70176353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017602';

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