var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106058&x=3921',
		'title': '',
		'imageId': '71106058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106059&x=3921',
		'title': '',
		'imageId': '71106059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106060&x=3921',
		'title': '',
		'imageId': '71106060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106061&x=3921',
		'title': '',
		'imageId': '71106061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106062&x=3921',
		'title': '',
		'imageId': '71106062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054149&docid=71106063&x=3921',
		'title': '',
		'imageId': '71106063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054149';

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