var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571558&x=254',
		'title': '',
		'imageId': '69571558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571573&x=254',
		'title': '',
		'imageId': '69571573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571563&x=254',
		'title': '',
		'imageId': '69571563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571567&x=254',
		'title': '',
		'imageId': '69571567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571569&x=254',
		'title': '',
		'imageId': '69571569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571566&x=254',
		'title': '',
		'imageId': '69571566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571572&x=254',
		'title': '',
		'imageId': '69571572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571568&x=254',
		'title': '',
		'imageId': '69571568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571564&x=254',
		'title': '',
		'imageId': '69571564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571577&x=254',
		'title': '',
		'imageId': '69571577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571580&x=254',
		'title': '',
		'imageId': '69571580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571565&x=254',
		'title': '',
		'imageId': '69571565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571579&x=254',
		'title': '',
		'imageId': '69571579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571559&x=254',
		'title': '',
		'imageId': '69571559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571560&x=254',
		'title': '',
		'imageId': '69571560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571561&x=254',
		'title': '',
		'imageId': '69571561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571562&x=254',
		'title': '',
		'imageId': '69571562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571575&x=254',
		'title': '',
		'imageId': '69571575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571574&x=254',
		'title': '',
		'imageId': '69571574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571571&x=254',
		'title': '',
		'imageId': '69571571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571578&x=254',
		'title': '',
		'imageId': '69571578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571570&x=254',
		'title': '',
		'imageId': '69571570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987921&docid=69571576&x=254',
		'title': '',
		'imageId': '69571576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987921';

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