if ((bucks_cookie == 0)||(ReadCookie('floating_banner') != 'ok')) { document.write("
" +"banner" +"" +"" +"" +"" +"" +"
"); } if (document.all['BucksBanner'].style) window.setInterval("MoveBanner()", 1); window.onerror=null; document.body.scrollTop=1; function BannerOff() { document.all['BucksBanner'].style.visibility='hidden'; setCookie('floating_banner','ok', bucks_cookie); } function MoveBanner() { if (document.body.scrollTop==0) document.all['BucksBanner'].style.top=document.documentElement.scrollTop+200; else document.all['BucksBanner'].style.top=document.body.scrollTop+200; } function setCookie(cookieName,cookieValue, expirehours) { if (bucks_cookie > 0) {var today = new Date(); var expire = new Date(); expire.setTime(today.getTime() + 3600000 * bucks_cookie); document.cookie = cookieName+"="+escape(cookieValue)+ ";expires="+expire.toGMTString() + "; path=/"; } else { document.cookie = cookieName+"="+escape(cookieValue) + "; path=/"; } } function ReadCookie(cookieName) { var theCookie=""+document.cookie; var ind=theCookie.indexOf(cookieName); if (ind==-1 || cookieName=="") return ""; var ind1=theCookie.indexOf(';',ind); if (ind1==-1) ind1=theCookie.length; return unescape(theCookie.substring(ind+cookieName.length+1,ind1)); }