var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839038&x=5721',
		'title': '',
		'imageId': '69839038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839037&x=5721',
		'title': '',
		'imageId': '69839037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839042&x=5721',
		'title': '',
		'imageId': '69839042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839034&x=5721',
		'title': '',
		'imageId': '69839034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839043&x=5721',
		'title': '',
		'imageId': '69839043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839035&x=5721',
		'title': '',
		'imageId': '69839035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839033&x=5721',
		'title': '',
		'imageId': '69839033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839040&x=5721',
		'title': '',
		'imageId': '69839040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839039&x=5721',
		'title': '',
		'imageId': '69839039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839041&x=5721',
		'title': '',
		'imageId': '69839041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005067&docid=69839036&x=5721',
		'title': '',
		'imageId': '69839036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005067';

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