var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085669&x=1728',
		'title': '',
		'imageId': '71085669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085671&x=1728',
		'title': '',
		'imageId': '71085671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085670&x=1728',
		'title': '',
		'imageId': '71085670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085672&x=1728',
		'title': '',
		'imageId': '71085672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085675&x=1728',
		'title': '',
		'imageId': '71085675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085674&x=1728',
		'title': '',
		'imageId': '71085674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085677&x=1728',
		'title': '',
		'imageId': '71085677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085676&x=1728',
		'title': '',
		'imageId': '71085676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053565&docid=71085673&x=1728',
		'title': '',
		'imageId': '71085673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053565';

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