var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138915&x=3728',
		'title': '',
		'imageId': '70138915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138892&x=3728',
		'title': '',
		'imageId': '70138892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138891&x=3728',
		'title': '',
		'imageId': '70138891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138888&x=3728',
		'title': '',
		'imageId': '70138888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138894&x=3728',
		'title': '',
		'imageId': '70138894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138912&x=3728',
		'title': '',
		'imageId': '70138912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138889&x=3728',
		'title': '',
		'imageId': '70138889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138906&x=3728',
		'title': '',
		'imageId': '70138906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138901&x=3728',
		'title': '',
		'imageId': '70138901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138899&x=3728',
		'title': '',
		'imageId': '70138899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138904&x=3728',
		'title': '',
		'imageId': '70138904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138909&x=3728',
		'title': '',
		'imageId': '70138909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138913&x=3728',
		'title': '',
		'imageId': '70138913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138896&x=3728',
		'title': '',
		'imageId': '70138896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138916&x=3728',
		'title': '',
		'imageId': '70138916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138902&x=3728',
		'title': '',
		'imageId': '70138902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138911&x=3728',
		'title': '',
		'imageId': '70138911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138994&x=3728',
		'title': '',
		'imageId': '70138994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138914&x=3728',
		'title': '',
		'imageId': '70138914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138890&x=3728',
		'title': '',
		'imageId': '70138890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138893&x=3728',
		'title': '',
		'imageId': '70138893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138886&x=3728',
		'title': '',
		'imageId': '70138886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138885&x=3728',
		'title': '',
		'imageId': '70138885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138908&x=3728',
		'title': '',
		'imageId': '70138908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138887&x=3728',
		'title': '',
		'imageId': '70138887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138903&x=3728',
		'title': '',
		'imageId': '70138903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138900&x=3728',
		'title': '',
		'imageId': '70138900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138907&x=3728',
		'title': '',
		'imageId': '70138907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138895&x=3728',
		'title': '',
		'imageId': '70138895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138897&x=3728',
		'title': '',
		'imageId': '70138897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138910&x=3728',
		'title': '',
		'imageId': '70138910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138905&x=3728',
		'title': '',
		'imageId': '70138905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=70138898&x=3728',
		'title': '',
		'imageId': '70138898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=59270415&x=3728',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016269&docid=59270407&x=3728',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016269';

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