var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954309&x=3445',
		'title': '',
		'imageId': '68954309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954311&x=3445',
		'title': '',
		'imageId': '68954311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954314&x=3445',
		'title': '',
		'imageId': '68954314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954310&x=3445',
		'title': '',
		'imageId': '68954310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954312&x=3445',
		'title': '',
		'imageId': '68954312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954313&x=3445',
		'title': '',
		'imageId': '68954313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954315&x=3445',
		'title': '',
		'imageId': '68954315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954316&x=3445',
		'title': '',
		'imageId': '68954316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954317&x=3445',
		'title': '',
		'imageId': '68954317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966190&docid=68954318&x=3445',
		'title': '',
		'imageId': '68954318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966190';

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