var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058356&x=578',
		'title': '',
		'imageId': '70058356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058351&x=578',
		'title': '',
		'imageId': '70058351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058363&x=578',
		'title': '',
		'imageId': '70058363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058359&x=578',
		'title': '',
		'imageId': '70058359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058355&x=578',
		'title': '',
		'imageId': '70058355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058353&x=578',
		'title': '',
		'imageId': '70058353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058364&x=578',
		'title': '',
		'imageId': '70058364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058360&x=578',
		'title': '',
		'imageId': '70058360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058350&x=578',
		'title': '',
		'imageId': '70058350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058358&x=578',
		'title': '',
		'imageId': '70058358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058361&x=578',
		'title': '',
		'imageId': '70058361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058352&x=578',
		'title': '',
		'imageId': '70058352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058362&x=578',
		'title': '',
		'imageId': '70058362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058357&x=578',
		'title': '',
		'imageId': '70058357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058461&x=578',
		'title': '',
		'imageId': '70058461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058463&x=578',
		'title': '',
		'imageId': '70058463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058462&x=578',
		'title': '',
		'imageId': '70058462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058471&x=578',
		'title': '',
		'imageId': '70058471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058472&x=578',
		'title': '',
		'imageId': '70058472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058474&x=578',
		'title': '',
		'imageId': '70058474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058473&x=578',
		'title': '',
		'imageId': '70058473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058475&x=578',
		'title': '',
		'imageId': '70058475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014060&docid=70058484&x=578',
		'title': '',
		'imageId': '70058484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014060';

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