var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135308&x=2117',
		'title': '',
		'imageId': '70135308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135317&x=2117',
		'title': '',
		'imageId': '70135317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135309&x=2117',
		'title': '',
		'imageId': '70135309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135318&x=2117',
		'title': '',
		'imageId': '70135318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135311&x=2117',
		'title': '',
		'imageId': '70135311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135313&x=2117',
		'title': '',
		'imageId': '70135313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135310&x=2117',
		'title': '',
		'imageId': '70135310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135312&x=2117',
		'title': '',
		'imageId': '70135312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135315&x=2117',
		'title': '',
		'imageId': '70135315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135314&x=2117',
		'title': '',
		'imageId': '70135314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016576&docid=70135316&x=2117',
		'title': '',
		'imageId': '70135316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016576';

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