function xsltProcessDoc(_1,_2){if(typeof XSLTProcessor!="undefined"||zXml.useActiveX){return zXslt.transformToText(_1,_2);}else{return xsltProcess(_1,_2);}};function createXMLDocument(){if(zXml.useDom){return document.implementation.createDocument("","",null);}else{if(zXml.useActiveX){return new ActiveXObject("microsoft.xmldom");}}};var zXml={useActiveX:(typeof ActiveXObject!="undefined"),useDom:document.implementation&&document.implementation.createDocument,useXmlHttp:(typeof XMLHttpRequest!="undefined")};zXml.ARR_XMLHTTP_VERS=["MSXML2.XmlHttp.6.0","MSXML2.XmlHttp.3.0"];zXml.ARR_DOM_VERS=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0"];function zXmlHttp(){};zXmlHttp.createRequest=function(){if(zXml.useXmlHttp){return new XMLHttpRequest();}else{if(zXml.useActiveX){if(!zXml.XMLHTTP_VER){for(var i=0;i<zXml.ARR_XMLHTTP_VERS.length;i++){try{new ActiveXObject(zXml.ARR_XMLHTTP_VERS[i]);zXml.XMLHTTP_VER=zXml.ARR_XMLHTTP_VERS[i];break;}catch(oError){}}}if(zXml.XMLHTTP_VER){return new ActiveXObject(zXml.XMLHTTP_VER);}else{throw new Error("Could not create XML HTTP Request.");}}else{throw new Error("Your browser doesn't support an XML HTTP Request.");}}};zXmlHttp.isSupported=function(){return zXml.useXmlHttp||zXml.useActiveX;};function zXmlDom(){};zXmlDom.createDocument=function(){if(zXml.useDom){var _3=document.implementation.createDocument("","",null);_3.parseError={valueOf:function(){return this.errorCode;},toString:function(){return this.errorCode.toString();}};_3.__initError__();_3.addEventListener("load",function(){this.__checkForErrors__();this.__changeReadyState__(4);},false);return _3;}else{if(zXml.useActiveX){if(!zXml.DOM_VER){for(var i=0;i<zXml.ARR_DOM_VERS.length;i++){try{new ActiveXObject(zXml.ARR_DOM_VERS[i]);zXml.DOM_VER=zXml.ARR_DOM_VERS[i];break;}catch(oError){}}}if(zXml.DOM_VER){return new ActiveXObject(zXml.DOM_VER);}else{throw new Error("Could not create XML DOM document.");}}else{throw new Error("Your browser doesn't support an XML DOM document.");}}};zXmlDom.isSupported=function(){return zXml.useDom||zXml.useActiveX;};var oMozDocument=null;if(typeof XMLDocument!="undefined"){oMozDocument=XMLDocument;}else{if(typeof Document!="undefined"){oMozDocument=Document;}}if(oMozDocument&&!window.opera){oMozDocument.prototype.onreadystatechange=null;oMozDocument.prototype.__changeReadyState__=function(_4){this.readyState=_4;if(typeof this.onreadystatechange=="function"){this.onreadystatechange();}};oMozDocument.prototype.__initError__=function(){this.parseError.errorCode=0;this.parseError.filepos=-1;this.parseError.line=-1;this.parseError.linepos=-1;this.parseError.reason=null;this.parseError.srcText=null;this.parseError.url=null;};oMozDocument.prototype.__checkForErrors__=function(){if(this.documentElement.tagName=="parsererror"){var _5=/>([\s\S]*?)Location:([\s\S]*?)Line Number (\d+), Column (\d+):<sourcetext>([\s\S]*?)(?:\-*\^)/;_5.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(_6){this.__initError__();this.__changeReadyState__(1);var _7=new DOMParser();var _8=_7.parseFromString(_6,"text/xml");while(this.firstChild){this.removeChild(this.firstChild);}for(var i=0;i<_8.childNodes.length;i++){var _9=this.importNode(_8.childNodes[i],true);this.appendChild(_9);}this.__checkForErrors__();this.__changeReadyState__(4);};oMozDocument.prototype.__load__=oMozDocument.prototype.load;oMozDocument.prototype.load=function(_a){this.__initError__();this.__changeReadyState__(1);this.__load__(_a);};Node.prototype.__defineGetter__("xml",function(){var _b=new XMLSerializer();return _b.serializeToString(this,"text/xml");});Node.prototype.__defineGetter__("text",function(){var _c="";for(var i=0;i<this.childNodes.length;i++){if(this.childNodes[i].hasChildNodes()){_c+=this.childNodes[i].text;}else{_c+=this.childNodes[i].nodeValue;}}return _c;});}function zXslt(){};zXslt.transformToText=function(_d,_e){if(typeof XSLTProcessor!="undefined"){var _f=new XSLTProcessor();_f.importStylesheet(_e);var _10=_f.transformToFragment(_d,_e);return _10;if(sResult.indexOf("<transformiix:result")>-1){sResult=sResult.substring(sResult.indexOf(">")+1,sResult.lastIndexOf("<"));}return sResult;}else{if(zXml.useActiveX){return _d.transformNode(_e);}else{return xsltProcess(_d,_e);}}};function zXPath(){};zXPath.selectNodes=function(_11,_12,_13){if(typeof XPathEvaluator!="undefined"){_13=_13||{};var _14=function(_15){return _13[_15];};var _16=new XPathEvaluator();var _17=_16.evaluate(_12,_11,_14,XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);var _18=new Array;if(_17!=null){var _19=_17.iterateNext();while(_19){_18.push(_19);_19=_17.iterateNext();}}return _18;}else{if(zXml.useActiveX){if(_13){var _1a="";for(var _1b in _13){_1a+="xmlns:"+_1b+"='"+_13[_1b]+"' ";}_11.ownerDocument.setProperty("SelectionNamespaces",_1a);}return _11.selectNodes(_12);}else{throw new Error("No XPath engine found.");}}};zXPath.selectSingleNode=function(_1c,_1d,_1e){if(typeof XPathEvaluator!="undefined"){_1e=_1e||{};var _1f=function(_20){return _1e[_20];};var _21=new XPathEvaluator();var _22=_21.evaluate(_1d,_1c,_1f,XPathResult.FIRST_ORDERED_NODE_TYPE,null);if(_22!=null){return _22.singleNodeValue;}else{return null;}}else{if(zXml.useActiveX){if(_1e){var _23="";for(var _24 in _1e){_23+="xmlns:"+_24+"='"+_1e[_24]+"' ";}_1c.ownerDocument.setProperty("SelectionNamespaces",_23);}return _1c.selectSingleNode(_1d);}else{throw new Error("No XPath engine found.");}}};function zXMLSerializer(){};zXMLSerializer.prototype.serializeToString=function(_25){var _26="";switch(_25.nodeType){case 1:_26="<"+_25.tagName;for(var i=0;i<_25.attributes.length;i++){_26+=" "+_25.attributes[i].name+"=\""+_25.attributes[i].value+"\"";}_26+=">";for(var i=0;i<_25.childNodes.length;i++){_26+=this.serializeToString(_25.childNodes[i]);}_26+="</"+_25.tagName+">";break;case 3:_26=_25.nodeValue;break;case 4:_26="<![CDATA["+_25.nodeValue+"]]>";break;case 7:_26="<?"+_25.nodevalue+"?>";break;case 8:_26="<!--"+_25.nodevalue+"-->";break;case 9:for(var i=0;i<_25.childNodes.length;i++){_26+=this.serializeToString(_25.childNodes[i]);}break;}return _26;};
