var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673933&x=3451',
		'title': '',
		'imageId': '70673933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673932&x=3451',
		'title': '',
		'imageId': '70673932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673928&x=3451',
		'title': '',
		'imageId': '70673928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673931&x=3451',
		'title': '',
		'imageId': '70673931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673929&x=3451',
		'title': '',
		'imageId': '70673929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037867&docid=70673930&x=3451',
		'title': '',
		'imageId': '70673930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037867';

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