var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625846&x=3358',
		'title': '',
		'imageId': '625846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625847&x=3358',
		'title': '',
		'imageId': '625847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625848&x=3358',
		'title': '',
		'imageId': '625848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625849&x=3358',
		'title': '',
		'imageId': '625849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625850&x=3358',
		'title': '',
		'imageId': '625850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625851&x=3358',
		'title': '',
		'imageId': '625851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625852&x=3358',
		'title': '',
		'imageId': '625852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625853&x=3358',
		'title': '',
		'imageId': '625853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625854&x=3358',
		'title': '',
		'imageId': '625854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625855&x=3358',
		'title': '',
		'imageId': '625855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179512&docid=625856&x=3358',
		'title': '',
		'imageId': '625856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179512';

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