document.writeln("   <script language=\"Javascript\"> ");
document.writeln("function contact(address) {");
document.writeln("	location.href = \"mailto:\"+address;");
document.writeln("}");
document.writeln(" ");
document.writeln("function selectLanguage() {");
document.writeln("	sUser = \'\';");
document.writeln("	sDomain = \'\';");
document.writeln("	sLanguage = \'\';");
document.writeln("	sTheme = \'\';");
document.writeln("	");
document.writeln("	frm = document.form1;");
document.writeln("	if (frm.f_user)");
document.writeln("		sUser = frm.f_user.value;");
document.writeln("	if (frm.f_domain.options)");
document.writeln("		sDomain = frm.f_domain.options[frm.f_domain.selectedIndex].value;");
document.writeln("	else");
document.writeln("		sDomain = frm.f_domain.value;");
document.writeln("	if (frm.f_lang)");
document.writeln("		sLanguage = frm.f_lang.options[frm.f_lang.selectedIndex].value;");
document.writeln("	if (frm.f_theme)");
document.writeln("		sTheme = frm.f_theme.options[frm.f_theme.selectedIndex].value;");
document.writeln(" ");
document.writeln("	sLocation = \'http:\/\/220.191.243.21\/index.php?f_lang=\'+sLanguage+\'&f_theme=\'+sTheme+\'&f_user=\'+escape(sUser)+\'&f_domain=\'+escape(sDomain);");
document.writeln("	location.replace(sLocation);");
document.writeln("}");
document.writeln("	");
document.writeln("function loginCheck() {");
document.writeln("	sUser = \'\';");
document.writeln("	sDomain	= \'\';");
document.writeln("	sPassword = \'\';");
document.writeln("	");
document.writeln("	frm = document.form1;");
document.writeln("	if (frm.f_user)");
document.writeln("		sUser = frm.f_user.value;");
document.writeln("	if (frm.f_domain.options)");
document.writeln("		sDomain = frm.f_domain.options[frm.f_domain.selectedIndex].value;");
document.writeln("	else");
document.writeln("		sDomain = frm.f_domain.value;");
document.writeln("	if (frm.f_pass)");
document.writeln("		sPassword = frm.f_pass.value;");
document.writeln("		");
document.writeln("	if (sDomain == \'\' || sUser == \'\' || sPassword == \'\'){");
document.writeln(" ");
document.writeln("		alert(\'用户名和密码栏不能为空！\');");
document.writeln(" ");
document.writeln("		return;");
document.writeln("	}");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln("	frm.submit();");
document.writeln("}");
document.writeln(" ");
document.writeln("function getPwd() {");
document.writeln("	location.href = \'http:\/\/220.191.243.21\/getpassword.php\';");
document.writeln("}");
document.writeln(" ");
document.writeln("function keypress(keypressed) {");
document.writeln("	var key;");
document.writeln("	if (document.all) ");
document.writeln("		key = window.event.keyCode");
document.writeln("	else ");
document.writeln("		key = keypressed.which;");
document.writeln("		");
document.writeln("	if (key == 13) ");
document.writeln("		loginCheck();");
document.writeln("}");
document.writeln("<\/script>");
document.writeln("<form name=\"form1\" action=\"http:\/\/220.191.243.21\/login.php\" method=post target=\"_blank\" style=\"margin:0; padding:0;\">");
document.writeln("        <input type=hidden name=sid value=\"\">");
document.writeln("        <input type=hidden name=retid value=\"39062600\">");
document.writeln("   <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("     <tr>");
document.writeln("       <td>&nbsp;<\/td>");
document.writeln("       <td width=\"60\" align=\"right\">邮箱登录<\/td>");
document.writeln("       <td width=\"35\" align=\"center\"><img src=\"http:\/\/www.zrt.gov.cn\/picture\/1\/zjgdj_08.gif\"  height=\"14\" \/><\/td>");
document.writeln("       <td width=\"50\">用户名：<\/td>");
document.writeln("       <td width=\"108\"><input type=\"text\" name=\"f_user\" maxlength=64  style=\"width:100px; height:14px; border:1px solid #cccccc;\"\/><input type=\"hidden\" name=\"f_domain\" value=\"zrt.gov.cn\"><select name=\"f_theme\" onChange=\"javascript:selectLanguage()\" style=\"display:none\">");
document.writeln("            <option value=\"default\">Default<\/option>");
document.writeln("            <option value=\"classic\">Classic<\/option>");
document.writeln("            <option value=\"blue\">Blue<\/option>");
document.writeln("            <option value=\"orange\">Orange<\/option>");
document.writeln("            <option value=\"xp\" selected>XP<\/option>");
document.writeln("          <\/select><\/td>");
document.writeln("       <td width=\"50\" align=\"right\">密 码：<\/td>");
document.writeln("       <td width=\"108\"><input   style=\"width:100px; height:14px; border:1px solid #cccccc;\" type=\"password\"  name=\"f_pass\" value=\"\" maxlength=64 autocomplete=\"OFF\"\/><\/td>");
document.writeln("       <td width=\"48\" onclick=\"javascript:loginCheck();\" onmouseover=\"style.cursor=\'hand\'\" onmouseout=\"style.cursor=\'default\'\"><img src=\"http:\/\/www.zrt.gov.cn\/picture\/1\/zjgdj_05.gif\" width=\"43\" height=\"18\" \/><\/td>");
document.writeln("       <td width=\"30\">&nbsp;<\/td>");
document.writeln("     <\/tr>");
document.writeln("   <\/table>");
document.writeln("    <\/form>");
document.writeln("   <script language=\"JavaScript\"> ");
document.writeln("	document.form1.f_user.focus();");
document.writeln("	document.form1.f_pass.onkeypress = keypress;");
document.writeln("<\/script>");
