var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596354&x=455',
		'title': '',
		'imageId': '69596354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596353&x=455',
		'title': '',
		'imageId': '69596353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596356&x=455',
		'title': '',
		'imageId': '69596356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596355&x=455',
		'title': '',
		'imageId': '69596355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596357&x=455',
		'title': '',
		'imageId': '69596357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596360&x=455',
		'title': '',
		'imageId': '69596360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596363&x=455',
		'title': '',
		'imageId': '69596363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596368&x=455',
		'title': '',
		'imageId': '69596368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596369&x=455',
		'title': '',
		'imageId': '69596369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596372&x=455',
		'title': '',
		'imageId': '69596372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69465597&x=455',
		'title': '',
		'imageId': '69465597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596377&x=455',
		'title': '',
		'imageId': '69596377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596378&x=455',
		'title': '',
		'imageId': '69596378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596384&x=455',
		'title': '',
		'imageId': '69596384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596381&x=455',
		'title': '',
		'imageId': '69596381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596388&x=455',
		'title': '',
		'imageId': '69596388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596393&x=455',
		'title': '',
		'imageId': '69596393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596435&x=455',
		'title': '',
		'imageId': '69596435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596394&x=455',
		'title': '',
		'imageId': '69596394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596401&x=455',
		'title': '',
		'imageId': '69596401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596405&x=455',
		'title': 'Zip tie used as hood latch',
		'imageId': '69596405',
		'alt' : 'Zip tie used as hood latch',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596412&x=455',
		'title': '',
		'imageId': '69596412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596417&x=455',
		'title': '',
		'imageId': '69596417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596409&x=455',
		'title': '',
		'imageId': '69596409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596418&x=455',
		'title': '',
		'imageId': '69596418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596423&x=455',
		'title': '',
		'imageId': '69596423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596428&x=455',
		'title': '',
		'imageId': '69596428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596430&x=455',
		'title': '',
		'imageId': '69596430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596429&x=455',
		'title': '',
		'imageId': '69596429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596402&x=455',
		'title': '',
		'imageId': '69596402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596406&x=455',
		'title': '',
		'imageId': '69596406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69596352&x=455',
		'title': '',
		'imageId': '69596352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988891&docid=69465596&x=455',
		'title': '',
		'imageId': '69465596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988891';

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