var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933227&x=5728',
		'title': '',
		'imageId': '69933227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933223&x=5728',
		'title': '',
		'imageId': '69933223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933229&x=5728',
		'title': '',
		'imageId': '69933229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933230&x=5728',
		'title': '',
		'imageId': '69933230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933224&x=5728',
		'title': '',
		'imageId': '69933224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933221&x=5728',
		'title': '',
		'imageId': '69933221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933226&x=5728',
		'title': '',
		'imageId': '69933226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933220&x=5728',
		'title': '',
		'imageId': '69933220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933225&x=5728',
		'title': '',
		'imageId': '69933225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933222&x=5728',
		'title': '',
		'imageId': '69933222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008885&docid=69933228&x=5728',
		'title': '',
		'imageId': '69933228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008885';

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