var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69953038&x=1847',
		'title': '',
		'imageId': '69953038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69953039&x=1847',
		'title': '',
		'imageId': '69953039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69953037&x=1847',
		'title': '',
		'imageId': '69953037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947857&x=1847',
		'title': '',
		'imageId': '69947857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947858&x=1847',
		'title': '',
		'imageId': '69947858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947861&x=1847',
		'title': '',
		'imageId': '69947861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947860&x=1847',
		'title': '',
		'imageId': '69947860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947859&x=1847',
		'title': '',
		'imageId': '69947859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947896&x=1847',
		'title': '',
		'imageId': '69947896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947864&x=1847',
		'title': '',
		'imageId': '69947864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009485&docid=69947863&x=1847',
		'title': '',
		'imageId': '69947863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009485';

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