var switch_url = "/en";
function checklogin(form)
{
	if ((form.LogonName.value!=null)&&(form.LogonName.value!="")) {
		//form.submit();
	}else {
		alert("请输入用户名");
		form.LogonName.focus();
		return false;
	}
	if ((form.Password.value!=null)&&(form.Password.value!="")) {
		form.submit();
	}else {
		alert("请输入此用户名所对应的密码");
		form.Password.focus();
		return false;
	}
}


function mOvr(src, cOvr)
{if (!src.contains(event.fromElement)) {src.style.cursor = "default";src.bgColor = cOvr;}}
function mOut(src, cOut)
{if (!src.contains(event.toElement)) {src.style.cursor = "default";src.bgColor = cOut;}}




function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


document.write("<style type=\"text/css\">");
document.write("<!--");
document.write(".yyy1 { font-family: \"Verdana\", \"宋体\"; font-weight: bold;font-size: 10px;}");
document.write(".A6:link { COLOR: #666666;  TEXT-DECORATION: none;width=100%;font-size:14px;}");
document.write(".A6:visited {COLOR:#666666; TEXT-DECORATION: none;width=100%;font-size:14px;}");
document.write(".A6:hover { COLOR: #FFFFFF; TEXT-DECORATION: none;width=100%;font-size:14Px;}");
document.write(".td {");
document.write("	font-size: 12px;");
document.write("	font-weight: bold;");
document.write("	color: #FFFFFF;");
document.write("	border-top:#AAEA4B 1px solid; ");
document.write("	border-left:#AAEA4B 1px solid;");
document.write("	border-right:#669900 0px solid;");
document.write("}");
document.write(".td1 {");
document.write("     font-family: \"Verdana\", \"宋体\"; font-weight: normal;font-size: 14px;");
document.write("     border-bottom:#CCCCCC 1px solid;");
document.write("}");
document.write(".A7:link {");
document.write("	COLOR: #FFFFFF; TEXT-DECORATION: none");
document.write("}");
document.write(".A7:visited {");
document.write("	COLOR: #FFFFFF; TEXT-DECORATION: none");
document.write("}");
document.write(".A7:hover {");
document.write("	BOTTOM: 1px; COLOR: #FFFFFF;  TEXT-DECORATION: none; }");
document.write(".A7:active {");
document.write("	COLOR: #FFFFFF; TEXT-DECORATION: none");
document.write("}");
document.write(".register {");
document.write("	font-family: \"宋体\";");
document.write("	font-size: 12px;");
document.write("	color: #FFFFFF;");
document.write("	");
document.write("}");
document.write("-->");
document.write("</style>");
document.write("</head>");
document.write("<body leftmargin=\"0\" topmargin=\"0\">");
document.write("<table width=\"770\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#98CB00\">");
document.write("  <TR> ");
document.write("    <TD HEIGHT=\"52\"> <TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" WIDTH=\"100%\" BGCOLOR=\"#98CB00\">");
document.write("        <TR> ");
document.write("          <TD WIDTH=\"395\" VALIGN=\"bottom\"><a href=\"http://www.britishcouncil.org.cn/zh/china.jsp\"><img src=\"/comm/images/china-logo-top-bar.jpg\" width=\"395\" height=\"52\" alt=\"British Council China\" border=\"0\"></a></TD>");
document.write("            <TD WIDTH=\"375\" VALIGN=\"bottom\" ALIGN=\"right\"> 	");
document.write("              <table width=\"252\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"register\" >");
document.write("              <tr> ");
document.write("                <form name=\"login_frm2\" method=\"post\" action=\"/member/logined.jsp\">");
document.write("                  <input type=\"hidden\" name=\"operation\" value=\"loginpln\">");
document.write("                  <input type=\"hidden\" name=\"repath\" value=\"/epage/chinese/welcome.jsp\">");
document.write("                  <td width=\"116\" valign=\"bottom\">用户名: ");
document.write("                    <input type=\"text\" name=\"LogonName\" style=\"BACKGROUND-COLOR: #F5FFE5; BORDER-BOTTOM: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; COLOR: #000000; FONT: 12px Verdana,Geneva,sans-serif; HEIGHT: 16px; \" size=8> ");
document.write("                  </td>");
document.write("                  <td width=\"116\" valign=\"bottom\">密　码: ");
document.write("                    <input type=\"password\" name=\"Password\" style=\"BACKGROUND-COLOR: #F5FFE5; BORDER-BOTTOM: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; COLOR: #000000; FONT: 12px Verdana,Geneva,sans-serif; HEIGHT: 16px; \" size=8  onKeyPress=\"if (window.event.keyCode==13) {checklogin(login_frm2);return false;}\"> ");
document.write("                  </td>");
document.write("                  <td width=\"22\"><a href=\"javascript:void(checklogin(login_frm2));\"><img src=\"/comm/images/go_palette04.gif\" width=\"22\" height=\"22\" border=\"0\"></a></td>");
document.write("                </form>");
document.write("              </tr>");
document.write("            </table> </TD>");
document.write("        </TR>");
document.write("      </TABLE></TD>");
document.write("  </TR>");
document.write("  <tr> ");
document.write("    <td><table width=\"770\" height=\"21\" border=0 cellpadding=0 cellspacing=0 bordercolordark=\"#669900\" >");
document.write("        <tr align=\"center\" bgcolor=\"#669900\"> ");
document.write("          <td width=154 class=\"td\" onMouseOver=\"mOvr(this,'#98CB00')\" onMouseOut=\"mOut(this,'#669900')\"><a href=\"/events/evnmonth.jsp?evnl=bj\" class=\"A7\">北　京</a></td>");
document.write("          <td width=154 class=\"td\" onMouseOver=\"mOvr(this,'#98CB00')\" onMouseOut=\"mOut(this,'#669900')\"><a href=\"/events/evnmonth.jsp?evnl=sh\" class=\"A7\">上　海</a></td>");
document.write("          <td width=154 class=\"td\" onMouseOver=\"mOvr(this,'#98CB00')\" onMouseOut=\"mOut(this,'#669900')\"><a href=\"/events/evnmonth.jsp?evnl=gz\" class=\"A7\">广　州</a></td>");
document.write("          <td width=154 class=\"td\" onMouseOver=\"mOvr(this,'#98CB00')\" onMouseOut=\"mOut(this,'#669900')\"><a href=\"/events/evnmonth.jsp?evnl=cq\" class=\"A7\">重　庆</a></td>");
document.write("          <td width=154 class=\"td\" onMouseOver=\"mOvr(this,'#98CB00')\" onMouseOut=\"mOut(this,'#669900')\"><a href=\"/events/\" class=\"A7\">活动首页</a></td>");
document.write("        </tr>");
document.write("      </table></td>");
document.write("  </tr>");
document.write("</table>");
