var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383818&x=3616',
		'title': '',
		'imageId': '71383818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383819&x=3616',
		'title': '',
		'imageId': '71383819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383820&x=3616',
		'title': '',
		'imageId': '71383820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383821&x=3616',
		'title': '',
		'imageId': '71383821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383822&x=3616',
		'title': '',
		'imageId': '71383822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383823&x=3616',
		'title': '',
		'imageId': '71383823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383824&x=3616',
		'title': '',
		'imageId': '71383824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065851&docid=71383825&x=3616',
		'title': '',
		'imageId': '71383825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4065851';

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