
function makeVars()
{
   if (navigator.appName == "Netscape")
   {
      v=".top="; 
      h=".left="; 
      dS="document.";
      sdm="";
      y="window.pageYOffset";
      x="window.pageXOffset";
      doWidth="window.innerWidth";
      doHeight="window.innerHeight"
   }
   else
   {
      h=".pixelLeft="; 
      v=".pixelTop="; 
      dS=""; 
      sdm=".style";
      y="document.body.scrollTop";
      x="document.body.scrollLeft";
      doWidth="document.body.clientWidth";
      doHeight="document.body.clientHeight"
   }

   xyz=400
   object="logoup";
   placeIt()
}

movex=0,movey=0,xdiff=0,ydiff=0,ystart=0,xstart=0

function makeXY()
{
   innerX=eval(doWidth)-85
   innerY=eval(doHeight)-45

   if (document.layers)
   {
      innerY-=10;innerX-=10
   }

   yy=eval(y);
   xx=eval(x);
   ydiff=ystart-yy;
   xdiff=xstart-xx;

   if ((ydiff<(-1))||(ydiff>(1))) movey=Math.round(ydiff/10),ystart-=movey
   if ((xdiff<(-1))||(xdiff>(1))) movex=Math.round(xdiff/10),xstart-=movex
   eval(dS+object+sdm+v+(ystart+innerY));
   eval(dS+object+sdm+h+(xstart+innerX));
   setTimeout("makeXY()",25)
}

function placeIt()
{
   ystart=eval(y);xstart=eval(x);
}
















