//  Java Floater
//  By:  Bobby Thompson
//  http://www.torgo.org/

// --Define the following variables:

var width     = 95; //  image width + any indent to the left
var height    = 350;  // image height + any indent upward


if( parseFloat(navigator.appVersion) >= 4 ) {
  if(navigator.appName == "Netscape") {
    var image = document.floater;
  }
  else if (navigator.appVersion.indexOf("MSIE") != -1) {
    var image = document.all.floater;
  }
  setInterval("floatimage()",500);
}

function floatimage() {
  if(navigator.appName == "Netscape") {
    image.visibility == "hide";
    image.left = (window.innerWidth + window.pageXOffset - width);
    image.top = (window.innerHeight + window.pageYOffset - height);
    image.visibility= "show";
  }
  if (navigator.appVersion.indexOf("MSIE") != -1) {
    if (navigator.appVersion.indexOf("Mac") == -1) {
      image.style.display = "none";
      image.style.left =(document.body.clientWidth + document.body.scrollLeft - width);
      image.style.top = (document.body.clientHeight + document.body.scrollTop - height);
      image.style.display = "";
    }
  }
}
