// 郵件代碼開始 -->
<!--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://big5.xinhuanet.com/gate/big5/search.xinhuanet.com/search/xhse.jsp?sw="+document.xinhuaform.sw.value; 	     return false;	}
	if(document.xinhuaform.st.value =="news")	{	   document.location="http://big5.xinhuanet.com/gate/big5/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://big5.xinhuanet.com/gate/big5/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://big5.xinhuanet.com/gate/big5/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=\"a13\">用戶名：</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=\"a13\">密碼：</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://big5.xinhuanet.com/gate/big5/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://big5.xinhuanet.com/gate/big5/search.xinhuanet.com/search/searchnewslocal.jsp\" onsubmit=\"return SearchAction()\">");
document.writeln("          <tr> ");
document.writeln("            <td width=\"41\" class=\"a13\">搜索：</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>");
// 結束顯示 -->
