var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199141&x=130',
		'title': '',
		'imageId': '70199141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199145&x=130',
		'title': '',
		'imageId': '70199145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199143&x=130',
		'title': '',
		'imageId': '70199143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199152&x=130',
		'title': '',
		'imageId': '70199152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199153&x=130',
		'title': '',
		'imageId': '70199153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199140&x=130',
		'title': '',
		'imageId': '70199140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199147&x=130',
		'title': '',
		'imageId': '70199147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199155&x=130',
		'title': '',
		'imageId': '70199155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018779&docid=70199149&x=130',
		'title': '',
		'imageId': '70199149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018779';

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