var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954184&x=5847',
		'title': '',
		'imageId': '69954184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954183&x=5847',
		'title': '',
		'imageId': '69954183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954181&x=5847',
		'title': '',
		'imageId': '69954181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954180&x=5847',
		'title': '',
		'imageId': '69954180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954185&x=5847',
		'title': '',
		'imageId': '69954185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954190&x=5847',
		'title': '',
		'imageId': '69954190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954194&x=5847',
		'title': '',
		'imageId': '69954194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954195&x=5847',
		'title': '',
		'imageId': '69954195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954201&x=5847',
		'title': '',
		'imageId': '69954201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954203&x=5847',
		'title': '',
		'imageId': '69954203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954202&x=5847',
		'title': '',
		'imageId': '69954202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009751&docid=69954182&x=5847',
		'title': '',
		'imageId': '69954182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009751';

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