// JavaScript Document
function floatButton() {
if (document.all) {
document.all.banner.style.pixelTop = document.body.scrollTop;
}
else if (document.layers) {
document.banner.top = window.pageYOffset;
}
else if (document.getElementById) {
document.getElementById('banner').style.top = window.pageYOffset + 'px';
   }
}
if (document.all)
window.onscroll = floatButton;
else
setInterval ('floatButton()', 100);

function initFloat() {
if (document.all) {
document.all.banner.style.pixelLeft = document.body.clientWidth - document.all.banner.offsetWidth;
document.all.banner.style.visibility = 'visible';
}
else if (document.layers) {
document.banner.left = window.innerWidth - document.banner.clip.width - 15;
document.banner.visibility = 'show';
}
else if (document.getElementById) {
document.getElementById('banner').style.left = (window.innerWidth - 717) + 'px';
document.getElementById('banner').style.visibility = 'visible';
   }
}
