/*! 29.0.2.0 */ /*! VersionVI: 01A290089j */ function WDAJAXRequete(n,t,i,r){this.m_nId=n;this.m_clRequete=t;this.m_bPost=i;this.m_bSynchrone=r;this.m_bValide=!0;this.m_bJSONExterne=!1}function _JAEE(n,t,i,r,u,f){clWDAJAXMain.AJAXExecuteEvenement(n,t,i,r,u,f)}function _JAZR(n,t){clWDAJAXMain.SetZRChamp(n,t)}function _JAZREDE(n,t,i,r){clWDAJAXMain.SetZRChampEnrouleDeroule(n,t,i,r)}WDAJAXRequete.prototype.sHeaderErreur="WebDevError";WDAJAXRequete.prototype.sHeaderRedirPHP="WebDevRedirPHP";WDAJAXRequete.prototype.sHeaderXML="WebDevXMLDoc";WDAJAXRequete.prototype.OnReadyState=function(n){var i;if(this.m_clRequete&&XMLHttpRequest.DONE===this.m_clRequete.readyState){if(i=!1,this.bValideResultat())if(this.m_oObjetRequeteTable)switch(clWDAJAXMain.eReponseGenerique(this,n,this.m_oObjetRequeteTable,[])){case 0:i=!1;break;case 1:case 2:i=!0}else if(this.m_fCallback){var t=this.m_fCallback,r=this.sGetResultat(n),u=t.nNbParametres,f=undefined!==u?u:t.length;switch(f){case 0:t();break;case 1:t(r);break;default:t(r,this.m_nId)}}this.m_oObjetRequeteTable&&this.m_oObjetRequeteTable.SupprimeRequete(!i);this.Libere()}};WDAJAXRequete.prototype.__bHeaderHTTPExiste=function(n){try{var t=this.m_clRequete.getResponseHeader(n);return t&&t.length>0}catch(i){return!1}};WDAJAXRequete.prototype.bRedirectionPHP=function(){return this.__bHeaderHTTPExiste(this.sHeaderRedirPHP)};WDAJAXRequete.prototype.bErreurServeur=function(){return this.__bHeaderHTTPExiste(this.sHeaderErreur)};WDAJAXRequete.prototype.xEnvoi=function(n,t){!this.m_bPost&&n.length>0&&(t+=(t.indexOf("?")==-1?"?":"&")+n);this.m_bValide=!1;try{this.m_clRequete.open(this.m_bPost?"POST":"GET",t,!this.m_bSynchrone);this.m_clRequete.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this.m_clRequete.send(this.m_bPost?n:"")}catch(i){throw new WDErreur(500,i.message);}if(bIE&&XMLHttpRequest.DONE===this.m_clRequete.readyState&&1e40)return XMLAjoutDoc(t,this.m_clRequete.responseXML),t}catch(u){}return i}return""};WDAJAXRequete.prototype.Init=function(n){if(!this.m_bSynchrone){this.m_oObjetRequeteTable=n;var t=this;this.m_clRequete.onreadystatechange=function(){t.OnReadyState(window._PAGE_)}}};WDAJAXRequete.prototype.bEnCours=function(){return!!this.m_fCallback};WDAJAXRequete.prototype.Annule=function(){delete this.m_fCallback;this.m_clRequete.onreadystatechange=clWDUtil.m_pfVide;this.Libere()};WDAJAXRequete.prototype.Libere=function(){clWDAJAXMain.SupprimeWDAJAXRequete(this.m_nId);this.m_oObjetRequeteTable=null;delete this.m_oObjetRequeteTable;this.m_clRequete&&(delete this.m_clRequete.onreadystatechange,bFF&&this.m_clRequete.readyState"),XML_JS:"JS",XML_REDIR:"REDIR",XML_CHAMP:"CHAMP",XML_LISTE:"LISTE",XML_RESULTAT:"RESULTAT",XML_RESULTAT_FORMAT:"FORMAT",XML_TRACE:"TRACE",XML_TRACE_ID:"WDAJAX_TRACE",XML_LIENSOCIAL:"LIENSOCIAL",XML_LIENSOCIAL_FACEBOOK:1,XML_LIENSOCIAL_TWEETER:2,XML_LIENSOCIAL_LINKEDIN:8,XML_VARSYNC:"VARSYNC",XML_GALERIESIDS:"GALERIESIDS",XML_CHAMP_ATT_ALIAS:"ALIAS",XML_CHAMP_ATT_TYPE:"TYPE",XML_CHAMP_TYPE_PAGEPRINCIPALE:1,XML_CHAMP_TYPE_SELECTEUR:6,XML_CHAMP_TYPE_LISTE:7,XML_CHAMP_TYPE_TABLE:9,XML_CHAMP_TYPE_CHAMPFORMATE:10,XML_CHAMP_TYPE_ZONEREPETEE:11,XML_CHAMP_TYPE_HTML:12,XML_CHAMP_TYPE_LIEN:16,XML_CHAMP_TYPE_LIBELLEHTML:17,XML_CHAMP_TYPE_WEBCAM:20,XML_CHAMP_TYPE_REGLETTE:21,XML_CHAMP_TYPE_MAPAREA:22,XML_CHAMP_TYPE_CHEMINNAV:23,XML_CHAMP_TYPE_TREEVIEW:25,XML_CHAMP_TYPE_VIGNETTE:26,XML_CHAMP_TYPE_IFRAME:27,XML_CHAMP_TYPE_IFRAME_DEST:31,XML_CHAMP_TYPE_IFRAME_SOURCE:32,XML_CHAMP_TYPE_GRAPHE:33,XML_CHAMP_TYPE_TIROIR:34,XML_CHAMP_TYPE_TABLEHIERARCHIQUE:35,XML_CHAMP_TYPE_SUPERCHAMP:40,XML_CHAMP_TYPE_MODELEDECHAMP_SOURCE:42,XML_CHAMP_TYPE_MODELEDECHAMP_DEST:43,XML_CHAMP_TYPE_ONGLET:44,XML_CHAMP_TYPE_PLANSITE:45,XML_CHAMP_TYPE_CALENDRIER:47,XML_CHAMP_TYPE_VOLETONGLET:49,XML_CHAMP_TYPE_SOUSMENU:55,XML_CHAMP_TYPE_COLONNETABLE:56,XML_CHAMP_TYPE_OPTIONMENU:57,XML_CHAMP_TYPE_COLONNETABLEH:68,XML_CHAMP_TYPE_RANGESLIDER:72,XML_CHAMP_TYPE_AGENDA:76,XML_CHAMP_TYPE_ZONEREPETEEHORIZONTALE:77,XML_CHAMP_TYPE_VIDEO:78,XML_CHAMP_TYPE_PAGECORNEE:79,XML_CHAMP_TYPE_PLANNING:80,XML_CHAMP_TYPE_CAPTCHA:82,XML_CHAMP_TYPE_JAUGE:83,XML_CHAMP_TYPE_CELLULEMISEENPAGE:84,XML_CHAMP_TYPE_RATING:85,XML_CHAMP_TYPE_POPUP:90,XML_CHAMP_TYPE_CARTE:92,XML_CHAMP_TYPE_POTENTIOMETRE:100,XML_CHAMP_TYPE_TCD:102,XML_CHAMP_TYPE_LIENSOCIAL:103,XML_CHAMP_TYPE_MENUPOPUP:105,XML_CHAMP_TYPE_ZONETEXTE:109,XML_CHAMP_TYPE_TABLEAUDEBORD:111,XML_CHAMP_TYPE_BARRENAVIGATION_CELL:115,XML_CHAMP_TYPE_BARRENAVIGATION:117,XML_CHAMP_TYPE_BANDEAU_DEFILANT:122,XML_CHAMP_TYPE_EDITEUR_IMAGE:124,XML_CHAMP_TYPE_DISPOSITION_CELLULE:127,XML_CHAMP_TYPE_EDITEUR_DIAGRAMME:130,XML_CHAMP_TYPE_CELLULE_FLEXBOX:139,XML_CHAMP_TYPE_CHAMPKANBAN:140,XML_CHAMP_ETAT_ETAT:"ETAT",XML_CHAMP_JS:"JS",XML_CHAMP_LIGNES:"LIGNES",XML_CHAMP_LIGNES_COLONNES:"COLONNES",XML_CHAMP_LIGNES_DATA:"DATA",XML_CHAMP_LIGNES_DEBUT:"DEBUT",XML_CHAMP_LIGNES_LIGNE:"LIGNE",XML_CHAMP_LIGNES_LIGNE_CORPS:"CORPS",XML_CHAMP_LIGNES_LIGNE_DEBUT:"DEBUT",XML_CHAMP_LIGNES_LIGNE_FIN:"FIN",XML_CHAMP_LIGNES_LIGNE_INDICE:"INDICE",XML_CHAMP_LIGNES_LIGNE_INVISIBLE:"INVISIBLE",XML_CHAMP_LIGNES_LIGNE_REPLIEE:"REPLIEE",XML_CHAMP_LIGNES_LIGNE_STYLE:"STYLE",XML_CHAMP_LIGNES_NBREPLIEES:"NBREPLIEES",XML_CHAMP_LIGNES_NOMBRE:"NOMBRE",XML_CHAMP_LIGNES_RUPTURES:"RUPTURES",XML_CHAMP_LIGNES_SELECTION:"SELECTION",XML_CHAMP_LIGNES_STYLE:"STYLE",XML_CHAMP_OPTIONS:"OPTIONS",XML_CHAMP_OPTIONS_OPTION:"OPTION",XML_CHAMP_OPTIONS_OPTION_COCHE:"COCHE",XML_CHAMP_OPTIONS_OPTION_HTML:"HTML",XML_CHAMP_PROP:"PROP",XML_CHAMP_PROP_ATT_NUM:"NUM",XML_CHAMP_PROP_NUM_LIBELLE_TABLE_AJAX:"TABLE_AJAX",XML_CHAMP_PROP_NUM_VISIBLE_PARENTRELATIF:"PARENTRELATIF",XML_CHAMP_PROP_NUM_VISIBLE_PARENTFLUX:"PARENTFLUX",XML_CHAMP_RECHARGE:"RECHARGE",XML_CHAMP_RECHARGE_PARAM:"PARAM",XML_CHAMP_REFRESH:"REFRESH",XML_CHAMP_REFRESH_DATA:"DATA",XML_CHAMP_REFRESH_DEBUT:"DEBUT",XML_CHAMP_REFRESH_NOMBRE:"NOMBRE",XML_CHAMP_REFRESH_RESETTABLE:"RESETTABLE",XML_CHAMP_REFRESH_TRI:"TRI",XML_CHAMP_REFRESH_SENS:"SENS",XML_CHAMP_SAISIEA:"SAISIEA",XML_CHAMP_SAISIEA_FILTRE:"FILTRE",XML_CHAMP_SAISIEA_OUVERTUREAUTO:"OUVERTUREAUTO",XML_CHAMP_SAISIEA_TAILLEMIN:"TAILLEMIN",XML_CHAMP_SAISIEA_DELAI:"DELAI",XML_CHAMP_SAISIEA_SANSCASSE:"SANSCASSE",XML_CHAMP_SAISIEA_OPTION:"OPTION",XML_CHAMP_SAISIEA_SANSOPTION:"SANSOPTION",XML_CHAMP_SAISIEAJETON:"SAISIEAJETON",XML_CHAMP_SAISIEMASQUE:"SAISIEMASQUE",XML_CHAMP_SATURATION:"SATURATION",XML_CHAMP_TREEVIEW:"TREEVIEW",XML_CHAMP_TREEVIEW_DEROULE:"DEROULE",XML_CHAMP_TREEVIEW_DEROULETAB:"DEROULETAB",XML_CHAMP_TREEVIEW_NOEUDS:"NOEUDS",XML_CHAMP_TREEVIEW_SELECT:"SELECT",XML_WBTRACE_ID:"WB_TRACE",bWDAJAXMainValide:function(){if(!this.m_bChargementTermine){if(document.readyState&&document.readyState!="interactive"&&document.readyState!="complete")return!1;if(this.m_bChargementTermine=!0,bFF){var n=new RegExp("Fire[Ff]ox/\\s*(\\d+)\\.*(\\d+)").exec(navigator.userAgent);(!n||!n[1]||parseInt(n[1],10)<27)&&clWDUtil.AttacheDetacheEvent(!0,window,"beforeunload",this.s_BloqueAJAX,!0)}}return h},s_BloqueAJAX:function(){for(t=null,r=!1,h=!1;0=7&&r.close()):(r=document,clWDUtil.nSetTimeout(function(){r.write(u);i&&(r.charset=i);r.close()},clWDUtil.ms_oTimeoutImmediat)),!1)},__eReponseGenerique:function(n,t,i,r,u,f,e){return this.bValideEtTraiteErreur(n,r,f)?this.eActionXML(t,i,u,e):1},sConstruitValeurChampNom:function(n,t,r){var u={},e=this.__oChercheChamp(n,t),f;return e&&i(e,u),r&&(f=n.WD_JSON_PROPRIETE_,f&&i(f,u)),this.sConstruitValeursChamps(u)},sConstruitValeursChamps:function(n){var t=[];return clWDUtil.bForEachIn(n,function(n,i){function r(i){return t.push(encodeURIComponent(n)+"="+encodeURIComponent(i)),!0}return i instanceof Array?clWDUtil.bForEach(i,r):r(i),!0}),t.join("&")},sConstruitValeurChamp:function(n){return this.sConstruitValeursChamps(i(n,{}))},sConstruitValeurPage:function(n,t){var i=[];return o(n,function(n){for(var t=clWDAJAXMain.sConstruitValeurChamp(n);"&"===t.charAt(t.length-1);)t=t.substr(0,t.length-1);t.length&&i.push(t)},t),i.join("&")},oCompleteValeurPage:function(n,t,r){return o(n,function(n){i(n,t)},r),t},sConstruitURL:function(n){return n},sConstuitRequeteTable:function(n){var t=this.sCommandeAjax_Execute;return n.length>0&&(t+="&"+n),t},sConstuitURLRequeteJauge:function(n){var i=this.sConstruitURL(clWDUtil.sGetPageAction()),t=i.split("?");return t[0]+="/JAUGE/"+document.forms[0].name+"."+n,t.join("?")},SetZRChamp:function(n,t){if(this.m_sZRChamp){f=!0;return}this._SetZRChamp(n,t)},SetZRChampEnrouleDeroule:function(n,t,i,r){this.m_sZRChamp||this.m_nRupture||(this._SetZRChamp(t,""+i),this.m_nRupture=r,this.AJAXExecuteEvenement(n,t,"ENDETABLE",10,undefined))},_SetZRChamp:function(n,t){this.m_sZRChamp=n;this.m_sZRChampValeur=t},sConstuitRequeteEvenement:function(n,t,i,r,u){var f=[],e="",l=t,o,h,s,c;undefined!==t&&t.length&&00&&f.push(e),delete this.m_sZRChamp,delete this.m_sZRChampValeur,delete this.m_nRupture,typeof FinSubmitAJAX=="function"&&FinSubmitAJAX(),f.join("&")},AJAXDisponible:function(){return this.m_bAJAXDisponible===undefined&&(this.m_bAJAXDisponible=!!new XMLHttpRequest),this.m_bAJAXDisponible},sXMLGetValeur:function(n){var t,u,i,f,r;if(n){if(u=n.childNodes,i=u.length,i==1)return t=u[0].nodeValue,t||"";if(i>1){for(f=new Array(i),r=0;r0&&(r=parseInt(u,10),!isNaN(r))?r:i},__sTrim:function(n,t,i){for(var e=new String(n),r,u=0,f;uu;){if(r=e.charAt(f-1),t&&r==" "){f--;continue}if(i&&r=="\t"){f++;continue}if(t&&(r=="\r"||r=="\n")){f++;continue}break}return e.substring(u,f)},sSupprimeEspacements:function(n){return n.replace(k,"").replace(g," ")},__oChercheChamp:function(n,t,i,r,u,f){var o,e;switch(i){case this.XML_CHAMP_TYPE_PAGEPRINCIPALE:return document.body;case this.XML_CHAMP_TYPE_WEBCAM:case this.XML_CHAMP_TYPE_IFRAME:if(o=this.__oChercheChampInterne(n,n.name+"_"+t,i,r,u,f),o)return o;if(!r&&!u&&(e=document.querySelectorAll("iframe[name$='_"+t+"']"),e&&1===e.length))return e[0]}return this.__oChercheChampInterne(n,t,i,r,u,f)},__oChercheChampInterne:function(n,t,i,r,u,f){var e;if(r){switch(i){case this.XML_CHAMP_TYPE_TABLE:case this.XML_CHAMP_TYPE_ZONEREPETEE:case this.XML_CHAMP_TYPE_TABLEHIERARCHIQUE:e=this.__oGetConteneurParent(t,i,!1,f||u);break;case WDChamp.prototype.ms_nIDObjetInterrupteur:t.substr(t.length-2,2)=="[]"&&(e=_JGE(t.substr(0,t.length-2),document,r));break;case this.XML_CHAMP_TYPE_CALENDRIER:u||(e=_JGE(t,document,!1,!0))}e||(e=_JGE(t,document,r))}else switch(i){case this.XML_CHAMP_TYPE_IFRAME_DEST:case this.XML_CHAMP_TYPE_IFRAME_SOURCE:case WDChamp.prototype.ms_nIDObjetCellule:case this.XML_CHAMP_TYPE_SUPERCHAMP:case this.XML_CHAMP_TYPE_MODELEDECHAMP_SOURCE:case this.XML_CHAMP_TYPE_MODELEDECHAMP_DEST:case this.XML_CHAMP_TYPE_CELLULEMISEENPAGE:case this.XML_CHAMP_TYPE_CELLULE_FLEXBOX:if(bIEQuirks)break;case WDChamp.prototype.ms_nIDObjetLibelle:case this.XML_CHAMP_TYPE_CHAMPFORMATE:case this.XML_CHAMP_TYPE_LIBELLEHTML:case this.XML_CHAMP_TYPE_ZONETEXTE:case this.XML_CHAMP_TYPE_REGLETTE:case this.XML_CHAMP_TYPE_CHEMINNAV:case this.XML_CHAMP_TYPE_PLANSITE:case this.XML_CHAMP_TYPE_SOUSMENU:case this.XML_CHAMP_TYPE_OPTIONMENU:case this.XML_CHAMP_TYPE_MENUPOPUP:e=_JGE(t,document,!1);break;case this.XML_CHAMP_TYPE_TREEVIEW:e=_JGE(t+"_",document,!1);break;case this.XML_CHAMP_TYPE_LIEN:case WDChamp.prototype.ms_nIDObjetBouton:case this.XML_CHAMP_TYPE_VOLETONGLET:case this.XML_CHAMP_TYPE_PAGECORNEE:case WDChamp.prototype.ms_nIDObjetImage:case this.XML_CHAMP_TYPE_MAPAREA:e=document.getElementById(t);clWDUtil.bBaliseEstTag(e,"i")&&(e=e.children[0])}if(e||(e=n[t]),!e&&(e=document.getElementsByName(t),e))switch(i){case this.XML_CHAMP_TYPE_SELECTEUR:break;default:e=e[0]}return e},__oGetConteneurParent:function(n,t,i,r){var f=t===this.XML_CHAMP_TYPE_ZONEREPETEEHORIZONTALE&&i,e=f?n+"_POS":"con-"+n,u;return r&&(u=document.getElementById("dww"+e)||document.getElementById("dww"+n)),u||(u=document.getElementById(e),f&&(u=u.getElementsByTagName("table")[0])),u||(u=document.getElementById("ctz"+n)),u},__oGetConteneurTBODY:function(n,t){var u=n,i,r,f;if(u&&clWDUtil.bBaliseEstTag(u,"table"))for(r=u.childNodes,f=r.length,i=0;i0;)n.appendChild(r[0])},__InsereRemplaceTrTdDansTable:function(n,t,i,r){var f,e,u;t=i?t+"<\/tr>":""+t;f=clWDUtil.oCreateContextualFragmentSelonElement(n,t).childNodes;f.length>1&&(i?n.parentNode.insertBefore(f[0],n):n.parentNode.insertBefore(f[1],n.nextSibling));r?n.replaceChild(f[0].firstChild,r):i?n.parentNode.insertBefore(f[0],n):(e=n.previousSibling,u=f[0],clWDUtil.bBaliseEstTag(e,"tr")&&clWDUtil.bBaliseEstTag(u,"tr")?Array.prototype.forEach.call(u.children,function(n){e.appendChild(n)}):e.appendChild(u))},__bHTMLDebutTR:function(n){var t=n.substr(0,4).toLowerCase();return""===t||""===t||"0&&(c=o.indexOf(";"),a=oGetObjetChamp(o.substring(0,c)),n=a.oGetIDElement(clWDTableDefs.ID_TITRE,parseInt(o.substring(c+1),10)));n||(n=document.getElementById("tt"+r),n||(n=_JGE(r,document,!1,!0)));break;case this.XML_CHAMP_TYPE_VOLETONGLET:n&&(l=n.getElementsByTagName("a"),l.length&&(n=l[0]));break;case this.XML_CHAMP_TYPE_SOUSMENU:case this.XML_CHAMP_TYPE_OPTIONMENU:case this.XML_CHAMP_TYPE_MENUPOPUP:break;default:n=document.getElementById("lz"+r)}n&&(n.innerHTML=clWDUtil.sEncodeInnerHTML(f,!u,u))},ActionProprieteNote:function(n,t,i,r){!this.__bActionProprieteV2(t,r,39,this.sXMLGetValeur(i),undefined)},ActionProprieteTitreNote:function(n,t,i,r){!this.__bActionProprieteV2(t,r,40,this.sXMLGetValeur(i),undefined)},ActionProprieteHauteur:function(n,t,i,r,u){this.__ActionProprieteLargeurHauteur(n,t,i,r,u,"height",WDChamp.prototype.XML_CHAMP_PROP_NUM_HAUTEUR)},ActionProprieteLargeur:function(n,t,i,r,u){this.__ActionProprieteLargeurHauteur(n,t,i,r,u,"width",WDChamp.prototype.XML_CHAMP_PROP_NUM_LARGEUR)},__ActionProprieteLargeurHauteur:function(n,t,i,r,u,f,e){var s,o,h;if(n&&(s=this.nXMLGetValeur(r),s>=0)){o=s+"px";switch(i){case this.XML_CHAMP_TYPE_TIROIR:break;case this.XML_CHAMP_TYPE_JAUGE:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[e,null,s,null,null]);n=_JGE(u,document,!0);n.getElementsByTagName("td")[0][f]=s;this.ActionProprieteStyleGenerique(n,t,i,u,f,o,!1);break;case WDChamp.prototype.ms_nIDObjetCellule:case this.XML_CHAMP_TYPE_SUPERCHAMP:case this.XML_CHAMP_TYPE_MODELEDECHAMP_DEST:for(h=n.getElementsByTagName("td")[0],""!=h.style[f]?h.style[f]=o:h[f]=s,this.ActionProprieteStyleGenerique(n,t,i,u,f,o,!1),n=n.parentNode;n&&n!=document.body;)switch(clWDUtil.sGetTagName(n)){case"table":n[f]=s;default:n=n.parentNode;break;case"div":this.ActionProprieteStyleGenerique(n,t,i,u,f,o,!1);n=null}break;case WDChamp.prototype.ms_nIDObjetInterrupteur:case this.XML_CHAMP_TYPE_SELECTEUR:this.ActionProprieteStyleGenerique(t,null,i,u,f,o,!1);break;case this.XML_CHAMP_TYPE_ONGLET:this.ActionProprieteStyleGenerique(t,null,i,u,f,o,!1);this.ActionProprieteStyleGenerique(document.getElementById("con-"+u),null,i,f,o,!1);break;case WDChamp.prototype.ms_nIDObjetLibelle:this.ActionProprieteStyleGenerique(n!=t&&document.getElementById("bz"+u)||n,null,i,u,f,o,!1);break;case this.XML_CHAMP_TYPE_GRAPHE:this.ActionProprieteStyleGenerique(document.getElementById(u)||n,null,i,u,f,o,!1);break;default:this.ActionProprieteStyleGenerique(n,t,i,u,f,s+"px",!1)}}},ActionProprieteX:function(n,t,i,r){this.ActionProprieteStyleGenerique(n,null,t,r,clWDUtil.bRTL?"right":"left",this.sXMLGetValeur(i)+"px",!1)},ActionProprieteY:function(n,t,i,r){this.ActionProprieteStyleGenerique(n,null,t,r,"top",this.sXMLGetValeur(i)+"px",!1)},ActionProprieteCouleur:function(n,t,i,r,u){var f=this.sXMLGetValeur(r),e=!1;switch(i){case WDChamp.prototype.ms_nIDObjetInterrupteur:case this.XML_CHAMP_TYPE_SELECTEUR:e=!0;break;case this.XML_CHAMP_TYPE_CHEMINNAV:case this.XML_CHAMP_TYPE_PLANSITE:case this.XML_CHAMP_TYPE_REGLETTE:case this.XML_CHAMP_TYPE_TREEVIEW:e=!0;break;case this.XML_CHAMP_TYPE_COLONNETABLE:case this.XML_CHAMP_TYPE_COLONNETABLEH:case this.XML_CHAMP_TYPE_JAUGE:this.ActionProprieteStylePolice(n,null,i,u,"color",f,!1);return;case WDChamp.prototype.ms_nIDObjetSaisie:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_COULEUR,null,f,n,null]);break;case this.XML_CHAMP_TYPE_LIEN:n=_JGE(u,document,!1,!1)}this.ActionProprieteStyleGenerique(n,t,i,u,"color",f,e)},ActionProprieteCouleurFond:function(n,t,i,r,u){var f=this.sXMLGetValeur(r),o=!1,e;switch(i){case WDChamp.prototype.ms_nIDObjetInterrupteur:case this.XML_CHAMP_TYPE_SELECTEUR:o=!0;break;case this.XML_CHAMP_TYPE_IFRAME_DEST:case this.XML_CHAMP_TYPE_IFRAME_SOURCE:case WDChamp.prototype.ms_nIDObjetCellule:case this.XML_CHAMP_TYPE_SUPERCHAMP:case this.XML_CHAMP_TYPE_MODELEDECHAMP_SOURCE:case this.XML_CHAMP_TYPE_MODELEDECHAMP_DEST:case this.XML_CHAMP_TYPE_CELLULEMISEENPAGE:case this.XML_CHAMP_TYPE_CELLULE_FLEXBOX:n=_JGE(u,document,!1);break;case this.XML_CHAMP_TYPE_TIROIR:n=_JGE(u,document,!0);break;case this.XML_CHAMP_TYPE_LIEN:e=_JGE(u,document,!0);e&&e.style&&(e.style.backgroundColor=f);break;case this.XML_CHAMP_TYPE_REGLETTE:o=!0;break;case WDChamp.prototype.ms_nIDObjetSaisie:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_COULEURFOND,null,f,n,null]);break;case this.XML_CHAMP_TYPE_JAUGE:case this.XML_CHAMP_TYPE_GRAPHE:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_COULEURFOND,null,f,n,null]);return;case this.XML_CHAMP_TYPE_TABLEAUDEBORD:n=_JGE(u,document,!1,!0)}this.ActionProprieteStyleGenerique(n,t,i,u,"backgroundColor",f,o)},ActionProprieteEtat:function(n,t,i,r,u){function o(n){return clWDUtil.ActiveDesactiveClassName(n,"wbgrise",4==f),!0}var f=this.nXMLGetAttribut(r,this.XML_CHAMP_ETAT_ETAT),e;switch(i){case WDChamp.prototype.ms_nIDObjetSaisie:case this.XML_CHAMP_TYPE_GRAPHE:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_ETAT,null,f,n,r]);break;case WDChamp.prototype.ms_nIDObjetBouton:case this.XML_CHAMP_TYPE_LIEN:case this.XML_CHAMP_TYPE_MAPAREA:case this.XML_CHAMP_TYPE_SOUSMENU:case this.XML_CHAMP_TYPE_OPTIONMENU:case this.XML_CHAMP_TYPE_MENUPOPUP:if(e=null,clWDUtil.bBaliseEstTag(n,"a"))e=n;else if(clWDUtil.bBaliseEstTag(n.parentNode,"a"))e=n.parentNode;else break;this._AppliqueAttributEtat(r,e,f,!1)}clWDUtil.bForEach(clWDUtil.tabGetElementsByClass(t,"wbstyle"),o);clWDUtil.bAvecClasse(t,"wbstyle")&&o(t);this.__bActionProprieteV2(i,u,26,f,undefined)},_AppliqueAttributEtat:function(n,t,i,r){var o,s,f,c,h;if(n){if(o=n.firstChild,o)for(s=o.attributes,c=s.length,f=0;f100&&(f=100);switch(i){case this.XML_CHAMP_TYPE_GRAPHE:case this.XML_CHAMP_TYPE_JAUGE:clWDUtil.oAppelFonctionChamp(u,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_OPACITE,null,f,n,null]);return;case this.XML_CHAMP_TYPE_PAGECORNEE:break;default:n=t}clWDUtil.nSetOpacite(f,n)},ActionProprieteCadrageH:function(n,t,i,r,u){this.ActionProprieteStylePolice(n,t,i,u,"textAlign",this.sXMLGetValeur(r),!0)},ActionProprieteCadrageV:function(n,t,i,r,u){this.ActionProprieteStylePolice(n,t,i,u,"verticalAlign",this.sXMLGetValeur(r),!0)},ActionProprieteSelectionnee:function(n,t,i,r){var u=this.bXMLGetValeur(r),e,o,f;switch(i){case this.XML_CHAMP_TYPE_SOUSMENU:case this.XML_CHAMP_TYPE_OPTIONMENU:case this.XML_CHAMP_TYPE_MENUPOPUP:e=u?"":"Select";o=u?"Select":"";clWDUtil.bForEach(["WDOngletOption","WDMenuOption"],function(n){return clWDUtil.bForEach(["","Hover"],function(i){return clWDUtil.RemplaceClassNameSiExiste(t,n+e+i,n+o+i),!0}),!0});f=t.getElementsByTagName("a")[0];f&&clWDUtil.ActiveDesactiveClassName(f,"wbActif",u)}},ActionProprieteIndication:function(n,t,i,r){clWDUtil.oAppelFonctionChamp(r,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_INDICATION,null,this.sXMLGetValeur(i),n,null])},ActionProprieteBoutonCalendrier:function(n,t,i,r){clWDUtil.oAppelFonctionChamp(r,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_BOUTONCALENDRIER,null,this.bXMLGetValeur(i),n,null])},ActionProprieteContenu:function(n,t,i,r,u,f){var e,o,s;switch(r){case WDChamp.prototype.ms_nIDObjetImage:case this.XML_CHAMP_TYPE_MAPAREA:case this.XML_CHAMP_TYPE_VIGNETTE:case this.XML_CHAMP_TYPE_GRAPHE:case this.XML_CHAMP_TYPE_RANGESLIDER:case this.XML_CHAMP_TYPE_AGENDA:case this.XML_CHAMP_TYPE_VIDEO:case this.XML_CHAMP_TYPE_PLANNING:case this.XML_CHAMP_TYPE_JAUGE:case this.XML_CHAMP_TYPE_CARTE:case this.XML_CHAMP_TYPE_POTENTIOMETRE:case this.XML_CHAMP_TYPE_TCD:case this.XML_CHAMP_TYPE_BANDEAU_DEFILANT:case this.XML_CHAMP_TYPE_CHAMPKANBAN:clWDUtil.oAppelFonctionChampPtr(f,WDChamp.prototype.DeduitParam,[this.sXMLGetValeur(u)]);break;case this.XML_CHAMP_TYPE_IFRAME_DEST:try{e=JSON.parse(this.sXMLGetValeur(u));e.id=f;clWDUtil.DemontePageInterne(this.__oGetElementPI(e),f,e);clWDUtil.MontePageInterne(this.__oGetElementPI(e),f,e,!1)}catch(h){}break;case this.XML_CHAMP_TYPE_EDITEUR_DIAGRAMME:o=clWDUtil.oEvalJSON(this.sXMLGetValeur(u));s=t[f+"_DATA"];s.wbSetParametreDonnees(o[0],o[1]);break;default:clWDUtil.oAppelFonctionChampPtr(f,WDChamp.prototype.PreAffecteHTML,[!0]);i.innerHTML=this.sXMLGetValeur(u);clWDUtil.oAppelFonctionChampPtr(f,WDChamp.prototype.PostAffecteHTML,[!0])}},ActionProprieteValeurSuperieure:function(n,t,i,r){clWDUtil.oAppelFonctionChamp(r,WDChamp.prototype.ms_sSetProp,[WDChamp.prototype.XML_CHAMP_PROP_NUM_VALEURSUPERIEURE,null,this.sXMLGetValeur(i),n,null])},ActionProprieteClasseHTML:function(n,t,i,r){(!n||!bIEQuirks&&(n instanceof HTMLCollection||window.RadioNodeList&&n instanceof RadioNodeList||window.NodeList&&n instanceof NodeList)||bIEQuirks&&1=st+ht)while(this.__bSupprimeLigne(r,t,nt,k,h,s))nt++;if(0")&&ft==f.substr(lt-4,4).toLowerCase()&&(lt-=4),f=f.substring(0,lt)+e+f.substring(ci),y=l=undefined):this.__bHTMLDebutTR(e)?(clWDUtil.bBaliseEstTag(a,"td")&&(a=a.parentNode),si||e.substr(e.length-5,5).toLowerCase()=="<\/tr>"?this.__InsereElementDansTable(a,e):this.__InsereRemplaceTrTdDansTable(a,e,!0,null)):e.substr(e.length-5,5).toLowerCase()=="<\/tr>"?(clWDUtil.bBaliseEstTag(a,"td")&&(a=a.parentNode),this.__InsereRemplaceTrTdDansTable(a,e,!1,null)):this.__AjouteElementDansTable(a.parentNode.previousElementSibling,e));continue}}if(o)if(bIE){gt&&(e="");et=o.outerHTML;et=this.sSupprimeEspacements(et);var w=f.indexOf(et),p=et.length,li=this.__bHTMLDebutTR(e),pi=this.__bHTMLDebutTD(e),ai=""==f.substr(w-4,4).toLowerCase();li&&ai&&(w-=4,p+=4);ft=e.substr(0,9).toLowerCase();ft=="<\/tr>"&&ft==f.substr(w-9,9).toLowerCase()&&(w-=9,p+=9);vt&&(ni=e.substr(e.length-5,5).toLowerCase(),ni=="<\/tr>"&&ni==f.substr(w+p,5).toLowerCase()?p+=5:(et.substr(p-5,5).toLowerCase()=="<\/tr>"&&(p-=5),li&&f.substr(w+p,5).toLowerCase()=="<\/tr>"&&(e="<\/tr>"+e,p+=5),pi&&ai&&(w-=4,p+=4)));f=f.substring(0,w)+e+f.substring(w+p);y=l=undefined}else o=document.getElementById(r+"_"+v),t==this.XML_CHAMP_TYPE_ZONEREPETEE&&this.__SupprimeRuptures(r,v,k,s),gt?(clWDUtil.bBaliseEstTag(o,"div")&&clWDUtil.bBaliseEstTag(o.parentNode,"td")&&this.__bAvecFilsActifUnique(o.parentNode)&&(o=o.parentNode,clWDUtil.bBaliseEstTag(o.parentNode,"tr")&&this.__bAvecFilsActifUnique(o.parentNode)&&(o=o.parentNode)),clWDUtil.oSupprimeElement(o)):(clWDUtil.bBaliseEstTag(o,"div")&&clWDUtil.bBaliseEstTag(o.parentNode,"td")&&(o=o.parentNode),this.__bHTMLDebutTR(c)?(vi=o,clWDUtil.bBaliseEstTag(o,"td")&&(o=o.parentNode),si?(this.__InsereElementDansTable(o,c),o=this.__bAvecFilsActifUnique(o)?o:vi,clWDUtil.oSupprimeElement(o)):c.substr(c.length-5,5).toLowerCase()!="<\/tr>"?this.__InsereRemplaceTrTdDansTable(o,c,!0,o.children[0]):this.__RemplaceElementDansTable(o,c)):c.substr(c.length-5,5).toLowerCase()=="<\/tr>"?(clWDUtil.bBaliseEstTag(o,"td")?(ti=o.parentNode,ii=o):(ti=o,ii=o.lastElementChild),this.__InsereRemplaceTrTdDansTable(ti,c,!1,ii)):this.__RemplaceElementDansTable(o,c)),h==s&&(h=this.__oGetConteneurParent(r,t,!0),s=this.__oGetConteneurTBODY(h,t));else e.length>0&&(bIE?s&&(s!=h||clWDUtil.bBaliseEstTag(s,"table"))?(f||(f=h.outerHTML,f=this.sSupprimeEspacements(f),y=l=undefined),f.substr(f.length-8).toLowerCase()=="<\/table>"?vt?(undefined===y&&(y=f.toLowerCase().lastIndexOf("<\/tr>")),y==-1?(undefined===l&&(l=f.toLowerCase().lastIndexOf("<\/tbody>")),-1==l&&(l=f.toLowerCase().lastIndexOf("<\/table>")),at=!1,rt.toLowerCase().indexOf("<\/tr>")===0?(at=!0,rt=rt.substring(5)):c.toLowerCase().indexOf("<\/tr>")===0&&(at=!0,c=c.substring(5)),ut.toLowerCase().lastIndexOf("<\/tr>")!==ut.length-5&&c.toLowerCase().lastIndexOf("<\/tr>")!==c.length-5&&(at=!0,ut+="<\/tr>"),at&&(e=rt+c+ut),f=f.substring(0,l)+e+f.substring(l),y=undefined,l+=e.length):(f=f.substring(0,y)+e+f.substring(y),y+=e.length,l=undefined)):(undefined===l&&(l=f.toLowerCase().lastIndexOf("<\/tbody>")),-1===l&&(l=f.toLowerCase().lastIndexOf("<\/table>")),t===this.XML_CHAMP_TYPE_ZONEREPETEEHORIZONTALE&&(l=f.toLowerCase().substr(0,l).lastIndexOf("<\/tr>")),f=f.slice(0,l)+e+f.substring(l),y=undefined,l+=e.length):(f+=e+h.tagName,y=l=undefined)):(f=undefined,ot=s,ot.insertAdjacentHTML("beforeend",e),h=this.__oGetConteneurParent(r,t,!0),s=this.__oGetConteneurTBODY(h,t)):(ot=s,this.__bHTMLDebutTR(e)?e.substr(c.length-5,5).toLowerCase()!="<\/tr>"&&(e=e+"<\/tr>"):c.substr(c.length-5,5).toLowerCase()=="<\/tr>"?vt?(ot=s.lastElementChild,e=e.substr(0,c.length-5)):e=""+e:vt&&this.__bHTMLDebutTD(e)&&(ot=s.lastElementChild),this.__AjouteElementDansTable(ot,e),h===s&&(h=this.__oGetConteneurParent(r,t,!0),s=this.__oGetConteneurTBODY(h,t))))}for(f?(f=f.replace(/<\/tr><\/tr>/ig,"<\/tr>"),f=f.replace(//ig,""),f=f.replace(/]*>\s*<\/tr>/ig,""),f=f.replace(/]*>\s*1)v++,pt--;else break;bIE||ht!==0||s===h||s.childNodes.length!==0||clWDUtil.SupprimeFils(h);u[r+"_DEB"].value=st;wt=u["_"+r+"_OCC"];wt===undefined&&(wt=u[r+"_OCC"]);wt.value=ht;ri>=0&&(n.value=ri);ei.forEach(function(n){clWDUtil.DemontePageInterne(clWDAJAXMain.__oGetElementPI(n),n.alias_monte_demonte,n);clWDUtil.MontePageInterne(clWDAJAXMain.__oGetElementPI(n),n.alias_monte_demonte,n,!1)});switch(t){case this.XML_CHAMP_TYPE_TABLE:case this.XML_CHAMP_TYPE_TABLEHIERARCHIQUE:case this.XML_CHAMP_TYPE_ZONEREPETEE:case this.XML_CHAMP_TYPE_ZONEREPETEEHORIZONTALE:AppelMethodePtr(WDChamp.prototype.OnTableZRAfficheAJAX,[r])}clWDUtil.m_oNotificationsAjoutHTML.LanceNotifications(this,h)},__oGetElementPI:function(n){var t=document.getElementById(n.id);return clWDUtil.bBaliseEstTag(t,"table")?t.firstElementChild.firstElementChild.firstElementChild:t},ActionLigneStyle:function(n,t,i){var e,u,f,r,o;if("