var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415124&x=159',
		'title': '',
		'imageId': '70415124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415129&x=159',
		'title': '',
		'imageId': '70415129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415137&x=159',
		'title': '',
		'imageId': '70415137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415127&x=159',
		'title': '',
		'imageId': '70415127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415130&x=159',
		'title': '',
		'imageId': '70415130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415132&x=159',
		'title': '',
		'imageId': '70415132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415133&x=159',
		'title': '',
		'imageId': '70415133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415135&x=159',
		'title': '',
		'imageId': '70415135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415134&x=159',
		'title': '',
		'imageId': '70415134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415136&x=159',
		'title': '',
		'imageId': '70415136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028523&docid=70415131&x=159',
		'title': '',
		'imageId': '70415131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028523';

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