document.write("<iframe height='1' width='1' name='lfrm' style='display:none'></iframe>");
function chkplogin()
{
 var uname=document.plogin.puName.value;
 var upass=document.plogin.pPassword.value;
 
 if (uname.length==0)
    {
    alert("请输入用户名！");
    document.plogin.puName.focus();
    return false;
    }
  
  if (upass.length==0)
    {
    alert("请输入密码！");
    document.plogin.pPassword.focus();
    return false;
    }
}
function checkform()
{
  uname=document.elogin.euName.value;
  upass=document.elogin.ePassword.value;

  if (uname.length==0)
    {
     alert("请输入用户名！");
     document.elogin.euName.focus();
     return false;
    }

  if (upass.length==0)
    {
     alert("请输入密码！");
     document.elogin.ePassword.focus();
     return false;
    }

}
function logindiv(o)
{
document.getElementById("personal").className="divnone";
document.getElementById("enter").className="divnone";
document.getElementById("personalid").className="turn_1_1";
document.getElementById("enterid").className="turn_2";
if(o=='0')
{
document.getElementById("personal").className="b1";
document.getElementById("personalid").className="turn_1";
}
else
{
document.getElementById("enter").className="b1";
document.getElementById("enterid").className="turn_2_1";
}
}

