var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266413&x=1221',
		'title': '',
		'imageId': '69266413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266416&x=1221',
		'title': '',
		'imageId': '69266416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266414&x=1221',
		'title': '',
		'imageId': '69266414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266419&x=1221',
		'title': '',
		'imageId': '69266419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266417&x=1221',
		'title': '',
		'imageId': '69266417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266412&x=1221',
		'title': '',
		'imageId': '69266412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266409&x=1221',
		'title': '',
		'imageId': '69266409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266410&x=1221',
		'title': '',
		'imageId': '69266410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266415&x=1221',
		'title': '',
		'imageId': '69266415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266411&x=1221',
		'title': '',
		'imageId': '69266411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980114&docid=69266407&x=1221',
		'title': '',
		'imageId': '69266407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980114';

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