var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590308&x=3157',
		'title': '',
		'imageId': '66590308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590306&x=3157',
		'title': '',
		'imageId': '66590306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590315&x=3157',
		'title': '',
		'imageId': '66590315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590309&x=3157',
		'title': '',
		'imageId': '66590309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590313&x=3157',
		'title': '',
		'imageId': '66590313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590314&x=3157',
		'title': '',
		'imageId': '66590314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590311&x=3157',
		'title': '',
		'imageId': '66590311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590310&x=3157',
		'title': '',
		'imageId': '66590310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590316&x=3157',
		'title': '',
		'imageId': '66590316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590312&x=3157',
		'title': '',
		'imageId': '66590312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923640&docid=66590307&x=3157',
		'title': '',
		'imageId': '66590307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923640';

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