oldhatvalue = null; var netwin = new Object; var twtoolbar=""; function cookietest( service, target ) { if (twtoolbar.indexOf(target) > -1) { var winW = 630, winH = 460; if (self.screen) { winH = Math.round(screen.height * (0.8)); winW = Math.round(screen.width * (0.8)); if (navigator.appName.indexOf("Netscape")>-1) winH = Math.round(screen.height * (0.8)) - 100; } if ((navigator.appName.indexOf("Netscape")>-1) && (parseInt(navigator.appVersion) < 5)) { netwin[target]=window.open(service,target,'resizable,toolbar,location,directories,status,menubar,scrollbars,top=20,left=20,width=' + winW + ',height=' + winH ); if (!netwin[target].opener) netwin[target].opener=self; if (netwin[target].focus) netwin[target].focus(); } else if (navigator.appName.indexOf("Netscape")>-1) { netwin[target]=window.open(service,target,'resizable,toolbar,location,directories,status,menubar,scrollbars,top=20,left=20,width=' + winW + ',height=' + winH ); if (!netwin[target].opener) netwin[target].opener=self; if (netwin[target].focus) netwin[target].focus(); } else if (navigator.appName.indexOf("Microsoft")>-1) { netwin[target]=window.open(service,target,'resizable,toolbar,location,directories,status,menubar,scrollbars,top=20,left=20,width=' + winW + ',height=' + winH ); if (!netwin[target].opener) netwin[target].opener=self; } else { netwin[target]=window.open(service,target,'resizable,toolbar,location,directories,status,menubar,scrollbars,top=20,left=20,width=' + winW + ',height=' + winH ); if (!netwin[target].opener) netwin[target].opener=self; if (netwin[target].focus) netwin[target].focus(); } } else { dom = "cnn"; if (self.screen != null) { var leftpos = Math.round((screen.width/2) - 177); var toppos = Math.round((screen.height/2) - 186); } else { var leftpos = 20; var toppos = 20; } url = "http://toolbar.netscape.com/tw_hat/transition/"+ target + "/" + dom + ".html?service=" + service; if (win!=null && !win.closed) win.closed(); var win=window.open(url,'Transition','width=420,height=305,resizable,top=' + toppos + ',left=' + leftpos ); if (!win.opener) win.opener=self; } } middlehat=("\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "\n
  Welcome!      \n" + "\"Netscape\"\"\"\n" + "\"Free\"\"\n" + "\"Free\"\"\n" + "\"Free\"\"\n" + "\"Search\"\"\"
\n" + "
\"\"
\"\"\"\"\"\"\"\"\"\"
\n");