document.writeln("<table width=\"778\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("<form method=\"post\" action=\"http://mail.ndrc.gov.cn/remote.php\" name=\"login\" onSubmit=\"return AddDomain();\">");
document.writeln("  <tr>");
document.writeln("    <td height=\"30\" background=\"/newimages/top_01.jpg\"><table width=\"100%\" height=\"30\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("      <tr>");
document.writeln("<input type=\"hidden\" name=\"p1\" value=\"ndrc.gov.cn\">");
document.writeln("        <td width=\"13%\">&nbsp;&nbsp;邮箱：用户名</td>");
document.writeln("        <td width=\"12%\"><input name=\"LoginName\" type=\"text\" class=\"srkty\"></td>");
document.writeln("        <td width=\"4%\">密码</td>");
document.writeln("        <td width=\"12%\"><input name=\"Password\" type=\"password\" class=\"srkty\"></td>");
document.writeln("        <td width=\"7%\"><INPUT id=submit12 name=submit12  value='登 录' class=\"mask\"  style=\"BACKGROUND-COLOR: #efebe2; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; CURSOR: hand; FONT-SIZE: 13px; HEIGHT: 21px; WIDTH: 51px\" type=submit></td>");
document.writeln("        <td width=\"25%\">&nbsp;</td>");
document.writeln("        <td width=\"18%\" align=\"center\">");
document.writeln("        &nbsp;<a href=\"http://en.ndrc.gov.cn/\" target=\"_blank\" class=\"sjzzx\">English</a> </td>");
document.writeln("        <td width=\"9%\"><INPUT id=submit122 name=submit122 value='首 页'  onclick=\"javascript:window.open('/default.htm','_top','')\" class=\"mask5\"  style=\"BACKGROUND-COLOR: #efebe2; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; CURSOR: hand; font-weight: bold; FONT-SIZE: 13px; HEIGHT: 27px; WIDTH: 65px\" type=button></td>");
document.writeln("      </tr>");
document.writeln("    </table></td>");
document.writeln("  </tr>");
document.write('</form>');
document.writeln("  <tr>");
document.writeln("    <td height=\"91\" valign=\"top\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"778\" height=\"91\">");
document.writeln("      <param name=\"movie\" value=\"/newimages/778.swf\">");
document.writeln("      <param name=\"quality\" value=\"high\">");
document.writeln("      <embed src=\"/newimages/778.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"778\" height=\"91\"></embed><param value=\"false\" name=\"menu\"/><param value=\"opaque\" name=\"wmode\"/>");
document.writeln("    </object></td>");
document.writeln("  </tr>");
//document.writeln("  <tr>");
//document.writeln("    <td height=\"91\" background=\"/newimages/tit_01.jpg\"></td>");
//document.writeln("  </tr>");

//document.writeln("</table>");

function AddDomain() {
	var t=Math.random() * 100000000;
	document.login.action=document.login.action+"?token="+t;
  if(document.login.LoginName.value == ""){
		alert("请输入邮箱用户名！");
		document.login.LoginName.focus();
		return false;
}
  if(document.login.LoginName.value.indexOf("@") == -1)
        document.login.LoginName.value = document.login.LoginName.value + "@" + document.login.p1.value;

}



function j2gb(url)
{
    if(location.hostname=="203.207.194.3")
    {
            location.href="ht"+"tp://"+url;
        return false;
    }
    else
    {
        return true;
    }
}

function j2gbopen(url)
{
    if(location.hostname=="203.207.194.3")
    {
            window.open("ht"+"tp://"+url , "", "");
        return false;
    }
    else
    {
        return true;
    }
}

