var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062226&x=4314',
		'title': '',
		'imageId': '70062226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062219&x=4314',
		'title': '',
		'imageId': '70062219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062227&x=4314',
		'title': '',
		'imageId': '70062227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062215&x=4314',
		'title': '',
		'imageId': '70062215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062225&x=4314',
		'title': '',
		'imageId': '70062225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062212&x=4314',
		'title': '',
		'imageId': '70062212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062424&x=4314',
		'title': '',
		'imageId': '70062424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062213&x=4314',
		'title': '',
		'imageId': '70062213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062234&x=4314',
		'title': '',
		'imageId': '70062234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062220&x=4314',
		'title': '',
		'imageId': '70062220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062223&x=4314',
		'title': '',
		'imageId': '70062223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062232&x=4314',
		'title': '',
		'imageId': '70062232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062228&x=4314',
		'title': '',
		'imageId': '70062228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062231&x=4314',
		'title': '',
		'imageId': '70062231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062222&x=4314',
		'title': '',
		'imageId': '70062222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062229&x=4314',
		'title': '',
		'imageId': '70062229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062216&x=4314',
		'title': '',
		'imageId': '70062216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062218&x=4314',
		'title': '',
		'imageId': '70062218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062233&x=4314',
		'title': '',
		'imageId': '70062233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062224&x=4314',
		'title': '',
		'imageId': '70062224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062217&x=4314',
		'title': '',
		'imageId': '70062217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062230&x=4314',
		'title': '',
		'imageId': '70062230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062214&x=4314',
		'title': '',
		'imageId': '70062214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998987&docid=70062235&x=4314',
		'title': '',
		'imageId': '70062235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998987';

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