		function getObject(objectId)
		{
		  if(document.getElementById && document.getElementById(objectId))
		  {
			// W3C DOM
				return document.getElementById(objectId);
		  } 
		  else if(document.all && document.all(objectId))
		  {
			// MSIE 4 DOM
				return document.all(objectId);
		  }
		  else if(document.layers && document.layers[objectId])
		  {
			// NN 4 DOM.. note: this won't find nested layers
				return document.layers[objectId];
		  }
		  else
		  {
				return false;
		  }
		}

		function HideLayer()
		{
			getObject('LayerLoading').style.display="none"
		}
		
		function ShowLayer()
		{
			var bodywidth=window.screen.availWidth;
			var bodyheight=window.screen.availHeight -130;
			var bodys=document.body.scrollTop;
			getObject('LayerLoading').style.top= (bodyheight -150)/2 + bodys + 'px';
			getObject('LayerLoading').style.left=(bodywidth -300)/2 + 'px';
		  getObject('LayerLoading').style.display="";
		}