var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626059&x=2954',
		'title': '',
		'imageId': '626059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626060&x=2954',
		'title': '',
		'imageId': '626060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626061&x=2954',
		'title': '',
		'imageId': '626061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626062&x=2954',
		'title': '',
		'imageId': '626062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626063&x=2954',
		'title': '',
		'imageId': '626063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626064&x=2954',
		'title': '',
		'imageId': '626064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626065&x=2954',
		'title': '',
		'imageId': '626065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626066&x=2954',
		'title': '',
		'imageId': '626066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626067&x=2954',
		'title': '',
		'imageId': '626067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626068&x=2954',
		'title': '',
		'imageId': '626068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179532&docid=626069&x=2954',
		'title': '',
		'imageId': '626069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179532';

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