var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524636&x=858',
		'title': '',
		'imageId': '68524636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524626&x=858',
		'title': '',
		'imageId': '68524626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524629&x=858',
		'title': '',
		'imageId': '68524629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524628&x=858',
		'title': '',
		'imageId': '68524628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524624&x=858',
		'title': '',
		'imageId': '68524624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524630&x=858',
		'title': '',
		'imageId': '68524630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524644&x=858',
		'title': '',
		'imageId': '68524644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524621&x=858',
		'title': '',
		'imageId': '68524621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524623&x=858',
		'title': '',
		'imageId': '68524623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524625&x=858',
		'title': '',
		'imageId': '68524625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524633&x=858',
		'title': '',
		'imageId': '68524633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524638&x=858',
		'title': '',
		'imageId': '68524638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524627&x=858',
		'title': '',
		'imageId': '68524627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524631&x=858',
		'title': '',
		'imageId': '68524631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524634&x=858',
		'title': '',
		'imageId': '68524634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524622&x=858',
		'title': '',
		'imageId': '68524622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524639&x=858',
		'title': '',
		'imageId': '68524639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524642&x=858',
		'title': '',
		'imageId': '68524642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524632&x=858',
		'title': '',
		'imageId': '68524632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524643&x=858',
		'title': '',
		'imageId': '68524643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524637&x=858',
		'title': '',
		'imageId': '68524637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524635&x=858',
		'title': '',
		'imageId': '68524635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524640&x=858',
		'title': '',
		'imageId': '68524640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947340&docid=68524641&x=858',
		'title': '',
		'imageId': '68524641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947340';

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