document.writeln("<style type=\"text/css\">");
document.writeln("<!--");
document.writeln("td {  font-size: 12px}");
document.writeln(".tom {color: #ccff99}");
document.writeln("a.tom:link	{color: #CCFF99;text-decoration:none}");
document.writeln("a.tom:visited	{color: #CCFF99;text-decoration:none}");
document.writeln("a.tom:hover	{color: #FFFFFF;text-decoration:none}");
document.writeln(".input {border-left: 1px solid rgb(80,102,70); border-right: 1px solid rgb(80,102,70); border-top: 1px solid rgb(80,102,70); border-bottom:1px solid rgb(80,102,70); font-size: 12px;background:#FFFFFF; font-weight: normal}");
document.writeln(".dpgrn { color: #003333;}");
document.writeln("a.dpgrn:hover {color: #FF0000}");
document.writeln("a.dpgrn:link {color: #003333; text-decoration:none;}");
document.writeln("a.dpgrn:visited {color: #003333; text-decoration:none;}");
document.writeln("//-->");
document.writeln("</style>");
document.writeln("<table width=\"773\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#003333\"><tr><td> ");
document.writeln("<table bgcolor=#003333 border=0 cellpadding=0 cellspacing=0 width=767 align=\"center\"><tr> ");
document.writeln("<td><a href=\"http://www.tom.com/\"><img border=0 src=\"http://image.cn.tom.com/cntom/images/tombarlogo.gif\"></a></td>");
document.writeln("<td class=tom valign=center align=\"right\">");
document.writeln("<table width=\"720\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">");
document.writeln("  <tr align=\"center\" class=\"tom\"> ");
document.writeln("    <td><a class=tom href=\"http://news.tom.com/\">新闻</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://finance.tom.com/\">财经</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://sports.tom.com/\">体育</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://tech.tom.com/\">科技</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://ent.tom.com/\">娱乐</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://music.tom.com/\">音乐</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://fashion.tom.com/\">时尚</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://games.tom.com/\">游戏</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://army.tom.com/\">军事</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://heritage.tom.com\">文化</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://wenxue.tom.com\">文学</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://house.tom.com/\">房产</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://auto.tom.com\">汽车</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://job.tom.com/\">人才</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://campus.tom.com/\">校园</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://travel.tom.com/\">旅游</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://arts.tom.com\">美术</a></td>");
document.writeln("    <td class=\"tom\">|</td>");
document.writeln("    <td><a class=tom href=\"http://999.tom.com\">健康</a>&nbsp;</td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("<table width=\"767\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" bgcolor=\"ccff99\">");
function logon(){
 target1=document.login.select.value;
 if( target1 == "mail" ) {
 	document.login.action="http://bjweb.163.net/cgi/login";
 	return true;

 }
 else{
 	return true;
 }
}
document.writeln("<form action=http://tomauth.cn.tom.com/authenticate.php method=post name=login onsubmit=\"return logon()\">");
document.writeln("<input type=\"hidden\" name=\"username\">");
document.writeln("<input type=\"hidden\" name=\"name\">");
document.writeln("<input type=\"hidden\" name=\"login_name\">");
document.writeln("<input type=\"hidden\" name=\"password\">");
document.writeln("<input type=\"hidden\" name=\"passwd\">");
document.writeln("<tr><td align=\"center\" width=\"32\" class=\"dpgrn\">登录 </td>");
document.writeln("<td width=\"82\">");
document.writeln("<select name=select style=\"FONT-SIZE:12px;\">");
document.writeln("<option selected value=mail>163邮件</option>");
document.writeln("<option value=mytom>我的TOM</option>");
document.writeln("<option value=visp>网游神</option>");
document.writeln("<option value=chat>聊天室</option>");
document.writeln("<option value=bbs>论坛</option>");
document.writeln("<option value=piclib>图库</option>");
document.writeln("<option value=igroup>兴趣小组</option>");
document.writeln("<option value=wireless>手机短信</option>");
document.writeln("</select>");
document.writeln("</td>");
document.writeln("<td width=\"42\" class=\"dpgrn\">用户名</td>");
document.writeln("<td width=\"82\"><input class=input name=user size=11></td>");
document.writeln("<td width=\"36\" align=\"center\" class=\"dpgrn\">密码</td>");
document.writeln("<td width=\"82\"><input class=input name=pass size=11 type=password></td>");
document.writeln("<td width=\"28\"><input border=0 cache height=18 src=\"http://www.tom.com/image/login_button.gif\" type=image width=16 name=\"image\"></td>");
document.writeln("<td align=\"right\" width=\"389\" class=\"dpgrn\">");
document.writeln("<table width=\"380\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\" height=\"18\">");
document.writeln("  <tr align=\"center\"> ");
document.writeln("    <td><a href=\"http://tomnet.tom.com\" class=\"dpgrn\">网游神</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://www.163.net\" class=\"dpgrn\">邮件</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://chat.tom.com\" class=\"dpgrn\">聊天</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://bbs.tom.com/\" class=\"dpgrn\">论坛</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://tomq.cn.tom.com/\" class=\"dpgrn\"><font face=\"Arial\">TOMQ</font></a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://voice.cn.tom.com/\" class=\"dpgrn\">及时语</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://sms.tom.com/\" class=\"dpgrn\"><font color=red>短信</font></a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://mall.tom.com/\" class=\"dpgrn\">购物</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("    <td><a href=\"http://goodbaby.tom.com/\" class=\"dpgrn\">育儿</a></td>");
document.writeln("    <td class=\"dpgrn\">|</td>");
document.writeln("<td><a href=\"http://search.tom.com/\" class=\"dpgrn\">搜索</a><img src=\"http://image.cn.tom.com/cntom/image/shim.gif\" width=8></td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</form>");
document.writeln("</table>");
document.writeln("</td></tr></table>");
document.writeln("<table width=\"773\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" bgcolor=\"003333\" height=\"2\"><tr><td><img src=\"http://image.cn.tom.com/cntom/image/shim.gif\" width=\"1\" height=\"2\"></td></tr></table>");