var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087092&x=187',
		'title': '',
		'imageId': '69087092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087090&x=187',
		'title': '',
		'imageId': '69087090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087091&x=187',
		'title': '',
		'imageId': '69087091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087088&x=187',
		'title': '',
		'imageId': '69087088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087086&x=187',
		'title': '',
		'imageId': '69087086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087087&x=187',
		'title': '',
		'imageId': '69087087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087094&x=187',
		'title': '',
		'imageId': '69087094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087089&x=187',
		'title': '',
		'imageId': '69087089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972500&docid=69087093&x=187',
		'title': '',
		'imageId': '69087093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972500';

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