The two tasks of the XMLHttp are handling the HTTP request, and then processing the XML response. The first one is easily done by writing the appropriate syntax for creating this object. The second is achieved via reference to XMLDOM.
var xhr=new ActiveXObject("Microsoft.XMLHTTP");
is the correct syntax for the Internet Explorer and