// 邮件代码开始 -->
<!--hide this script from non-javascript-enabled browsers
function checkmailform(){
if(document.maillogin.LoginName.value==""){
alert("请输入用户名！");
document.maillogin.LoginName.focus();
return false;
}
if(document.maillogin.passwd.value==""){
alert("请输入密码！");
document.maillogin.passwd.focus();
return false;
}
}
// stop hiding -->
// 邮件代码结束 -->

// 搜索代码开始 -->
function SearchAction()
{
    if(document.xinhuaform.sw.value=="")   {       alert(" 请您输入关键词! ");	   return false;   }
    if(document.xinhuaform.st.value == "xhnet")	{	     document.location="http://search.xinhuanet.com/search/xhse.jsp?sw="+document.xinhuaform.sw.value; 	     return false;	}
	if(document.xinhuaform.st.value =="news")	{	   document.location="http://search.xinhuanet.com/search/searchnews.jsp?sw="+document.xinhuaform.sw.value;	   return false;	}
	if(document.xinhuaform.st.value =="local"){  return true;	}
	return false;
}

// 搜索代码结束 -->


// 开始显示-->
document.writeln("<table width=\"773\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" bgcolor=\"#E3E3E3\">");
document.writeln("  <tr bgcolor=\"#000000\"> ");
document.writeln("    <td colspan=\"2\"><img src=\"http://imgs.xinhuanet.com/icon/spacer.gif\" width=\"1\" height=\"1\"></td>");
document.writeln("  </tr>");
document.writeln("  <tr> ");
document.writeln("    <td width=\"456\"> ");
document.writeln("      <table width=\"420\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("        <form method=\"POST\" action=\"http://mail.xinhuanet.com/NULL/NULL/NULL/NULL/NULL/SignIn.gen\" name=\"maillogin\" onSubmit=\"return checkmailform();\">");
document.writeln("          <tr> ");
document.writeln("            <td width=\"67\" align=\"right\" valign=\"middle\" class=\"font3\">用户名：</td>");
document.writeln("            <td width=\"82\"> ");
document.writeln("              <input type=\"text\" name=\"LoginName\" maxlength=\"64\" style=\"WIDTH: 70px; HEIGHT: 18px; background-color: E9EBEA\">");
document.writeln("            </td>");
document.writeln("            <td width=\"40\" valign=\"middle\" class=\"font3\">密码：</td>");
document.writeln("            <td width=\"81\"> ");
document.writeln("              <input type=\"password\" name=\"passwd\" maxlength=\"64\" style=\"WIDTH: 70px; HEIGHT: 18px; background-color: E9EBEA\">");
document.writeln("            </td>");
document.writeln("            <td width=\"74\"> ");
document.writeln("              <input type=\"submit\" value=\"登录邮箱\" style=\"font-size:9pt; WIDTH: 60px; HEIGHT: 18px\" name=\"submit2\">");
document.writeln("            </td>");
document.writeln("            <td width=\"79\" valign=\"middle\"><a href=\"http://mail.xinhuanet.com/\" target=\"_blank\" style=\"font-size:12px\">[免费申请]</a></td>");
document.writeln("          </tr>");
document.writeln("        </form>");
document.writeln("      </table>");
document.writeln("    </td>");
document.writeln("    <td width=\"317\" height=\"20\"> ");
document.writeln("      <table width=\"300\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln(" <FORM name=xinhuaform method=\"post\" action=\"http://search.xinhuanet.com/search/searchnewslocal.jsp\" onsubmit=\"return SearchAction()\">");
document.writeln("          <tr> ");
document.writeln("            <td width=\"41\" class=\"font3\">搜索：</td>");
document.writeln("            <td width=\"137\"> ");
document.writeln("         <input name=sw size=\"25\" value=\"\" style=\"WIDTH: 120px; HEIGHT: 18px; background-color: E9EBEA\">");
document.writeln("            </td>");
document.writeln("            <td width=\"66\"> ");
document.writeln("         <select name=\"st\"> style=\"background-color: E9EBEA\">");
document.writeln("           <option value=\"xhnet\" selected>本网</option>");
document.writeln("           <option value=\"news\">新闻</option>");
document.writeln("           <option value=\"local\" >频道</option>");
document.writeln("           </select>");
document.writeln("            </td>");
document.writeln("            <td width=\"56\"> ");
document.writeln("              <input type=\"submit\" name=\"Submit\" value=\"搜索\" style=\"font-size:9pt; HEIGHT: 18px\">");
document.writeln("            </td>");
document.writeln("          </tr>");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"北京\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"上海\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"天津\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"重庆\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"安徽\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"河北\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"河南\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"海南\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"福建\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"广东\">");
document.writeln(" 					<input type=\"hidden\" name=\"sitename\" value=\"陕西\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"湖北\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"湖南\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"宁夏\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"内蒙古\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"青海\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"山东\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"山西\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"江西\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"甘肃\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"四川\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"云南\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"广西\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"江苏\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"吉林\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"辽宁\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"黑龙江\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"浙江\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"贵州\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"新疆\">");
document.writeln("                     <input type=\"hidden\" name=\"sitename\" value=\"西藏\">");
document.writeln(" 					<input type=hidden name=\"searchtype\" value=\"1\">");
document.writeln(" </FORM>");
document.writeln("      </table>");
document.writeln("    </td>");
document.writeln("  </tr>");
document.writeln("</table>");
// 结束显示 -->
