var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496322&x=5933',
		'title': '',
		'imageId': '71496322',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496323&x=5933',
		'title': '',
		'imageId': '71496323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496324&x=5933',
		'title': '',
		'imageId': '71496324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496325&x=5933',
		'title': '',
		'imageId': '71496325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496326&x=5933',
		'title': '',
		'imageId': '71496326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496327&x=5933',
		'title': '',
		'imageId': '71496327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496328&x=5933',
		'title': '',
		'imageId': '71496328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071751&docid=71496329&x=5933',
		'title': '',
		'imageId': '71496329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071751';

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