function userlogin(){
    var xmlhttp;
    var str;
    var sendstr="";
     try{
             xmlhttp=new XMLHttpRequest();
         }
	catch(e){
             xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
	xmlhttp.onreadystatechange=function(){
          if (xmlhttp.readyState==4){
              if (xmlhttp.status==200){		
			   str = xmlhttp.responseText;	
			   if(str!="")
			   {	
			     document.getElementById("userlogin").innerHTML=str;
			   }	
			   }else{
			   alert("系统错误,如有疑问,请与管理员联系!"+xmlhttp.status);
			 }
          }
       }
	xmlhttp.open("post","/config/userlogin.asp",true);
	xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
	xmlhttp.send(sendstr); 
 }

 function ismanager(){
    var xmlhttp;
    var str;
    var sendstr="";
     try{
             xmlhttp=new XMLHttpRequest();
         }
	catch(e){
             xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
	xmlhttp.onreadystatechange=function(){
          if (xmlhttp.readyState==4){
              if (xmlhttp.status==200){		
			   str = xmlhttp.responseText;	
			   if(str!="")
			   {	
			     document.getElementById("ismanager1").href=str;
			     document.getElementById("ismanager2").href=str;
			   }	
			   }else{
			   alert("系统错误,如有疑问,请与管理员联系!"+xmlhttp.status);
			 }
          }
       }
	xmlhttp.open("post","/config/ismanager.asp",true);
	xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
	xmlhttp.send(sendstr); 
 }
