var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286435&x=3826',
		'title': '',
		'imageId': '68286435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286421&x=3826',
		'title': '',
		'imageId': '68286421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286423&x=3826',
		'title': '',
		'imageId': '68286423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286448&x=3826',
		'title': '',
		'imageId': '68286448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286419&x=3826',
		'title': '',
		'imageId': '68286419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286425&x=3826',
		'title': '',
		'imageId': '68286425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286441&x=3826',
		'title': '',
		'imageId': '68286441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286447&x=3826',
		'title': '',
		'imageId': '68286447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286439&x=3826',
		'title': '',
		'imageId': '68286439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286443&x=3826',
		'title': '',
		'imageId': '68286443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286430&x=3826',
		'title': '',
		'imageId': '68286430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286436&x=3826',
		'title': '',
		'imageId': '68286436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286431&x=3826',
		'title': '',
		'imageId': '68286431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286437&x=3826',
		'title': '',
		'imageId': '68286437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286426&x=3826',
		'title': '',
		'imageId': '68286426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286427&x=3826',
		'title': '',
		'imageId': '68286427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286418&x=3826',
		'title': '',
		'imageId': '68286418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286417&x=3826',
		'title': '',
		'imageId': '68286417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286432&x=3826',
		'title': '',
		'imageId': '68286432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286422&x=3826',
		'title': '',
		'imageId': '68286422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286428&x=3826',
		'title': '',
		'imageId': '68286428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286420&x=3826',
		'title': '',
		'imageId': '68286420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286433&x=3826',
		'title': '',
		'imageId': '68286433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286444&x=3826',
		'title': '',
		'imageId': '68286444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286429&x=3826',
		'title': '',
		'imageId': '68286429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286424&x=3826',
		'title': '',
		'imageId': '68286424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286446&x=3826',
		'title': '',
		'imageId': '68286446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286442&x=3826',
		'title': '',
		'imageId': '68286442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286434&x=3826',
		'title': '',
		'imageId': '68286434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286450&x=3826',
		'title': '',
		'imageId': '68286450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286445&x=3826',
		'title': '',
		'imageId': '68286445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286440&x=3826',
		'title': '',
		'imageId': '68286440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286449&x=3826',
		'title': '',
		'imageId': '68286449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=68286438&x=3826',
		'title': '',
		'imageId': '68286438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=59270415&x=3826',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928967&docid=59270407&x=3826',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928967';

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