zk.xml.Utl={loadXML:function(a,c){var b=document.implementation;b&&b.createDocument?(b=b.createDocument("","",null),c&&(b.onload=function(){c(b)})):(b=new ActiveXObject("Microsoft.XMLDOM"),c&&(b.onreadystatechange=function(){4==b.readyState&&c(b)}));c||(b.async=!1);b.load(a);return b},parseXML:function(a){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(a,"text/xml");var c=new ActiveXObject("Microsoft.XMLDOM");c.async=!1;c.loadXML(a);return c},renType:function(a,c){var b=a.lastIndexOf(";");
if(0<=b){var e=a.substring(b);a=a.substring(0,b)}else e="";b=a.lastIndexOf(".");0>b&&(b=a.length);var f=a.lastIndexOf("-"),d=a.lastIndexOf("/"),g=b<=d?"":a.substring(b);a=f<=d?b<=d?a:a.substring(0,b):a.substring(0,f);return a+(c?"-"+c:"")+g+e},getElementValue:function(a){var c="";for(a=a.firstChild;a;a=a.nextSibling)a.data&&(c+=a.data);return c}};
