





function floatButton() {




  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else {
    if( document.documentElement &&
        ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
    } else {
      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
      }
    }
  }





if (document.all) {
document.all.topButton.style.visibility = 'visible';
document.all.topButton.style.pixelTop = (document.body.scrollTop + (myHeight - 28));
}
else if (document.layers) {
document.topButton.visibility = 'show';
document.topButton.top = (window.pageYOffset + (myHeight - 28));
}
else if (document.getElementById) {
document.getElementById('topButton').style.visibility = 'visible';
document.getElementById('topButton').style.top = (window.pageYOffset + (myHeight - 28)) + 'px';
   }
}
if (document.all) 
window.onscroll = floatButton;


else 
setInterval ('floatButton()', 100);

function initButton () {


if (document.all) {
document.all.topButton.style.pixelLeft = 737 - document.all.topButton.offsetWidth;
document.all.topButton.style.visibility = 'hidden';
}
else if (document.layers) {
document.topButton.left = 737 - document.topButton.clip.width - 15;
document.topButton.visibility = 'hide';
}
else if (document.getElementById) {
document.getElementById('topButton').style.left = (737 - 35) + 'px';
document.getElementById('topButton').style.visibility = 'hidden';
   }
}









