var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064575&x=4824',
		'title': '',
		'imageId': '70064575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064576&x=4824',
		'title': '',
		'imageId': '70064576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064577&x=4824',
		'title': '',
		'imageId': '70064577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064578&x=4824',
		'title': '',
		'imageId': '70064578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064579&x=4824',
		'title': '',
		'imageId': '70064579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064580&x=4824',
		'title': '',
		'imageId': '70064580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064581&x=4824',
		'title': '',
		'imageId': '70064581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064582&x=4824',
		'title': '',
		'imageId': '70064582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064583&x=4824',
		'title': '',
		'imageId': '70064583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064584&x=4824',
		'title': '',
		'imageId': '70064584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014409&docid=70064585&x=4824',
		'title': '',
		'imageId': '70064585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014409';

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