/*! 29.0.1.0 */ /*! VersionVI: 01A290089j */ function XMLConversionTexteXML(n,t){this.t=n;this.x=t}function XMLInitRechDoc(n){n.Rech=!1;n.DebRech=null;n.AttRech=XMLErreur;n.ValRech=null;n.OptRechNiv=XMLElement+XMLSousElement+XMLNiveauCourant;n.OptRech=XMLExact;n.Dehors=!1;n.XPathRes=null;n.nIndiceSnapshot=0;n.XPathValeur=null}function XMLInitDoc(n,t,i,r){n.Nom=t;n.Doc=i;n.Pos=r?null:i.documentElement;n.Att=XMLErreur;n.Ent=null;n.TabPosition={};n.nIndicePosition=0;XMLInitRechDoc(n)}function clDocumentXML(n,t,i){XMLInitDoc(this,n,t,i)}function pclDocXML(n,t,i){var u=!0,r;for(typeof i=="boolean"&&(u=i),r=0;r",h=t.indexOf(s,e),h==XMLErreur))return!0;if(c=pclDocXML(n),c==null)return!1;c.Ent=t.substring(e,h+s.length)}return!0}function sTexteXMLRemplace(n,t,i){for(var r=0;r0?n.substring(0,r):"")+i+(r+t.length0,r=e+"<"+n.nodeName,i=0,i=0;i0,u||(r+="/"),r+=">",u){for(f=!1,i=0;i"}return r}function XMLConstruitChaine(n,t){var i=pclDocXML(n,!0);return i==null?"":(t&XMLSansEntete?"":(i.Ent!=null?i.Ent:'')+"\n")+sXMLElemVersTxt(t&XMLPositionCourante?i.Pos:i.Doc.documentElement,0)+"\n"}function nXMLDernier(n){return(n!=null?n.length:0)-1}function pXMLDernier(n){return n!=null&&n.length>0?n[nXMLDernier(n)]:null}function XMLPositionneElement(n,t){n.Pos=t;n.Att=XMLErreur}function pXMLParent(n){return n.Att==XMLErreur?n.Pos.parentNode!=null&&n.Pos.parentNode.nodeType==XMLBalise?n.Pos.parentNode:null:n.Pos}function nXMLIndiceAttribut(n,t,i){if(n.attributes==null)return XMLErreur;for(var r=t;i?r=0;i?r++:r--)if(!bXMLAttributNS(n.attributes[r]))return r;return XMLErreur}function nXMLDernierAttribut(n){return n!=null?nXMLIndiceAttribut(n,nXMLDernier(n.attributes),!1):XMLErreur}function bXMLDernierFils(n,t){for(var i=t!=null?pXMLDernier(t.childNodes):null;i!=null;)if(bNoeudTexte(i)){i=i.previousSibling;continue}else return XMLPositionneElement(n,i),!0;return(n.Att=nXMLDernierAttribut(t))>=0}function XMLDernier(n){var t=pclDocXML(n,!0);return t==null?!1:t.XPathRes!=null?__bXMLDernierXPath(t):(bXMLDernierFils(t,pXMLParent(t)),XMLInitRechDoc(t),!0)}function pXMLCourant(n,t,i){if(n.Att!=XMLErreur)return t==null?n.Pos.attributes[n.Att]:null;if(t==null)return n.Pos;var r=nXMLAttribut(n.Pos,t,i);return r!=XMLErreur?n.Pos.attributes[r]:null}function XMLDonnee(n,t,i){var f=pclDocXML(n,!0);if(f==null)return"";for(var u=pXMLCourant(f,t,i),e=f.Att!=XMLErreur||t!=null,r=u!=null&&(e||bNoeudTexte(u.firstChild))?e?u:u.firstChild:null,o="";r!=null;)r.nodeValue!=null&&(o+=r.nodeValue),r=e?null:r.nextSibling;return o}function XMLEnDehors(n){var t=pclDocXML(n,!0);return t==null?!0:t.Dehors}function bXMLPosElemFils(n,t){var r,i;if(t==null)return!1;for(r=!1,i=0;!r&&i0&&(f=!0),r&1&&u.nodeType===XMLBalise&&(f=!0),f)}function bXMLModifie(n,t){var e=String(n),o=String(t),u=pclDocXML(e,!0),i,f,r;return u==null?!1:(i=pXMLCourant(u),i==null)?!1:(f=u.Att!=XMLErreur,r=null,i!=null&&(f||bNoeudTexte(i.firstChild))&&(r=f?i:i.firstChild),r==null)?!1:(r.nodeValue=o,r.nextSibling=null,!0)}function __XMLExecuteXPath(n,t,i){var r=String(t).split("//").join("##");r=r.split("/").join("//");r=r.split("##").join("//");var u=parseInt(String(i),10),f=n.Doc.createNSResolver(n.Doc.ownerDocument==null?n.Doc.documentElement:n.Doc.ownerDocument.documentElement);return n.Doc.evaluate(r,n.Doc,f,u,null)}function XMLLit(n,t,i){var u="",f,r;return(typeof i=="string"&&(u=i),f=pclDocXML(String(n),!0),f==null)?u:(r=__XMLExecuteXPath(f,t,XPathResult.FIRST_ORDERED_NODE_TYPE),r.resultType===XPathResult.FIRST_ORDERED_NODE_TYPE&&r.singleNodeValue!=null)?r.singleNodeValue.childNodes[0]===undefined?String(r.singleNodeValue.value):String(r.singleNodeValue.childNodes[0].nodeValue):u}function bXMLEcrit(n,t,i){var f=pclDocXML(String(n),!0),u,r;return f==null?!1:(u="",typeof i=="string"&&(u=i),r=__XMLExecuteXPath(f,t,XPathResult.FIRST_ORDERED_NODE_TYPE),r.resultType===XPathResult.FIRST_ORDERED_NODE_TYPE&&r.singleNodeValue!=null)?(r.singleNodeValue.childNodes[0]===undefined&&(r.singleNodeValue.value=u),r.singleNodeValue.childNodes[0].nodeValue=u,!0):!1}function __oGetNoeudCourant(n){var r=String(n),i=pclDocXML(r,!0),t;return i==null?null:(t=pXMLCourant(i),t==null)?null:t}function bXMLRenomme(n,t){var i=__oGetNoeudCourant(n),r;return i==null?!1:(r=String(t),i.nodeType==COMMENT_NODE&&bXMLChaineCompare(i.nodeName,XMLDebutComment,XMLIgnoreLaCasse+XMLCommencePar)&&(i.nodeName=XMLDebutComment+r),i.nodeName=r,!0)}function sXMLNamespace(n){var t=__oGetNoeudCourant(n),i,r;return t==null||t.nodeType!==XMLBalise?"":(i="",i=t.firstElementChild!=null?t.firstElementChild.nodeName:t.nodeName,r=i.indexOf(":"),r!=-1)?i.substring(0,r):""}function sXMLNamespaceURI(n){var t=__oGetNoeudCourant(n),i;return t==null||t.nodeType!==XMLBalise?"":(i="",i=t.firstElementChild!=null?t.firstElementChild.namespaceURI:t.namespaceURI,i===null?"":i)}function bXMLExecuteXPath(n,t){var i=pclDocXML(String(n),!0),u,r;if(i==null)return!1;if(XMLInitRechDoc(i),u=String(t),u.charAt(0)=="/"){if(r=__XMLExecuteXPath(i,u,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE),r.resultType===XPathResult.ORDERED_NODE_SNAPSHOT_TYPE&&r.snapshotLength>0)return i.Pos=r.snapshotItem(0),i.Att=XMLErreur,i.Dehors=!1,i.XPathRes=r,!0}else{i.Dehors=!0;r=__XMLExecuteXPath(i,u,XPathResult.ANY_TYPE);switch(r.resultType){case XPathResult.BOOLEAN_TYPE:return i.XPathValeur=new Boolean(r.booleanValue),!0;case XPathResult.NUMBER_TYPE:return i.XPathValeur=new Number(r.numberValue),!0;case XPathResult.STRING_TYPE:return i.XPathValeur=new String(r.stringValue),!0}}return!1}function __bXMLPositionneXPathSnapshot(n){return n.nIndiceSnapshot<0||n.nIndiceSnapshot>=n.XPathRes.snapshotLength?(n.Dehors=!0,!1):(n.Pos=n.XPathRes.snapshotItem(n.nIndiceSnapshot),n.Dehors=!1,!0)}function __bXMLSuivantXPath(n){return n==null||n.XPathRes==null?!1:(n.nIndiceSnapshot++,__bXMLPositionneXPathSnapshot(n))}function __bXMLPrecedentXPath(n){return n.nIndiceSnapshot--,__bXMLPositionneXPathSnapshot(n)}function __bXMLPremierXPath(n){return n.nIndiceSnapshot=0,__bXMLPositionneXPathSnapshot(n)}function __bXMLDernierXPath(n){return n.nIndiceSnapshot=n.XPathRes.snapshotLength-1,__bXMLPositionneXPathSnapshot(n)}function XMLResultat(n){var t=pclDocXML(String(n),!0);return t==null?"":t.XPathValeur==null?"":t.XPathValeur}function nXMLSauvePosition(n){var t=pclDocXML(String(n),!0),i;return t==null?XMLErreur:(i={},i.Pos=t.Pos,i.Rech=t.Rech,i.DebRech=t.DebRech,i.AttRech=t.AttRech,i.ValRech=t.ValRech,i.OptRechNiv=t.OptRechNiv,i.OptRech=t.OptRech,i.Dehors=t.Dehors,i.Att=t.Att,i.Ent=t.Ent,i.XPathRes=t.XPathRes,i.nIndiceSnapshot=t.nIndiceSnapshot,i.XPathValeur=t.XPathValeur,t.nIndicePosition++,t.TabPosition[t.nIndicePosition]=i,t.nIndicePosition)}function bXMLRetourPosition(n,t,i){var r=pclDocXML(String(n),!0),f,e,u;return r==null?!1:(f=parseInt(String(t),10),e=parseInt(String(i),10),r.TabPosition[f]===undefined||r.TabPosition[f]==null)?!1:(u=r.TabPosition[f],XMLInitRechDoc(r),r.Pos=u.Pos,r.Att=u.Att,r.Ent=u.Ent,e&8&&(r.Rech=u.Rech,r.DebRech=u.DebRech,r.AttRech=u.AttRech,r.ValRech=u.ValRech,r.OptRechNiv=u.OptRechNiv,r.OptRech=u.OptRech,r.Dehors=u.Dehors,r.XPathRes=u.XPathRes,r.nIndiceSnapshot=u.nIndiceSnapshot,r.XPathValeur=u.XPathValeur),(e&2)==0&&e&4&&(r.TabPosition[f]=null),!0)}function __getXPathForElement(n,t){for(var i="",u,r;n!==t;){if(n.nodeType===XMLAttribut)i="/@"+n.nodeName;else if(n.attributes.length===0)i=n.nodeName+"/"+i;else{for(u=0,r=n;r;)r.nodeType===1&&r.nodeName===n.nodeName&&(u+=1),r=r.previousSibling;i=u>1?n.nodeName+"["+u+"]/"+i:n.nodeName+"/"+i}n=n.parentNode}return i="/"+i,i.replace(/\/$/,"")}function sXMLPosition(n){var r=String(n),t=pclDocXML(r,!0),i;return t==null?"":(i=pXMLCourant(t),i==null)?"":__getXPathForElement(i,t.Doc)}function __bInsereNoeudAvant(n,t){var r=t.cloneNode(),i=n.parentNode;return i==null?!1:(i.insertBefore(t,r),!0)}function __bInsereNoeudAvant(n,t){var i=n.parentNode;return i==null?!1:(i.insertBefore(t,t),!0)}function __bInsereNoeudApres(n,t){var i=n.parentNode;return i==null?!1:(i.insertBefore(t,t.nextSibling),!0)}function __bInsereNoeudFils(n,t){return n.appendChild(t),!0}function __bInsereNoeud(n,t,i){t.nodeType===Node.DOCUMENT_NODE&&(t=t.firstChild);switch(i){case snXMLSousElement:return __bInsereNoeudFils(n,t);case snXMLAvant:return __bInsereNoeudAvant(n,t);case snXMLApres:return __bInsereNoeudApres(n,t)}return!1}function bXMLInsereDocument(n,t,i){var f=pclDocXML(String(t),!0),r,u,e;return f==null?!1:(r=pclDocXML(String(n),!0),r==null)?!1:r.Pos==null?!1:(u=snXMLApres,typeof i=="number"&&(u=i),e=f.Doc.cloneNode(!0),__bInsereNoeud(r.Pos,e,u))}function bXMLInsereElement(n,t,i,r,u){var h=String(t),o="",c,s,f,l,e,a;if((typeof i=="string"&&(o=TexteVersXML(XMLVersTexte(i))),c=snXMLSousElement,typeof r=="number"&&(c=r),s=!1,typeof u=="boolean"&&(s=u),f=pclDocXML(String(n),!0),f==null)||f.Pos==null)return!1;if(f.Pos.nodeType===XMLAttribut)f.Pos.setAttribute(h,o),s&&(l=f.Pos.getAttributeNode(h),l!=null&&(f.Pos=l));else{if((e=f.Doc.createElement(h),e==null)||(bXMLChaineVide(o)||(a=f.Doc.createTextNode(o),a!==null&&e.appendChild(a)),!__bInsereNoeud(f.Pos,e,c)))return!1;s&&(f.Pos=e,f.Att=XMLErreur)}return!0}function bXMLSupprime(n){var t=pclDocXML(String(n),!0),r,i;return t==null?!1:t.Pos==null?!1:(XMLInitRechDoc(t),r=t.Pos,i=r.parentNode,i!=null&&i===t.Doc?XMLPositionneElement(t,null):XMLPositionneElement(t,i),t.Att!=XMLErreur?t.Pos.removeAttributeNode(t.Pos.attributes[t.Att]):r.remove(),!0)}var TEXT_NODE=3,CDATA_NODE=4,PROCESSING_INSTRUCTION_NODE=7,COMMENT_NODE=8,XMLErreur=-1,xHTML=1,XMLBalise=1,XMLAttribut=2,XMLElement=XMLBalise+XMLAttribut,XMLValeur=4,XMLSousElement=16,XMLNiveauCourant=32,XMLContinue=64,XMLExact=1,XMLCommencePar=2,XMLContient=4,XMLIgnoreLaCasse=16,XMLAvecNamespace=32,XMLEncodageAucun=1,XMLEncodageUTF8=2,XMLEncodageUTF16=3,XMLEncodageIso8859_1=6,XMLEncodageIso8859_2=7,XMLEncodageIso8859_3=8,XMLEncodageIso8859_4=9,XMLEncodageIso8859_5=10,XMLEncodageIso8859_6=11,XMLEncodageIso8859_7=12,XMLEncodageIso8859_8=13,XMLEncodageIso8859_9=14,XMLDocumentDefaut=0,XMLPositionCourante=1,XMLSansEntete=2,XMLDebutNS="xmlns",XMLDebutComment="#",gTabDocXML=[],gTabConvTexteXML=[];gTabConvTexteXML[gTabConvTexteXML.length]=new XMLConversionTexteXML("&","amp");gTabConvTexteXML[gTabConvTexteXML.length]=new XMLConversionTexteXML("'","apos");gTabConvTexteXML[gTabConvTexteXML.length]=new XMLConversionTexteXML(">","gt");gTabConvTexteXML[gTabConvTexteXML.length]=new XMLConversionTexteXML("<","lt");gTabConvTexteXML[gTabConvTexteXML.length]=new XMLConversionTexteXML('"',"quot");var snXMLAvant=1,snXMLApres=2,snXMLSousElement=16