
LogoW = 30;       // pixels wide
LogoH = 30;       // pixels high
LogoX = 100;      // percent right
LogoY = 100;      // percent down
LogoRefresh = 20; // milliseconds

// set common object reference
if (!document.all) document.all = document;
if (!document.all.BackHome.style) document.all.BackHome.style = document.all.BackHome;

wLogo = document.all.BackHome.style;
wLogo.width = LogoW;
wLogo.height = LogoH;
navDOM = window.innerHeight; // Nav DOM flag
 
function setVals() {
 barW = 0; // scrollbar compensation for PC Nav
 barH = 0;
 if (navDOM) {
  if (document.height > innerHeight) barW = 20;
  if (document.width > innerWidth) barH = 20;
  } else {
  innerWidth = document.body.clientWidth;
  innerHeight = document.body.clientHeight;
  }
posX = ((innerWidth - LogoW)-barW) * (LogoX/100);
posY = ((innerHeight - LogoH)-barH) * (LogoY/100);
//posX = innerWidth - 300;
//posY = innerHeight - 120;
 }

function wRefresh() {
 wLogo.left = posX + (navDOM?pageXOffset:document.body.scrollLeft);
 wLogo.top = posY + (navDOM?pageYOffset:document.body.scrollTop);
 }

function LogoMe() {
 setVals();
 window.onresize=setVals;
 LogoID = setInterval ("wRefresh()",LogoRefresh);
 }

window.onload=LogoMe; // safety for Mac IE4.5

//-->