var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639353&x=3612',
		'title': '',
		'imageId': '68639353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639352&x=3612',
		'title': '',
		'imageId': '68639352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639355&x=3612',
		'title': '',
		'imageId': '68639355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639356&x=3612',
		'title': '',
		'imageId': '68639356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639354&x=3612',
		'title': '',
		'imageId': '68639354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639361&x=3612',
		'title': '',
		'imageId': '68639361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639358&x=3612',
		'title': '',
		'imageId': '68639358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639362&x=3612',
		'title': '',
		'imageId': '68639362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639360&x=3612',
		'title': '',
		'imageId': '68639360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639357&x=3612',
		'title': '',
		'imageId': '68639357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952219&docid=68639359&x=3612',
		'title': '',
		'imageId': '68639359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952219';

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