var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200293&x=2247',
		'title': '',
		'imageId': '70200293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200292&x=2247',
		'title': '',
		'imageId': '70200292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200295&x=2247',
		'title': '',
		'imageId': '70200295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200297&x=2247',
		'title': '',
		'imageId': '70200297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200296&x=2247',
		'title': '',
		'imageId': '70200296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200294&x=2247',
		'title': '',
		'imageId': '70200294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200305&x=2247',
		'title': '',
		'imageId': '70200305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200307&x=2247',
		'title': '',
		'imageId': '70200307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200308&x=2247',
		'title': '',
		'imageId': '70200308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200314&x=2247',
		'title': '',
		'imageId': '70200314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200309&x=2247',
		'title': '',
		'imageId': '70200309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018802&docid=70200315&x=2247',
		'title': '',
		'imageId': '70200315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018802';

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