var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438679&x=561',
		'title': '',
		'imageId': '69438679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438681&x=561',
		'title': '',
		'imageId': '69438681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438682&x=561',
		'title': '',
		'imageId': '69438682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438683&x=561',
		'title': '',
		'imageId': '69438683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438684&x=561',
		'title': '',
		'imageId': '69438684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438685&x=561',
		'title': '',
		'imageId': '69438685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438686&x=561',
		'title': '',
		'imageId': '69438686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438687&x=561',
		'title': '',
		'imageId': '69438687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438688&x=561',
		'title': '',
		'imageId': '69438688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438689&x=561',
		'title': '',
		'imageId': '69438689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987533&docid=69438690&x=561',
		'title': '',
		'imageId': '69438690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987533';

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