var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028377&x=2137',
		'title': '',
		'imageId': '70028377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028381&x=2137',
		'title': '',
		'imageId': '70028381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028384&x=2137',
		'title': '',
		'imageId': '70028384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028391&x=2137',
		'title': '',
		'imageId': '70028391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028399&x=2137',
		'title': '',
		'imageId': '70028399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028412&x=2137',
		'title': '',
		'imageId': '70028412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028416&x=2137',
		'title': '',
		'imageId': '70028416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028423&x=2137',
		'title': '',
		'imageId': '70028423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028428&x=2137',
		'title': '',
		'imageId': '70028428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028431&x=2137',
		'title': '',
		'imageId': '70028431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028437&x=2137',
		'title': '',
		'imageId': '70028437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013018&docid=70028441&x=2137',
		'title': '',
		'imageId': '70028441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013018';

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