var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535977&x=3149',
		'title': '',
		'imageId': '69535977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535982&x=3149',
		'title': '',
		'imageId': '69535982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535980&x=3149',
		'title': '',
		'imageId': '69535980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535976&x=3149',
		'title': '',
		'imageId': '69535976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535983&x=3149',
		'title': '',
		'imageId': '69535983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535992&x=3149',
		'title': '',
		'imageId': '69535992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535985&x=3149',
		'title': '',
		'imageId': '69535985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535987&x=3149',
		'title': '',
		'imageId': '69535987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535986&x=3149',
		'title': '',
		'imageId': '69535986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535988&x=3149',
		'title': '',
		'imageId': '69535988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535981&x=3149',
		'title': '',
		'imageId': '69535981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992224&docid=69535989&x=3149',
		'title': '',
		'imageId': '69535989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992224';

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