var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620911&x=1154',
		'title': '',
		'imageId': '68620911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620915&x=1154',
		'title': '',
		'imageId': '68620915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620914&x=1154',
		'title': '',
		'imageId': '68620914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620908&x=1154',
		'title': '',
		'imageId': '68620908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620909&x=1154',
		'title': '',
		'imageId': '68620909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620910&x=1154',
		'title': '',
		'imageId': '68620910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620913&x=1154',
		'title': '',
		'imageId': '68620913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620912&x=1154',
		'title': '',
		'imageId': '68620912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=68620907&x=1154',
		'title': '',
		'imageId': '68620907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=59270415&x=1154',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939649&docid=59270407&x=1154',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939649';

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