var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162185&x=3015',
		'title': '',
		'imageId': '70162185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162194&x=3015',
		'title': '',
		'imageId': '70162194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162189&x=3015',
		'title': '',
		'imageId': '70162189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162186&x=3015',
		'title': '',
		'imageId': '70162186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162187&x=3015',
		'title': '',
		'imageId': '70162187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162190&x=3015',
		'title': '',
		'imageId': '70162190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162192&x=3015',
		'title': '',
		'imageId': '70162192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162183&x=3015',
		'title': '',
		'imageId': '70162183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162193&x=3015',
		'title': '',
		'imageId': '70162193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162188&x=3015',
		'title': '',
		'imageId': '70162188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162184&x=3015',
		'title': '',
		'imageId': '70162184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017187&docid=70162191&x=3015',
		'title': '',
		'imageId': '70162191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017187';

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