var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194427&x=5131',
		'title': '',
		'imageId': '70194427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194443&x=5131',
		'title': '',
		'imageId': '70194443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194425&x=5131',
		'title': '',
		'imageId': '70194425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194426&x=5131',
		'title': '',
		'imageId': '70194426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194444&x=5131',
		'title': '',
		'imageId': '70194444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194442&x=5131',
		'title': '',
		'imageId': '70194442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194446&x=5131',
		'title': '',
		'imageId': '70194446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194421&x=5131',
		'title': '',
		'imageId': '70194421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194423&x=5131',
		'title': '',
		'imageId': '70194423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194424&x=5131',
		'title': '',
		'imageId': '70194424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194422&x=5131',
		'title': '',
		'imageId': '70194422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018676&docid=70194445&x=5131',
		'title': '',
		'imageId': '70194445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018676';

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