var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809687&x=4816',
		'title': '',
		'imageId': '69809687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809696&x=4816',
		'title': '',
		'imageId': '69809696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809695&x=4816',
		'title': '',
		'imageId': '69809695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809702&x=4816',
		'title': '',
		'imageId': '69809702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809698&x=4816',
		'title': '',
		'imageId': '69809698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809694&x=4816',
		'title': '',
		'imageId': '69809694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809699&x=4816',
		'title': '',
		'imageId': '69809699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809700&x=4816',
		'title': '',
		'imageId': '69809700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809697&x=4816',
		'title': '',
		'imageId': '69809697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809701&x=4816',
		'title': '',
		'imageId': '69809701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003977&docid=69809831&x=4816',
		'title': '',
		'imageId': '69809831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003977';

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