var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535772&x=3758',
		'title': '',
		'imageId': '69535772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535774&x=3758',
		'title': '',
		'imageId': '69535774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535777&x=3758',
		'title': '',
		'imageId': '69535777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535781&x=3758',
		'title': '',
		'imageId': '69535781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535782&x=3758',
		'title': '',
		'imageId': '69535782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535783&x=3758',
		'title': '',
		'imageId': '69535783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535784&x=3758',
		'title': '',
		'imageId': '69535784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535785&x=3758',
		'title': '',
		'imageId': '69535785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535786&x=3758',
		'title': '',
		'imageId': '69535786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535787&x=3758',
		'title': '',
		'imageId': '69535787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535788&x=3758',
		'title': '',
		'imageId': '69535788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992216&docid=69535789&x=3758',
		'title': '',
		'imageId': '69535789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992216';

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