var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343863&x=3512',
		'title': '',
		'imageId': '71343863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343866&x=3512',
		'title': '',
		'imageId': '71343866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343867&x=3512',
		'title': '',
		'imageId': '71343867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343864&x=3512',
		'title': '',
		'imageId': '71343864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343862&x=3512',
		'title': '',
		'imageId': '71343862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064213&docid=71343865&x=3512',
		'title': '',
		'imageId': '71343865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4064213';

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