var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835188&x=2315',
		'title': '',
		'imageId': '68835188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835187&x=2315',
		'title': '',
		'imageId': '68835187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835193&x=2315',
		'title': '',
		'imageId': '68835193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835192&x=2315',
		'title': '',
		'imageId': '68835192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835184&x=2315',
		'title': '',
		'imageId': '68835184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835186&x=2315',
		'title': '',
		'imageId': '68835186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835191&x=2315',
		'title': '',
		'imageId': '68835191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835194&x=2315',
		'title': '',
		'imageId': '68835194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835189&x=2315',
		'title': '',
		'imageId': '68835189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835190&x=2315',
		'title': '',
		'imageId': '68835190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960178&docid=68835185&x=2315',
		'title': '',
		'imageId': '68835185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960178';

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