<!--
var navi_id="navibox";
var base_id="base";

function floater(){
  if (document.all||document.getElementById){
    floatelement=document.getElementById? document.getElementById(navi_id):document.all[navi_id];
    baseelement=document.getElementById? document.getElementById(base_id):document.all[base_id];
    var startX = window && window.innerWidth? window.innerWidth:document.body.offsetWidth? document.body.offsetWidth:600;
    var startY = 70;
    startX = (startX-baseelement.offsetWidth)/2-floatelement.offsetWidth;
    function ml(id){
      var el=document.getElementById?document.getElementById(id):document.all[id];
      el.sP=function(x,y){
        this.style.left=x+"px";
        this.style.top=y+"px";
      };
      el.x = startX;
      el.y = startY;
      return el;
    }
    window.stayTopLeft=function(){
      var pY = document.body.scrollTop? document.body.scrollTop : document.documentElement.scrollTop;
      ftlObj.y += (pY + startY - ftlObj.y)/8;
      ftlObj.sP(ftlObj.x, ftlObj.y);
      setTimeout("stayTopLeft()", 10);
    }
    ftlObj = ml(navi_id);
    ftlObj.y=floatelement.offsetHeight* -1;
    stayTopLeft();
    floatelement.style.visibility = "visible";
  }
}

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  }
  else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

addLoadEvent(function() {
  floater();
});

//-->