var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816004&x=4425',
		'title': '',
		'imageId': '70816004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816010&x=4425',
		'title': '',
		'imageId': '70816010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816007&x=4425',
		'title': '',
		'imageId': '70816007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816012&x=4425',
		'title': '',
		'imageId': '70816012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816006&x=4425',
		'title': '',
		'imageId': '70816006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816003&x=4425',
		'title': '',
		'imageId': '70816003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816009&x=4425',
		'title': '',
		'imageId': '70816009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816011&x=4425',
		'title': '',
		'imageId': '70816011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816005&x=4425',
		'title': '',
		'imageId': '70816005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70816008&x=4425',
		'title': '',
		'imageId': '70816008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043102&docid=70815908&x=4425',
		'title': 'List of Vehicles in lot.',
		'imageId': '70815908',
		'alt' : 'List of Vehicles in lot.',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043102';

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