var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242935&x=4748',
		'title': '',
		'imageId': '71242935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242936&x=4748',
		'title': '',
		'imageId': '71242936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242932&x=4748',
		'title': '',
		'imageId': '71242932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242934&x=4748',
		'title': '',
		'imageId': '71242934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242931&x=4748',
		'title': '',
		'imageId': '71242931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71243009&x=4748',
		'title': '',
		'imageId': '71243009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242929&x=4748',
		'title': '',
		'imageId': '71242929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055590&docid=71242933&x=4748',
		'title': '',
		'imageId': '71242933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055590';

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