var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352786&x=2024',
		'title': '',
		'imageId': '70352786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352787&x=2024',
		'title': '',
		'imageId': '70352787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352789&x=2024',
		'title': '',
		'imageId': '70352789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352790&x=2024',
		'title': '',
		'imageId': '70352790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352791&x=2024',
		'title': '',
		'imageId': '70352791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352792&x=2024',
		'title': '',
		'imageId': '70352792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352793&x=2024',
		'title': '',
		'imageId': '70352793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025933&docid=70352794&x=2024',
		'title': '',
		'imageId': '70352794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025933';

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