﻿// JScript 文件

function createHTTP()
{
  
   if(window.ActiveXObject)
     {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
     }
     else if(window.XMLHttpRequest)
     {
      xmlhttp=new XMLHttpRequest();
     }
     
}




function startHTTP()
{
  createHTTP();
  xmlhttp.onreadystatechange=StateDO;
    xmlhttp.open("POST","/pd.aspx?xm=d",false);          
                    xmlhttp.send(""); 
                    
                    
                    
}

function StateDO()
{

 if(xmlhttp.readyState==4)
 {
  if(xmlhttp.status==200)
  {
  
    document.getElementById("xs").innerHTML=xmlhttp.responsetext;
  }
 }
}
