var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159491&x=3016',
		'title': '',
		'imageId': '70159491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159488&x=3016',
		'title': '',
		'imageId': '70159488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159496&x=3016',
		'title': '',
		'imageId': '70159496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159484&x=3016',
		'title': '',
		'imageId': '70159484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159492&x=3016',
		'title': '',
		'imageId': '70159492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159489&x=3016',
		'title': '',
		'imageId': '70159489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159487&x=3016',
		'title': '',
		'imageId': '70159487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159485&x=3016',
		'title': '',
		'imageId': '70159485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159486&x=3016',
		'title': '',
		'imageId': '70159486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159493&x=3016',
		'title': '',
		'imageId': '70159493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017067&docid=70159490&x=3016',
		'title': '',
		'imageId': '70159490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017067';

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