var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861190&x=50',
		'title': '',
		'imageId': '69861190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861187&x=50',
		'title': '',
		'imageId': '69861187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861193&x=50',
		'title': '',
		'imageId': '69861193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861192&x=50',
		'title': '',
		'imageId': '69861192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861185&x=50',
		'title': '',
		'imageId': '69861185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861188&x=50',
		'title': '',
		'imageId': '69861188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861189&x=50',
		'title': '',
		'imageId': '69861189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861186&x=50',
		'title': '',
		'imageId': '69861186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006119&docid=69861191&x=50',
		'title': '',
		'imageId': '69861191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006119';

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