// Figure out if the browser fits our requierments
function back2top () {
  if (is.ns4) {
    visible = 'show';
    hidden = 'hide';
    winX = window.innerWidth;
    winY = window.innerHeight;
    homeImg = document.layers[bt];
    imgWidth = document.layers[bt].document.back2top.width;
    imgHeight = document.layers[bt].document.back2top.height
    PY= window.pageYOffset;
    PX= window.pageXOffset;
    homeImg.top = winY - imgHeight + PY - 100;
    homeImg.right = winX - imgWidth + PX - 100;
  } else if (is.ie4) {
    visible = 'visible';
    hidden = 'hidden';
    winX = document.body.clientWidth;
    winY = document.body.clientHeight;
    homeImg = document.all.back2topID.style;
    imgWidth = document.back2top.width;
    imgHeight = document.back2top.height;
    PY= document.body.scrollTop;
    PX= document.body.scrollLeft;
    homeImg.top = winY - imgHeight + PY - 30;
    homeImg.right = winX - imgWidth + PX - 210;
  }
  homeImg.visibility = visible;
}
