
function ReadNums(iid){
	
var iid=iid;		  
  var xmlhttp;
	var str =null;
	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;		
			   document.getElementById("ReadNums").innerHTML=str;	
			   }else{
			   alert("系统错误,如有疑问,请与管理员联系!");
			 }
          }
       }
	  xmlhttp.open("post","ReadNums.asp",true);
      xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
      xmlhttp.send("para="+iid); 
	 	 
}

function lefthtml(){
	  var xmlhttp;
		var str =null;
		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;		
			   document.getElementById("lefthtml").innerHTML=str;	
			   }else{
			   alert("left系统错误,如有疑问,请与管理员联系!");
			 }
          }
       }
	  xmlhttp.open("post","leftn.asp",true);
      xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
      xmlhttp.send(sendstr); 
	 	 
}

function bottomhtml(){
	  var xmlhttp;
		var str =null;
		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;	
			     document.getElementById("bottomhtml").innerHTML=str;		
			   }else{
			   alert("系统错误,如有疑问,请与管理员联系!");
			 }
          }
       }
	  xmlhttp.open("post","bottom.asp",true);
      xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
      xmlhttp.send(sendstr); 	 	 
}

function yqhtml(){
	  var xmlhttp;
		var str =null;
		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;	
			     document.getElementById("yqhtml").innerHTML=str;	
			   }else{
			   alert("系统错误,如有疑问,请与管理员联系!");
			 }
          }
       }
	  xmlhttp.open("post","yq.asp",true);
      xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
      xmlhttp.send(sendstr); 	 	 
}  


	function TongJi()
{
	var xmlhttp;
	var str =null;
	var sendstr="";
	var FromUrl="";
        FromUrl=document.location.href;
	     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;		
	}else{
	  alert("系统错误!");
	      }
          }
       }
	  xmlhttp.open("post","/TongJi.asp",true);
      xmlhttp.setRequestHeader('content-type','application/x-www-form-urlencoded');
 
      xmlhttp.send("FromUrl="+FromUrl); 
    
}
TongJi();

