var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196064&x=1215',
		'title': '',
		'imageId': '70196064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196067&x=1215',
		'title': '',
		'imageId': '70196067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196063&x=1215',
		'title': '',
		'imageId': '70196063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196038&x=1215',
		'title': '',
		'imageId': '70196038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196062&x=1215',
		'title': '',
		'imageId': '70196062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196034&x=1215',
		'title': '',
		'imageId': '70196034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196056&x=1215',
		'title': '',
		'imageId': '70196056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196049&x=1215',
		'title': '',
		'imageId': '70196049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196050&x=1215',
		'title': '',
		'imageId': '70196050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196061&x=1215',
		'title': '',
		'imageId': '70196061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196054&x=1215',
		'title': '',
		'imageId': '70196054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196060&x=1215',
		'title': '',
		'imageId': '70196060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196051&x=1215',
		'title': '',
		'imageId': '70196051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196059&x=1215',
		'title': '',
		'imageId': '70196059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196053&x=1215',
		'title': '',
		'imageId': '70196053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196058&x=1215',
		'title': '',
		'imageId': '70196058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196044&x=1215',
		'title': '',
		'imageId': '70196044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196066&x=1215',
		'title': '',
		'imageId': '70196066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196057&x=1215',
		'title': '',
		'imageId': '70196057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196040&x=1215',
		'title': '',
		'imageId': '70196040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196042&x=1215',
		'title': '',
		'imageId': '70196042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196035&x=1215',
		'title': '',
		'imageId': '70196035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196048&x=1215',
		'title': '',
		'imageId': '70196048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196036&x=1215',
		'title': '',
		'imageId': '70196036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196046&x=1215',
		'title': '',
		'imageId': '70196046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196039&x=1215',
		'title': '',
		'imageId': '70196039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196043&x=1215',
		'title': '',
		'imageId': '70196043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196047&x=1215',
		'title': '',
		'imageId': '70196047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196065&x=1215',
		'title': '',
		'imageId': '70196065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196045&x=1215',
		'title': '',
		'imageId': '70196045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196041&x=1215',
		'title': '',
		'imageId': '70196041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196052&x=1215',
		'title': '',
		'imageId': '70196052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196055&x=1215',
		'title': '',
		'imageId': '70196055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=70196037&x=1215',
		'title': '',
		'imageId': '70196037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=59270415&x=1215',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018706&docid=59270407&x=1215',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018706';

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