var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538775&x=5016',
		'title': '',
		'imageId': '69538775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538778&x=5016',
		'title': '',
		'imageId': '69538778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538780&x=5016',
		'title': '',
		'imageId': '69538780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538781&x=5016',
		'title': '',
		'imageId': '69538781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538782&x=5016',
		'title': '',
		'imageId': '69538782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538772&x=5016',
		'title': '',
		'imageId': '69538772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538773&x=5016',
		'title': '',
		'imageId': '69538773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538774&x=5016',
		'title': '',
		'imageId': '69538774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538777&x=5016',
		'title': '',
		'imageId': '69538777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538776&x=5016',
		'title': '',
		'imageId': '69538776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992208&docid=69538779&x=5016',
		'title': '',
		'imageId': '69538779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992208';

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