//函数库
var ResponseType="";
var ActionControl="";
var XMLDom
//xml字符串转DOM对象
function StrToXML(xmlStr)
{
   var xmlDom=new ActiveXObject("Microsoft.XMLDOM");
   //alert(xmlStr);
   xmlDom.loadXML(xmlStr);
   return xmlDom;
}
//Ajax请求响应函数
function alertContents()
{
	
		
  if(Http_Request.readyState==4)
  {
	 if(Http_Request.status==200)
     {  
        if(ResponseType=="XML")
        {	
           XMLDocument=Http_Request.responseXML;
           XMLDom=XMLDocument;

        }
        else
        {
           XMLDocument=Http_Request.responseText;
           Client_Response(ActionControl);
        }   
     }
     else
     {
        XMLDocument=null;
     }
  }
  else
  {  
     XMLDocument=null;
  }
}
