var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930587&x=4839',
		'title': '',
		'imageId': '69930587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930584&x=4839',
		'title': '',
		'imageId': '69930584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930592&x=4839',
		'title': '',
		'imageId': '69930592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930594&x=4839',
		'title': '',
		'imageId': '69930594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930589&x=4839',
		'title': '',
		'imageId': '69930589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930593&x=4839',
		'title': '',
		'imageId': '69930593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930590&x=4839',
		'title': '',
		'imageId': '69930590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930591&x=4839',
		'title': '',
		'imageId': '69930591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930585&x=4839',
		'title': '',
		'imageId': '69930585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930586&x=4839',
		'title': '',
		'imageId': '69930586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008810&docid=69930588&x=4839',
		'title': '',
		'imageId': '69930588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008810';

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