xmllib.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:3k
- var OxOfba2=["prefix","MSXML2","Microsoft","MSXML","MSXML3","length",".DomDocument","Could not find an installed XML parser",".XmlHttp","Could not find an installed XMLHttp object","create","XMLHttpRequest","readyState","load","onreadystatechange","function","ActiveXObject","Your browser does not support XmlHttp objects","createDocument","implementation","","Your browser does not support XmlDocument objects","__defineGetter__","prototype","Node","XMLSerializer","DOMParser","loadXML","text/xml","childNodes","xml","pick"]; function getDomDocumentPrefix(){if(getDomDocumentPrefix[OxOfba2[0x0]]){return getDomDocumentPrefix[OxOfba2[0x0]];} ;var Ox177=[OxOfba2[0x1],OxOfba2[0x2],OxOfba2[0x3],OxOfba2[0x4]];var Ox32;for(var i=0x0;i<Ox177[OxOfba2[0x5]];i++){try{ Ox32= new ActiveXObject(Ox177[i]+OxOfba2[0x6]) ;return getDomDocumentPrefix[OxOfba2[0x0]]=Ox177[i];} catch(ex){} ;} ;throw new Error(OxOfba2[0x7]);} ; function getXmlHttpPrefix(){if(getXmlHttpPrefix[OxOfba2[0x0]]){return getXmlHttpPrefix[OxOfba2[0x0]];} ;var Ox177=[OxOfba2[0x1],OxOfba2[0x2],OxOfba2[0x3],OxOfba2[0x4]];var Ox32;for(var i=0x0;i<Ox177[OxOfba2[0x5]];i++){try{ Ox32= new ActiveXObject(Ox177[i]+OxOfba2[0x8]) ;return getXmlHttpPrefix[OxOfba2[0x0]]=Ox177[i];} catch(ex){} ;} ;throw new Error(OxOfba2[0x9]);} ; function XmlHttp(){} ; XmlHttp[OxOfba2[0xa]]=function (){try{if(window[OxOfba2[0xb]]){var Ox17a= new XMLHttpRequest();if(Ox17a[OxOfba2[0xc]]==null){ Ox17a[OxOfba2[0xc]]=0x1 ; Ox17a.addEventListener(OxOfba2[0xd],function (){ Ox17a[OxOfba2[0xc]]=0x4 ;if( typeof Ox17a[OxOfba2[0xe]]==OxOfba2[0xf]){ Ox17a.onreadystatechange() ;} ;} ,false) ;} ;return Ox17a;} ;if(window[OxOfba2[0x10]]){return new ActiveXObject(getXmlHttpPrefix()+OxOfba2[0x8]);} ;} catch(ex){} ;throw new Error(OxOfba2[0x11]);} ; function XmlDocument(){} ; XmlDocument[OxOfba2[0xa]]=function (){try{if(document[OxOfba2[0x13]]&&document[OxOfba2[0x13]][OxOfba2[0x12]]){var Ox17c=document[OxOfba2[0x13]].createDocument(OxOfba2[0x14],OxOfba2[0x14],null);if(Ox17c[OxOfba2[0xc]]==null){ Ox17c[OxOfba2[0xc]]=0x1 ; Ox17c.addEventListener(OxOfba2[0xd],function (){ Ox17c[OxOfba2[0xc]]=0x4 ;if( typeof Ox17c[OxOfba2[0xe]]==OxOfba2[0xf]){ Ox17c.onreadystatechange() ;} ;} ,false) ;} ;return Ox17c;} ;if(window[OxOfba2[0x10]]){return new ActiveXObject(getDomDocumentPrefix()+OxOfba2[0x6]);} ;} catch(ex){} ;throw new Error(OxOfba2[0x15]);} ;if(window[OxOfba2[0x1a]]&&window[OxOfba2[0x19]]&&window[OxOfba2[0x18]]&&Node[OxOfba2[0x17]]&&Node[OxOfba2[0x17]][OxOfba2[0x16]]){ Document[OxOfba2[0x17]][OxOfba2[0x1b]]=function (Ox2a){var Ox17d=( new DOMParser()).parseFromString(Ox2a,OxOfba2[0x1c]);while(this.hasChildNodes()){ this.removeChild(this.lastChild) ;} ;for(var i=0x0;i<Ox17d[OxOfba2[0x1d]][OxOfba2[0x5]];i++){ this.appendChild(this.importNode(Ox17d[OxOfba2[0x1d]][i],true)) ;} ;} ; Document[OxOfba2[0x17]].__defineGetter__(OxOfba2[0x1e],function (){return ( new XMLSerializer()).serializeToString(this);} ) ;} ;var XmlHttpPoolArr= new Array();var XmlHttpPoolSize=0x64;var XHPCurrentAvailableID=0x0; function XmlHttpPool(){} ; XmlHttpPool[OxOfba2[0x1f]]=function (){var Ox182=XHPCurrentAvailableID; XmlHttpPoolArr[Ox182]=XmlHttp.create() ; XHPCurrentAvailableID>=(XmlHttpPoolSize-0x1)?0x0:XHPCurrentAvailableID++ ;return XmlHttpPoolArr[Ox182];} ;