var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477861&x=4216',
		'title': '',
		'imageId': '2477861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477864&x=4216',
		'title': '',
		'imageId': '2477864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477867&x=4216',
		'title': '',
		'imageId': '2477867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477870&x=4216',
		'title': '',
		'imageId': '2477870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477873&x=4216',
		'title': '',
		'imageId': '2477873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477876&x=4216',
		'title': '',
		'imageId': '2477876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477879&x=4216',
		'title': '',
		'imageId': '2477879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477882&x=4216',
		'title': '',
		'imageId': '2477882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477885&x=4216',
		'title': '',
		'imageId': '2477885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477890&x=4216',
		'title': '',
		'imageId': '2477890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477893&x=4216',
		'title': '',
		'imageId': '2477893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=460128&docid=2477896&x=4216',
		'title': '',
		'imageId': '2477896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #460128';

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