var oldhatvalue = null;
var welcome_message=" Welcome! &nbsp; &nbsp; ";
if (document.cookie.indexOf("MailCookie=NSCP,") > -1) {
       submail = document.cookie.substring((document.cookie.indexOf("MailCookie=NSCP,")+16),(document.cookie.length));
       if (submail.indexOf(";") > -1) {
               mails = submail.substring(0, submail.indexOf(";"));
       } else {
               mails = submail.substring(0, submail.length);
       }
       URL=("http://home.netscape.com/images/home2001c/m" + mails + ".gif");
       if (mails == -1){
               URL=("http://big.netscape.com/NumNewMsgsImage?qry=NewMsgs&url=http://home.netscape.com/images/home2001c/m");
       }
}
else if (welcome_message.indexOf(",") > 0) {
       URL=("http://big.netscape.com/NumNewMsgsImage?qry=NewMsgs&url=http://home.netscape.com/images/home2001c/m");
}
else {
        URL=("http://toolbar.netscape.com/tw_hat/images/m0.gif");
}
middlehat=("<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#003366\"> <TR>\n" +
"<TD width=\"100%\" align=\"left\" valign=\"middle\" bgcolor=\"#006699\">\n" +
"<FONT face=\"arial,helvetica,sans-seif\" size=\"1\" color=\"#FFFFFF\">  Welcome! &nbsp; &nbsp;  </FONT><br>\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/pixel.gif\" height=\"1\" width=\"100%\" border=\"0\"></TD> <TD align=right>\n" +
"<A HREF=\"http://home.netscape.com/?cp=twhecohop\" TARGET=\"_top\" ONMOUSEOVER=\"window.status='Netscape'; return true\" ONMOUSEOUT=\"window.status=''\">\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/hat_02.gif\" height=\"25\" width=\"78\" border=\"0\"></a></TD><TD align=right>\n" +
"<TABLE width=50 border=0 cellspacing=0 cellpadding=0><TR><TD background=\"http://toolbar.netscape.com/tw_hat/images/m0.gif\">\n" +
"<A HREF=\"http://mailredirect.netscape.com/?cp=twhecomai\" TARGET=\"Netscape_WebMail\" ONMOUSEOVER=\"window.status='Free E-mail'; return true\" ONMOUSEOUT=\"window.status=''\">\n" +
"<img src=\"" + URL + "\" height=\"25\" width=\"50\" border=\"0\"></a></TD></TR></TABLE></TD><TD align=right>\n" +
"<A HREF=\"http://calendar.netscape.com/?cp=twhecocal/\" TARGET=\"Netscape_Calendar\" ONMOUSEOVER=\"window.status='Free Calendar'; return true\" ONMOUSEOUT=\"window.status=''\">\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/hat_04.gif\" height=\"25\" width=\"65\" border=\"0\"></a></TD><TD align=right>\n" +
"<A HREF=\"http://home.netscape.com/aim/index.html?cp=twheconim\" TARGET=\"Netscape_AIM\"  ONMOUSEOVER=\"window.status='Free Instant Messenger'; return true\" ONMOUSEOUT=\"window.status=''\">\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/hat_05.gif\" height=\"25\" width=\"39\" border=\"0\"></a></TD><TD align=right>\n" +
"<A HREF=\"http://search.netscape.com/?cp=twheconsi\" TARGET=\"_top\" ONMOUSEOVER=\"window.status='Search the Internet'; return true\" ONMOUSEOUT=\"window.status=''\">\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/hat_07.gif\" height=\"25\" width=\"54\" border=\"0\"></a></TD><TD>\n" +
"<img src=\"http://toolbar.netscape.com/tw_hat/images/hat_06.gif\" height=\"25\" width=\"74\" border=\"0\"></a></TD>\n" +
"<TD width=\"163\" align=\"center\"><FONT face=\"Arial, Helvetica, sans-serif\" size=1 color=\"#FFFFFF\"> <FORM NAME=\"ChannelSellect\">\n" +
"<SELECT name=\"channels\" size=1 onChange=\"if (ChannelSellect.channels.options[ChannelSellect.channels.selectedIndex].value != ''){window.top.location=ChannelSellect.channels.options[ChannelSellect.channels.selectedIndex].value}\">\n" +
"<OPTION VALUE=\"\" SELECTED>Crisis Update:</OPTION>\n" +
"<OPTION VALUE=\"http://dailynews.netscape.com/dailynews/main.tmpl?cp=twheco001\"> Top News</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/ex/shak/news/packages/attack/?cp=twheco002\"> Special Report</OPTION>\n" +
"<OPTION VALUE=\"\"> </OPTION>\n" +
"<OPTION VALUE=\"\">Resources:</OPTION>\n" +
"<OPTION VALUE=\"http://info.netscape.com/fwd/twheco003/http://www.helping.org\"> How You Can Help</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/ex/shak/frame/index.html?cp=twheco004\"> Light a Candle</OPTION>\n" +
"<OPTION VALUE=\"http://boards.netscape.com/nsboards/news/brdlist.mbl?boardId=490195&cp=twheco005\"> Share Thoughts</OPTION>\n" +
"<OPTION VALUE=\"http://home.digitalcity.com/incoming.dci?pid=47&lid=168&zip=&cp=twheco006\"> Local Memorials</OPTION>\n" +
"<OPTION VALUE=\"\"> </OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/?cp=twhecohop\" >More from Netscape</OPTION>\n" +
"<OPTION VALUE=\"http://webcenters.netscape.com/webcenters/autos/netscape/home.adp?cp=twhecoaui\">Autos</OPTION>\n" +
"<OPTION VALUE=\"http://browsers.netscape.com/browsers/main.tmpl?cp=twhecodwn\">Browser Central</OPTION>\n" +
"<OPTION VALUE=\"http://business.netscape.com/business/main.tmpl?cp=twhecobus\">Business</OPTION>\n" +
"<OPTION VALUE=\"http://careers.netscape.com/careers/main.tmpl?cp=twhecocar\">Careers</OPTION>\n" +
"<OPTION VALUE=\"http://computing.netscape.com/computing/main.tmpl?cp=twhecocin\">Computing</OPTION>\n" +
"<OPTION VALUE=\"http://entertainment.netscape.com/entertainment/?cp=twhecoent\">Entertainment</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/games/alert.html?cp=twhecogam\">Games</OPTION>\n" +
"<OPTION VALUE=\"http://health.netscape.com/health/main.tmpl?cp=twhecohea\">Health</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/homes/home.html?cp=twhecohhr\">House & Home</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/intl?cp=twhecoiga\">International</OPTION>\n" +
"<OPTION VALUE=\"http://lifestyles.netscape.com/lifestyles/?cp=twhecolif\">Lifestyles</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/local/index.html?cp=twhecoloc\">Local Guide</OPTION>\n" +
"<OPTION VALUE=\"http://music.netscape.com/music/?cp=twhecomus\">Music</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/netcenter/personalize/index.html?cp=twhecomus\">My Netscape</OPTION>\n" +
"<OPTION VALUE=\"http://dailynews.netscape.com/dailynews/index.tmpl?cp=twheconws\">News</OPTION>\n" +
"<OPTION VALUE=\"http://personalfinance.netscape.com/finance/main.tmpl?cp=twhecopfi\">Personal Finance</OPTION>\n" +
"<OPTION VALUE=\"http://webcenters.netscape.com/webcenters/research/netscape/home.adp?cp=twhecores\">Research & Learn</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/ex/shak/shopping/index.html?cp=twhecoshi\">Shopping</OPTION>\n" +
"<OPTION VALUE=\"http://netbusiness.netscape.com/?cp=twhecosbi\">Small Business</OPTION>\n" +
"<OPTION VALUE=\"http://sports.netscape.com/sports/main.tmpl?cp=twhecospo\">Sports</OPTION>\n" +
"<OPTION VALUE=\"http://webcenter.travel.netscape.com/travel/index.jsp?cp=twhecotra\">Travel</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/weather/index.html?cp=twhecowea\">Weather</OPTION>\n" +
"<OPTION VALUE=\"http://home.netscape.com/privacy/cookies.html?cp=twhecopri\">Privacy Policy</OPTION>\n" +
"</SELECT></FONT></TD>\n" +
"<TD align=\"left\" valign=\"middle\" width=\"400\"><img src=\"http://toolbar.netscape.com/tw_hat/images/pixel.gif\" height=\"25\" width=\"2\" border=\"0\"></TD></TR></FORM>\n" +
"</TABLE>\n");

