var zXml={ useActiveX:(typeof ActiveXObject!="undefined"), useDom:document.implementation&&document.implementation.createDocument, useXmlHttp:(typeof XMLHttpRequest!="undefined") }; zXml.ARR_XMLHTTP_VERS=["MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp","Microsoft.XmlHttp"]; zXml.ARR_DOM_VERS=["MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","Microsoft.XmlDom"]; function zXmlHttp(){} zXmlHttp.createRequest=function(){ if(zXml.useXmlHttp){ return new XMLHttpRequest(); }else if(zXml.useActiveX){ if(!zXml.XMLHTTP_VER){ for(var i=0;i([\s\S]*?)Location:([\s\S]*?)Line Number(\d+),Column(\d+):([\s\S]*?)(?:\-*\^)/;reError.test(this.xml);this.parseError.errorCode=-999999;this.parseError.reason=RegExp.$1;this.parseError.url=RegExp.$2;this.parseError.line=parseInt(RegExp.$3);this.parseError.linepos=parseInt(RegExp.$4);this.parseError.srcText=RegExp.$5;}}; oMozDocument.prototype.loadXML=function(sXml){this.__initError__();this.__changeReadyState__(1);var oParser=new DOMParser();var oXmlDom=oParser.parseFromString(sXml,"text/xml");while(this.firstChild){this.removeChild(this.firstChild);}for(var i=0;i