 function findPosX(obj)
  {
    var curleft = 0;
    if(obj.offsetParent)
        while(1)
        {
          curleft += obj.offsetLeft;
          if(!obj.offsetParent)
            break;
          obj = obj.offsetParent;
        }
    else if(obj.x)
        curleft += obj.x;
    return curleft;
  }

  function findPosY(obj)
  {
    var curtop = 0;
    if(obj.offsetParent)
        while(1)
        {
          curtop += obj.offsetTop;
          if(!obj.offsetParent)
            break;
          obj = obj.offsetParent;
        }
    else if(obj.y)
        curtop += obj.y;
    return curtop;
  }
  
 function splash()
 {
 var viewport       = window.document.getElementById("map");
 var splash_window  = window.document.getElementById("splash");
 
 //move splash into position
 
 y = findPosY(viewport) + 10;
 
 splash_window.style.visibility = "visible";
 splash_window.style.position   = "absolute";
 splash_window.style.top        = y+"px";
 splash_window.style.left        = "325px";
 
 
 }
 
 function hide_splash()
  {
  var splash_window  = window.document.getElementById("splash");
  splash_window.style.visibility = "hidden";
  }
