var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110666&x=4341',
		'title': '',
		'imageId': '70110666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110664&x=4341',
		'title': '',
		'imageId': '70110664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110661&x=4341',
		'title': '',
		'imageId': '70110661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110670&x=4341',
		'title': '',
		'imageId': '70110670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110662&x=4341',
		'title': '',
		'imageId': '70110662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110668&x=4341',
		'title': '',
		'imageId': '70110668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110669&x=4341',
		'title': '',
		'imageId': '70110669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110663&x=4341',
		'title': '',
		'imageId': '70110663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110671&x=4341',
		'title': '',
		'imageId': '70110671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110665&x=4341',
		'title': '',
		'imageId': '70110665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015894&docid=70110667&x=4341',
		'title': '',
		'imageId': '70110667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015894';

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