var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600511&x=3513',
		'title': '',
		'imageId': '69600511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600507&x=3513',
		'title': '',
		'imageId': '69600507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600505&x=3513',
		'title': '',
		'imageId': '69600505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600510&x=3513',
		'title': '',
		'imageId': '69600510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600509&x=3513',
		'title': '',
		'imageId': '69600509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600489&x=3513',
		'title': 'ARM REST DAMAGE',
		'imageId': '69600489',
		'alt' : 'ARM REST DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600490&x=3513',
		'title': 'DRIVERS SEAT WORE OUT BUT SEAT COVER INCLUDED',
		'imageId': '69600490',
		'alt' : 'DRIVERS SEAT WORE OUT BUT SEAT COVER INCLUDED',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600491&x=3513',
		'title': '',
		'imageId': '69600491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600484&x=3513',
		'title': '',
		'imageId': '69600484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600497&x=3513',
		'title': 'FINISH DAMAGE',
		'imageId': '69600497',
		'alt' : 'FINISH DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600487&x=3513',
		'title': 'FINSIH DAMAGE',
		'imageId': '69600487',
		'alt' : 'FINSIH DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600498&x=3513',
		'title': 'FINISH DAMAGE',
		'imageId': '69600498',
		'alt' : 'FINISH DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600500&x=3513',
		'title': 'FINISH DAMAGE',
		'imageId': '69600500',
		'alt' : 'FINISH DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600499&x=3513',
		'title': 'FINISH DAMAGE',
		'imageId': '69600499',
		'alt' : 'FINISH DAMAGE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600496&x=3513',
		'title': '',
		'imageId': '69600496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600494&x=3513',
		'title': '',
		'imageId': '69600494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600492&x=3513',
		'title': '',
		'imageId': '69600492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600488&x=3513',
		'title': '',
		'imageId': '69600488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600495&x=3513',
		'title': '',
		'imageId': '69600495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600483&x=3513',
		'title': '',
		'imageId': '69600483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600482&x=3513',
		'title': '',
		'imageId': '69600482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600508&x=3513',
		'title': '',
		'imageId': '69600508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600485&x=3513',
		'title': 'PLASTIC HAS BROKEN AWAY FROM DOOR FRAME',
		'imageId': '69600485',
		'alt' : 'PLASTIC HAS BROKEN AWAY FROM DOOR FRAME',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600512&x=3513',
		'title': 'BACK DOOR PASSENGER SIDE',
		'imageId': '69600512',
		'alt' : 'BACK DOOR PASSENGER SIDE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600486&x=3513',
		'title': '',
		'imageId': '69600486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600493&x=3513',
		'title': '',
		'imageId': '69600493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600504&x=3513',
		'title': '',
		'imageId': '69600504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600503&x=3513',
		'title': '',
		'imageId': '69600503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600502&x=3513',
		'title': '',
		'imageId': '69600502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69600501&x=3513',
		'title': '',
		'imageId': '69600501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661285&x=3513',
		'title': 'Drivers side frame',
		'imageId': '69661285',
		'alt' : 'Drivers side frame',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661288&x=3513',
		'title': 'Drivers side frame',
		'imageId': '69661288',
		'alt' : 'Drivers side frame',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661287&x=3513',
		'title': 'Drivers side frame',
		'imageId': '69661287',
		'alt' : 'Drivers side frame',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661286&x=3513',
		'title': '',
		'imageId': '69661286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661284&x=3513',
		'title': '',
		'imageId': '69661284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994722&docid=69661283&x=3513',
		'title': '',
		'imageId': '69661283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994722';

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