var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194858&x=4149',
		'title': '',
		'imageId': '70194858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194864&x=4149',
		'title': '',
		'imageId': '70194864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194859&x=4149',
		'title': '',
		'imageId': '70194859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194861&x=4149',
		'title': '',
		'imageId': '70194861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194862&x=4149',
		'title': '',
		'imageId': '70194862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194860&x=4149',
		'title': '',
		'imageId': '70194860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194863&x=4149',
		'title': '',
		'imageId': '70194863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194880&x=4149',
		'title': '',
		'imageId': '70194880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194879&x=4149',
		'title': '',
		'imageId': '70194879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194881&x=4149',
		'title': '',
		'imageId': '70194881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194883&x=4149',
		'title': '',
		'imageId': '70194883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018679&docid=70194882&x=4149',
		'title': '',
		'imageId': '70194882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018679';

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