var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70047817&x=4529',
		'title': '',
		'imageId': '70047817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046384&x=4529',
		'title': '',
		'imageId': '70046384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046307&x=4529',
		'title': '',
		'imageId': '70046307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046310&x=4529',
		'title': '',
		'imageId': '70046310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046312&x=4529',
		'title': '',
		'imageId': '70046312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046309&x=4529',
		'title': '',
		'imageId': '70046309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046308&x=4529',
		'title': '',
		'imageId': '70046308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046311&x=4529',
		'title': '',
		'imageId': '70046311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046315&x=4529',
		'title': '',
		'imageId': '70046315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046320&x=4529',
		'title': '',
		'imageId': '70046320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046321&x=4529',
		'title': '',
		'imageId': '70046321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046324&x=4529',
		'title': '',
		'imageId': '70046324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046327&x=4529',
		'title': '',
		'imageId': '70046327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046330&x=4529',
		'title': '',
		'imageId': '70046330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046333&x=4529',
		'title': '',
		'imageId': '70046333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046341&x=4529',
		'title': '',
		'imageId': '70046341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046339&x=4529',
		'title': '',
		'imageId': '70046339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046342&x=4529',
		'title': '',
		'imageId': '70046342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046345&x=4529',
		'title': '',
		'imageId': '70046345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046350&x=4529',
		'title': '',
		'imageId': '70046350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046351&x=4529',
		'title': '',
		'imageId': '70046351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046354&x=4529',
		'title': '',
		'imageId': '70046354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046357&x=4529',
		'title': '',
		'imageId': '70046357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046361&x=4529',
		'title': '',
		'imageId': '70046361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046365&x=4529',
		'title': '',
		'imageId': '70046365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046366&x=4529',
		'title': '',
		'imageId': '70046366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046370&x=4529',
		'title': '',
		'imageId': '70046370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046372&x=4529',
		'title': '',
		'imageId': '70046372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046375&x=4529',
		'title': '',
		'imageId': '70046375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046380&x=4529',
		'title': '',
		'imageId': '70046380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046383&x=4529',
		'title': '',
		'imageId': '70046383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046393&x=4529',
		'title': '',
		'imageId': '70046393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046392&x=4529',
		'title': '',
		'imageId': '70046392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046390&x=4529',
		'title': '',
		'imageId': '70046390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046398&x=4529',
		'title': '',
		'imageId': '70046398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013578&docid=70046399&x=4529',
		'title': '',
		'imageId': '70046399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013578';

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