var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018123&x=4552',
		'title': '',
		'imageId': '70018123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018188&x=4552',
		'title': '',
		'imageId': '70018188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018189&x=4552',
		'title': '',
		'imageId': '70018189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018190&x=4552',
		'title': '',
		'imageId': '70018190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018124&x=4552',
		'title': '',
		'imageId': '70018124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018132&x=4552',
		'title': '',
		'imageId': '70018132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018134&x=4552',
		'title': '',
		'imageId': '70018134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018133&x=4552',
		'title': '',
		'imageId': '70018133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018142&x=4552',
		'title': '',
		'imageId': '70018142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018141&x=4552',
		'title': '',
		'imageId': '70018141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018163&x=4552',
		'title': '',
		'imageId': '70018163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012600&docid=70018125&x=4552',
		'title': '',
		'imageId': '70018125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012600';

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