﻿document.writeln("<div class=\"wrap\">");
document.writeln("<!--  topbar-begin  -->");
document.writeln("");
document.writeln("<SCRIPT language=javascript type=text\/javascript>");
document.writeln("<!--");
document.writeln("var backurlReceiveReturn=\"http:\/\/szbbs.sznews.com\/logging.php?action=login\";");
document.writeln("var ssoproxy=\"http:\/\/login.sznews.com\/mp\/passport\/loginproxy.jsp\";");
document.writeln("function handleLogin(loginname,pwd,f) ");
document.writeln("{");
document.writeln("     document.getElementById(\"username2sso\").value=loginname;");
document.writeln("     document.getElementById(\"password2sso\").value=pwd;");
document.writeln("     document.getElementById(\"backurl\").value=backurlReceiveReturn;");
document.writeln("     f.action=ssoproxy;");
document.writeln("     return true;");
document.writeln("} ");
document.writeln("function sendUserInfo(f) {");
document.writeln("    var loginname=document.getElementById(\"username\").value;");
document.writeln("    var password=document.getElementById(\"password\").value;");
document.writeln("    if(loginname==\"\")");
document.writeln("    {");
document.writeln("      alert(\"用户名不能为空\");");
document.writeln("      return false;");
document.writeln("    }");
document.writeln("    if(password==\"\")");
document.writeln("    {");
document.writeln("      alert(\"密码不能为空\");");
document.writeln("      return false;");
document.writeln("    }");
document.writeln("    return handleLogin(loginname,password,f);");
document.writeln("}");
document.writeln("-->");
document.writeln("<\/SCRIPT>");
document.writeln("  <div class=\"topbar\">");
document.writeln("    <div class=\"intopbar\"> ");
//document.writeln(" <span class=\"span_juser\"><form  name=login onSubmit=\"return sendUserInfo(this);\" action=# ");
//document.writeln("method=post><font class=\"font_j\">用户名<\/font><input class=\"input_jtext\" type=\"text\" value=\"\" id=username \/><font class=\"font_j\">密码<\/font><input class=\"input_jtext\" type=\"password\" value=\"\" id=password \/><INPUT id=username2sso type=hidden name=username2sso \/> <INPUT ");
//document.writeln("id=password2sso type=hidden name=password2sso \/> <INPUT id=backurl type=hidden ");
//document.writeln("name=backurl><input class=\"input_jbtn\" type=\"submit\" value=\"登录\" \/><a class=\"a_jregister\" href=\"http:\/\/login.sznews.com\/mp\/sso\/Reg.jsp\" title=\"注册\">注册<\/a><a class=\"a_jforget\" href=\"http:\/\/bbs.sznews.com\/forum\/Parentforum.jsp?forumId=102\" title=\"查看新帖\">查看新帖<\/a><\/form><\/span>");
//document.writeln("<span class=\"span_juser\" style=\"display:none;\"><font class=\"font_j\">用户名<\/font><a class=\"a_jlogout\" href=\"#\" title=\"退出\">退出<\/a><\/span>");
document.writeln("<span class=\"floatright\"><a class=\"a_jhome\" href=\"http:\/\/www.szeia.com\/\" title=\"首页\">首页<\/a><font class=\"font_j\">|<\/font><a class=\"a_jsetup\" href=\"#\" title=\"设为主页\" onClick=\"this.style.behavior=\'url(#default#homepage)\';&#10;&#10;this.setHomePage(\'http:\/\/www.szeia.com\');\">设为主页<\/a><\/span><\/div><\/div>");
document.writeln("<!--  topbar-end  -->");
