
//  By:  Bobby Thompson
//  http://www.torgo.org/

// --Define the following variables:
var width     = 0; //  image width + any indent to the right
var height    = 57;  // image height + any indent upward

/* --Incluce the following in your .html file



*/
//  --Name this file float.js & put it in the same direcory as the file
//  --Thats it!

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()",1000);
}

function floatimage() {
  if(navigator.appName == "Netscape") {
    image.visibility == "hide";
    image.left = (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 =(width);
      image.style.top = (document.body.clientHeight + document.body.scrollTop - height);
      image.style.display = "";
    }
  }
}
