var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309439&x=5251',
		'title': '',
		'imageId': '69309439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309440&x=5251',
		'title': '',
		'imageId': '69309440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309443&x=5251',
		'title': '',
		'imageId': '69309443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309441&x=5251',
		'title': '',
		'imageId': '69309441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309442&x=5251',
		'title': '',
		'imageId': '69309442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309444&x=5251',
		'title': '',
		'imageId': '69309444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309445&x=5251',
		'title': '',
		'imageId': '69309445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309446&x=5251',
		'title': '',
		'imageId': '69309446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309449&x=5251',
		'title': '',
		'imageId': '69309449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309447&x=5251',
		'title': '',
		'imageId': '69309447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309448&x=5251',
		'title': '',
		'imageId': '69309448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309451&x=5251',
		'title': '',
		'imageId': '69309451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309453&x=5251',
		'title': '',
		'imageId': '69309453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69309452&x=5251',
		'title': '',
		'imageId': '69309452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69769590&x=5251',
		'title': '',
		'imageId': '69769590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998340&docid=69769607&x=5251',
		'title': '',
		'imageId': '69769607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998340';

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