var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917881&x=1834',
		'title': '',
		'imageId': '69917881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917882&x=1834',
		'title': '',
		'imageId': '69917882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917883&x=1834',
		'title': '',
		'imageId': '69917883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917884&x=1834',
		'title': '',
		'imageId': '69917884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917885&x=1834',
		'title': '',
		'imageId': '69917885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917886&x=1834',
		'title': '',
		'imageId': '69917886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917887&x=1834',
		'title': '',
		'imageId': '69917887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917888&x=1834',
		'title': '',
		'imageId': '69917888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917889&x=1834',
		'title': '',
		'imageId': '69917889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917890&x=1834',
		'title': '',
		'imageId': '69917890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008332&docid=69917891&x=1834',
		'title': '',
		'imageId': '69917891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008332';

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