var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717905&x=1845',
		'title': '',
		'imageId': '70717905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717910&x=1845',
		'title': '',
		'imageId': '70717910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717909&x=1845',
		'title': '',
		'imageId': '70717909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717906&x=1845',
		'title': '',
		'imageId': '70717906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717907&x=1845',
		'title': '',
		'imageId': '70717907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717908&x=1845',
		'title': '',
		'imageId': '70717908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717901&x=1845',
		'title': '',
		'imageId': '70717901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717902&x=1845',
		'title': '',
		'imageId': '70717902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717915&x=1845',
		'title': '',
		'imageId': '70717915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717903&x=1845',
		'title': '',
		'imageId': '70717903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717916&x=1845',
		'title': '',
		'imageId': '70717916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717914&x=1845',
		'title': '',
		'imageId': '70717914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717911&x=1845',
		'title': '',
		'imageId': '70717911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717912&x=1845',
		'title': '',
		'imageId': '70717912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717904&x=1845',
		'title': 'The driver door has been changed but the VIN sticker was not removed or changed',
		'imageId': '70717904',
		'alt' : 'The driver door has been changed but the VIN sticker was not removed or changed',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717917&x=1845',
		'title': 'Driver Door not from this vehicle.',
		'imageId': '70717917',
		'alt' : 'Driver Door not from this vehicle.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039640&docid=70717913&x=1845',
		'title': 'Correct Valid VIN',
		'imageId': '70717913',
		'alt' : 'Correct Valid VIN',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4039640';

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