var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626558&x=2317',
		'title': '',
		'imageId': '626558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626559&x=2317',
		'title': '',
		'imageId': '626559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626560&x=2317',
		'title': '',
		'imageId': '626560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626561&x=2317',
		'title': '',
		'imageId': '626561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626562&x=2317',
		'title': '',
		'imageId': '626562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626563&x=2317',
		'title': '',
		'imageId': '626563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626564&x=2317',
		'title': '',
		'imageId': '626564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626565&x=2317',
		'title': '',
		'imageId': '626565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626566&x=2317',
		'title': '',
		'imageId': '626566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626567&x=2317',
		'title': '',
		'imageId': '626567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179559&docid=626568&x=2317',
		'title': '',
		'imageId': '626568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179559';

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