function checkusername()
{
if (xmlHttp.readyState == 4)//判断对象状态
{
if (xmlHttp.status == 200)//信息成功返回,开始处理信息
{
if (xmlHttp.responseText == "true") {
flag = "true";
closeDiv("login_div");
}
else 
{
flag = xmlHttp.responseText;
alert(flag);
}
}
}
}ie下,xmlhttp.status正常200
Firefox下,xmlhttp.status的值却为411