if(!window["WDTableauChamps"])
{WDTableauChamps=function WDTableauChamps_()
{this.m_tabChamps=[];};WDTableauChamps.prototype.nGetNbChamps=function nGetNbChamps()
{return this.m_tabChamps.length;};WDTableauChamps.prototype.DeclareChamp=function DeclareChamp(oChamp)
{this.m_tabChamps[oChamp.m_sAliasChamp]=oChamp;};WDTableauChamps.prototype.oGetChamp=function oGetChamp(sChamp)
{return this.m_tabChamps[sChamp];};WDTableauChamps.prototype._AppelMethode=function _AppelMethode(sFonction,tabParam,oExclus)
{for(var sChamp in this.m_tabChamps)
{var oChamp=this.m_tabChamps[sChamp];if(oChamp&&(oChamp!=oExclus))
{oChamp[sFonction].apply(oChamp,tabParam);}}};WDTableauChamps.prototype._AppelMethodePtr=function _AppelMethodePtr(fFonction,tabParam,oExclus)
{for(var sChamp in this.m_tabChamps)
{var oChamp=this.m_tabChamps[sChamp];if(oChamp&&(oChamp!=oExclus))
{fFonction.apply(oChamp,tabParam);}}};WDTableauChamps.prototype._oAppelFonction=function _oAppelFonction(sFonction,tabParam,fFonction,oResultat)
{for(var sChamp in this.m_tabChamps)
{var oChamp=this.m_tabChamps[sChamp];if(oChamp&&oChamp[sFonction])
{oResultat=fFonction(oResultat,oChamp[sFonction].apply(oChamp,tabParam));}}
return oResultat};WDTableauChamps.prototype._AppelMethodeChamp=function _AppelMethodeChamp(sAlias,sFonction,tabParam)
{var oChamp=this.oGetChamp(sAlias);if(oChamp)
{oChamp[sFonction].apply(oChamp,tabParam);}};WDTableauChamps.prototype._AppelMethodeChampPtr=function _AppelMethodeChampPtr(sAlias,fFonction,tabParam)
{var oChamp=this.oGetChamp(sAlias);if(oChamp)
{fFonction.apply(oChamp,tabParam);}};WDTableauChamps.prototype._oAppelFonctionChamp=function _oAppelFonctionChamp(sAlias,sFonction,tabParam)
{var oChamp=this.oGetChamp(sAlias);if(oChamp)
{return oChamp[sFonction].apply(oChamp,tabParam);}
return undefined;};}
if(!window["WDChamp"])
{WDChamp=function WDChamp_(sAliasChamp,sAliasZR,sAliasAttribut)
{if(sAliasChamp)
{this.m_sAliasChamp=sAliasChamp;if(sAliasZR)
{this.m_sAliasZR=sAliasZR;this.m_sAliasAttribut=sAliasAttribut;}
this.m_tabPCodes=[];this.m_eEtat=this.ms_eEtatActif;}};WDChamp.prototype.ms_tabChamps=new WDTableauChamps();WDChamp.prototype.ms_tabTablesZRs=new WDTableauChamps();WDChamp.prototype.ms_nEventNavBlur=10;WDChamp.prototype.ms_nEventNavChange=11;WDChamp.prototype.ms_nEventNavFocus=12;WDChamp.prototype.ms_nEventNavSelectLigne=20;WDChamp.prototype.ms_nEventNavModifSimple=21;WDChamp.prototype.ms_nEventNavAffichageMois=28;WDChamp.prototype.ms_nEventNavSelectionJour=29;WDChamp.prototype.ms_nEventNavUploadSelection=30;WDChamp.prototype.ms_nEventNavUploadAvancement=31;WDChamp.prototype.ms_nEventNavAgendaRdvSelection=32;WDChamp.prototype.ms_nEventNavAgendaRdvDeplacement=33;WDChamp.prototype.ms_nEventNavAgendaRdvRedim=34;WDChamp.prototype.ms_nEventNavAgendaPeriodeSelect=35;WDChamp.prototype.ms_nEventNavAgendaRdvSupprime=36;WDChamp.prototype.ms_nEventNavAgendaRdvAjoute=37;WDChamp.prototype.ms_nEventNavAgendaRdvEdition=38;WDChamp.prototype.ms_nEventNavAgendaRdvModifTitre=39;WDChamp.prototype.ms_nEventNavPlanningRdvDeplacementRessource=40;WDChamp.prototype.ms_nEventNavCalendrierChangementMois=41;WDChamp.prototype.ms_nEventNavAgendaPeriodeAffiche=45;WDChamp.prototype.m_pfVide=function(){return true;}
WDChamp.prototype.ms_eEtatActif=0;WDChamp.prototype.ms_eEtatLectureSeule=1;WDChamp.prototype.ms_eEtatGrise=4;WDChamp.prototype.ID_SEPARATEUR="_";WDChamp.prototype.ms_sSuffixeHote="_HTE";WDChamp.prototype.m_nNbAnimationsActives=0;WDChamp.prototype.Init=function Init()
{this._vInitInitiale();if(this.bGestionZR())
{WDChamp.prototype.ms_tabTablesZRs._AppelMethodeChamp(this.m_sAliasZR,"DeclareChampFils",[this]);}
WDChamp.prototype.ms_tabChamps.DeclareChamp(this);this._vLiaisonHTML();};WDChamp.prototype._vInitInitiale=function _vInitInitiale()
{var fOnResize=function(oEvent){AppelMethode(WDChamp.prototype.ms_sOnResize,[oEvent?oEvent:event],undefined)};HookOnXXX(window,"onresize","resize",fOnResize);if(bIEQuirks)
{WDChamp.prototype._nGetOffsetWidth=WDChamp.prototype.__nGetOffsetWidthIEQuirks;WDChamp.prototype._nGetOffsetHeight=WDChamp.prototype.__nGetOffsetHeightIEQuirks;}
else
{WDChamp.prototype._nGetOffsetWidth=WDChamp.prototype.__nGetOffsetWidth;WDChamp.prototype._nGetOffsetHeight=WDChamp.prototype.__nGetOffsetHeight;}
WDChamp.prototype._vInitInitiale=WDChamp.prototype.m_pfVide;};oGetObjetChamp=function oGetObjetChamp(sAlias)
{return WDChamp.prototype.ms_tabChamps.oGetChamp(sAlias);};AppelMethode=function AppelMethode(sFonction,tabParam,oExclus)
{WDChamp.prototype.ms_tabChamps._AppelMethode(sFonction,tabParam,oExclus);};oAppelFonction=function oAppelFonction(sFonction,tabParam,fFonction,oResultat)
{return WDChamp.prototype.ms_tabChamps._oAppelFonction(sFonction,tabParam,fFonction,oResultat);};AppelMethodeChamp=function AppelMethodeChamp(sAlias,sFonction,tabParam)
{WDChamp.prototype.ms_tabChamps._AppelMethodeChamp(sAlias,sFonction,tabParam);};AppelMethodeChampPtr=function AppelMethodeChampPtr(sAlias,fFonction,tabParam)
{WDChamp.prototype.ms_tabChamps._AppelMethodeChampPtr(sAlias,fFonction,tabParam);};oAppelFonctionChamp=function oAppelFonctionChamp(sAlias,sFonction,tabParam)
{return WDChamp.prototype.ms_tabChamps._oAppelFonctionChamp(sAlias,sFonction,tabParam);};AppelFonctionChamp=oAppelFonctionChamp;WDChamp.prototype.AppelMethodeAutres=function AppelMethodeAutres(sFonction,tabParam)
{AppelMethode(sFonction,tabParam,this);};WDChamp.prototype.AppelMethodeAutresPtr=function AppelMethodeAutresPtr(fFonction,tabParam)
{this.ms_tabChamps._AppelMethodePtr(fFonction,tabParam,this);};WDChamp.prototype.DeclarePCode=function DeclarePCode(ePCodeNav,pfFonction)
{this.m_tabPCodes[ePCodeNav]=pfFonction;};WDChamp.prototype.RecuperePCode=function RecuperePCode(ePCodeNav)
{var pfFonction=this.m_tabPCodes[ePCodeNav];if(pfFonction)
{return pfFonction;}
return this.m_pfVide;};WDChamp.prototype.nSetTimeout=function nSetTimeout(sFonction,nDuree)
{var oThis=this;var sFonctionLocal=sFonction;var tabArguments=this.__tabArgumentsVersTableau(arguments,2);return setTimeout(function(){oThis[sFonctionLocal].apply(oThis,tabArguments);},nDuree);};WDChamp.prototype.SetInterval=function SetInterval(sFonction,fFonction,nDuree)
{this[this.sNomVariableTimeXXX(sFonction)]=setInterval(fFonction,nDuree);};WDChamp.prototype.__tabArgumentsVersTableau=function __tabArgumentsVersTableau(tabParam,nPremier)
{var tabArguments=[];var i;var nLimiteI=tabParam.length;for(i=nPremier;i<nLimiteI;i++)
{tabArguments.push(tabParam[i]);}
return tabArguments;};WDChamp.prototype.nSetTimeoutUnique=function nSetTimeoutUnique(sFonction,nDuree)
{this.AnnuleTimeXXX(sFonction,false);var nTimeout=this.nSetTimeout("TimeoutUnique",nDuree,sFonction,this.__tabArgumentsVersTableau(arguments,2));this[this.sNomVariableTimeXXX(sFonction)]=nTimeout;return nTimeout;};WDChamp.prototype.TimeoutUnique=function TimeoutUnique(sFonction,tabParam)
{this.SupprimeTimeout(sFonction);this[sFonction].apply(this,tabParam);};WDChamp.prototype.bGetTimeXXXExiste=function bGetTimeXXXExiste(sFonction)
{return(this[this.sNomVariableTimeXXX(sFonction)]!==undefined);};WDChamp.prototype.AnnuleTimeXXX=function AnnuleTimeXXX(sFonction,bInterval)
{var sVarTimeXXX=this.sNomVariableTimeXXX(sFonction);var nTimeXXX=this[sVarTimeXXX];if(nTimeXXX!==undefined)
{if(bInterval)
{clearInterval(nTimeXXX);}
else
{clearTimeout(nTimeXXX);}
delete this[sVarTimeXXX];}};WDChamp.prototype.SupprimeTimeout=function SupprimeTimeout(sFonction)
{var sVarTimeout=this.sNomVariableTimeXXX(sFonction);if(this[sVarTimeout]!==undefined)
{delete this[sVarTimeout];}};WDChamp.prototype.sNomVariableTimeXXX=function sNomVariableTimeXXX(sFonction)
{return"m_nTimeXXX_"+sFonction;};WDChamp.prototype.nGetVariableTimeXXX=function nGetVariableTimeXXX(sFonction)
{return this[this.sNomVariableTimeXXX(sFonction)];};WDChamp.prototype.SetEtat=function SetEtat(eEtat)
{this.m_eEtat=eEtat;};WDChamp.prototype.eGetEtat=function eGetEtat()
{return this.m_eEtat;};WDChamp.prototype.PreAffecteHTML=function PreAffecteHTML(bDepuisAJAX){this._vPreAffecteHTML.apply(this,arguments);};WDChamp.prototype._vPreAffecteHTML=WDChamp.prototype.m_pfVide;WDChamp.prototype.PostAffecteHTML=function PostAffecteHTML(bDepuisAJAX){this._vPostAffecteHTML.apply(this,arguments);};WDChamp.prototype._vPostAffecteHTML=WDChamp.prototype.m_pfVide;WDChamp.prototype.OnDisplay=function OnDisplay(oElementRacine){};WDChamp.prototype.ms_sOnDisplay="OnDisplay";WDChamp.prototype.OnResize=function OnResize(oEvent){};WDChamp.prototype.ms_sOnResize="OnResize";WDChamp.prototype.SetValeur=function SetValeur(oEvent,sValeur,oChamp){return sValeur;};WDChamp.prototype.ms_sSetValeur="SetValeur";WDChamp.prototype.GetValeur=function GetValeur(oEvent,sValeur,oChamp){return sValeur;};WDChamp.prototype.ms_sGetValeur="GetValeur";WDChamp.prototype.DeduitParam=function DeduitParam(sParametres){this._vDeduitParam(eval("("+sParametres+")"));};WDChamp.prototype._vDeduitParam=WDChamp.prototype.m_pfVide;WDChamp.prototype.ConstruitParam=function ConstruitParam()
{var sParam=this._vsConstruitParam.apply(this,arguments);if(sParam.length>0)
{this._vSetValeurChampFormulaire(sParam);}};WDChamp.prototype._vsConstruitParam=function _vsConstruitParam(){return"";};WDChamp.prototype.Refresh=function Refresh(nReset,nNouveauDebut,sCleNouveauDebut){this._vRefresh.apply(this,arguments)};WDChamp.prototype._vRefresh=WDChamp.prototype.m_pfVide;WDChamp.prototype.MasqueBarre=function MasqueBarre(oEvent){this._vMasqueBarre.apply(this,arguments);};WDChamp.prototype._vMasqueBarre=WDChamp.prototype.m_pfVide;WDChamp.prototype.AnimationDebut=function AnimationDebut(oAnimation){this._vAnimationDebut.apply(this,arguments);};WDChamp.prototype._vAnimationDebut=function _vAnimationDebut(oAnimation){this.m_nNbAnimationsActives++;};WDChamp.prototype.AnimationFin=function AnimationFin(oAnimation){this._vAnimationFin.apply(this,arguments);};WDChamp.prototype._vAnimationFin=function _vAnimationFin(oAnimation){this.m_nNbAnimationsActives--;};WDChamp.prototype.OnLigneZRAffiche=function OnLigneZRAffiche(nLigneAbsolueBase1,bSelectionne){this._vOnLigneZRAffiche.apply(this,arguments);};WDChamp.prototype._vOnLigneZRAffiche=WDChamp.prototype.m_pfVide;WDChamp.prototype.OnLigneZRMasque=function OnLigneZRMasque(nLigneAbsolueBase1,bSelectionne,oEvent){this._vOnLigneZRMasque.apply(this,arguments);};WDChamp.prototype._vOnLigneZRMasque=WDChamp.prototype.m_pfVide;WDChamp.prototype.XML_CHAMP_PROP_NUM_SOUSELEMENT=-2;WDChamp.prototype.XML_CHAMP_PROP_NUM_CONTENU=-1;WDChamp.prototype.XML_CHAMP_PROP_NUM_VALEUR=1;WDChamp.prototype.XML_CHAMP_PROP_NUM_LIBELLE=3;WDChamp.prototype.XML_CHAMP_PROP_NUM_HAUTEUR=5;WDChamp.prototype.XML_CHAMP_PROP_NUM_LARGEUR=6;WDChamp.prototype.XML_CHAMP_PROP_NUM_COULEUR=10;WDChamp.prototype.XML_CHAMP_PROP_NUM_COULEURFOND=11;WDChamp.prototype.XML_CHAMP_PROP_NUM_ETAT=12;WDChamp.prototype.XML_CHAMP_PROP_NUM_OCCURRENCE=14;WDChamp.prototype.XML_CHAMP_PROP_NUM_VISIBLE=18;WDChamp.prototype.XML_CHAMP_PROP_NUM_VALEURAFFICHEE=21;WDChamp.prototype.XML_CHAMP_PROP_NUM_IMAGE=34;WDChamp.prototype.XML_CHAMP_PROP_NUM_URL=38;WDChamp.prototype.XML_CHAMP_PROP_NUM_BULLE=39;WDChamp.prototype.XML_CHAMP_PROP_NUM_X=41;WDChamp.prototype.XML_CHAMP_PROP_NUM_Y=42;WDChamp.prototype.XML_CHAMP_PROP_NUM_CURSEURSOURIS=43;WDChamp.prototype.XML_CHAMP_PROP_NUM_POLICEGRAS=47;WDChamp.prototype.XML_CHAMP_PROP_NUM_POLICEITALIQUE=48;WDChamp.prototype.XML_CHAMP_PROP_NUM_POLICENOM=49;WDChamp.prototype.XML_CHAMP_PROP_NUM_POLICESOULIGNE=50;WDChamp.prototype.XML_CHAMP_PROP_NUM_POLICETAILLE=51;WDChamp.prototype.XML_CHAMP_PROP_NUM_OPACITE=52;WDChamp.prototype.XML_CHAMP_PROP_NUM_CADRAGEH=53;WDChamp.prototype.XML_CHAMP_PROP_NUM_CADRAGEV=54;WDChamp.prototype.XML_CHAMP_PROP_NUM_SELECTIONNEE=55;WDChamp.prototype.XML_CHAMP_PROP_NUM_INDICATION=58;WDChamp.prototype.XML_CHAMP_PROP_NUM_BOUTONCALENDRIER=66;WDChamp.prototype.XML_CHAMP_PROP_NUM_ENROULE=72;WDChamp.prototype.GetProp=function GetProp(eProp,oEvent,oValeur,oChamp)
{switch(eProp)
{case this.XML_CHAMP_PROP_NUM_SOUSELEMENT:return null;case this.XML_CHAMP_PROP_NUM_VALEUR:return this.GetValeur(oEvent,oValeur,oChamp);default:return oValeur;}};WDChamp.prototype.ms_sGetProp="GetProp";WDChamp.prototype.SetProp=function SetProp(eProp,oEvent,oValeur,oChamp)
{switch(eProp)
{case this.XML_CHAMP_PROP_NUM_VALEUR:return this.SetValeur(oEvent,oValeur,oChamp);default:return oValeur;}};WDChamp.prototype.ms_sSetProp="SetProp";WDChamp.prototype.bGestionZR=function bGestionZR()
{return((this.m_sAliasZR)?true:false);};WDChamp.prototype.oGetZRAjax=function oGetZRAjax()
{return(this.bGestionZR()?WDChamp.prototype.ms_tabTablesZRs.oGetChamp(this.m_sAliasZR):undefined);};WDChamp.prototype.nGetZRValeur=function nGetZRValeur()
{return parseInt(document.getElementsByName(this.m_sAliasZR)[0].value,10);};WDChamp.prototype.SetZRValeur=function SetZRValeur(oEvent,nLigneAbsolueBase1)
{var oZRAjax=this.oGetZRAjax();if(oZRAjax)
{oZRAjax.OnSelectLigne(nLigneAbsolueBase1-oZRAjax.m_nDebut-1,0,oEvent);}
else
{document.getElementsByName(this.m_sAliasZR)[0].value=nLigneAbsolueBase1;}};WDChamp.prototype.nGetZRDebut=function nGetZRDebut()
{return parseInt(document.getElementsByName(this.m_sAliasZR+"_DEB")[0].value,10);};WDChamp.prototype.nGetZROccurrence=function nGetZROccurrence()
{return parseInt(document.getElementsByName("_"+this.m_sAliasZR+"_OCC")[0].value,10);};WDChamp.prototype._vLiaisonHTML=function _vLiaisonHTML()
{var oChampFormulaire=this._voGetChampFormulaire();if(oChampFormulaire)
{this.m_oChampFormulaire=oChampFormulaire;}};WDChamp.prototype._voGetChampFormulaire=function _voGetChampFormulaire()
{return this.oGetElementByName(document,"");};WDChamp.prototype._sConstruitParamObjet=function _sConstruitParamObjet(oObjet)
{var tabParam=[];for(var sCle in oObjet)
{var sValeur=oObjet[sCle];switch((typeof sValeur).toLowerCase())
{case"boolean":sValeur=sValeur?"1":"0";break;case"string":case"number":default:sValeur=clWDEncode.sEncodePOST(sValeur);break;case"object":if("function"==typeof sValeur.getTime)
{sValeur=sValeur.getTime()+"";break;}
case"function":case"undefined":continue;}
tabParam.push(sCle+"="+sValeur.replace(/\,/g,"%2C"));}
return tabParam.join("&");};WDChamp.prototype._vsGetValeurChampFormulaire=function _vsGetValeurChampFormulaire()
{return this.m_oChampFormulaire?this.m_oChampFormulaire.value:"";};WDChamp.prototype._vSetValeurChampFormulaire=function _vSetValeurChampFormulaire(sValeur)
{if(this.m_oChampFormulaire)
{this.m_oChampFormulaire.value=sValeur;}};WDChamp.prototype.sGetNomElement=function sGetNomElement(sSuffixe)
{return this.m_sAliasChamp+sSuffixe;};WDChamp.prototype.oGetElementById=function oGetElementById(oDocument,sSuffixe)
{return oDocument.getElementById(this.sGetNomElement(sSuffixe));};WDChamp.prototype.oGetElementByName=function oGetElementByName(oElement,sSuffixe)
{return oElement.getElementsByName(this.sGetNomElement(sSuffixe))[0];};WDChamp.prototype.sGetSuffixeIDElement=function sGetSuffixeIDElement()
{var tabSuffixe=[];var i;var nLimiteI=arguments.length;for(i=0;i<nLimiteI;i++)
{tabSuffixe.push(arguments[i]);}
return this.ID_SEPARATEUR+tabSuffixe.join(this.ID_SEPARATEUR);};WDChamp.prototype.oGetIDElement=function oGetIDElement()
{return this.oGetElementById(document,this.sGetSuffixeIDElement.apply(this,arguments));};WDChamp.prototype.sGetNomElementZR=function sGetNomElementZR(sSuffixe)
{return this.sGetNomElementZRCalc(this.bGestionZR(),sSuffixe);};WDChamp.prototype.sGetNomElementZRCalc=function sGetNomElementZRCalc(bDansZR,sSuffixe)
{if(bDansZR)
{return this.sGetNomElementZRIndice(this.nGetZRValeur(),sSuffixe);}
else
{return this.sGetNomElement(sSuffixe);}};WDChamp.prototype.sGetNomElementZRIndice=function sGetNomElementZRIndice(nIndice,sSuffixe)
{return"_"+nIndice+"_"+this.m_sAliasAttribut+sSuffixe;};WDChamp.prototype.oGetElementByIdZR=function oGetElementByIdZR(oDocument,sSuffixe)
{return this.oGetElementByIdZRCalc(this.bGestionZR(),oDocument,sSuffixe);};WDChamp.prototype.oGetElementByNameZR=function oGetElementByNameZR(oElement,sSuffixe)
{return this.oGetElementByNameZRCalc(this.bGestionZR(),oElement,sSuffixe);};WDChamp.prototype.oGetElementByIdZRCalc=function oGetElementByIdZRCalc(bDansZR,oDocument,sSuffixe)
{return oDocument.getElementById(this.sGetNomElementZRCalc(bDansZR,sSuffixe));};WDChamp.prototype.oGetElementByNameZRCalc=function oGetElementByNameZRCalc(bDansZR,oElement,sSuffixe)
{return oElement.getElementsByName(this.sGetNomElementZRCalc(bDansZR,sSuffixe))[0];};WDChamp.prototype.oGetElementByIdZRIndice=function oGetElementByIdZRIndice(oDocument,nIndice,sSuffixe)
{return oDocument.getElementById(this.sGetNomElementZRIndice(nIndice,sSuffixe));};WDChamp.prototype.oGetElementByNameZRIndice=function oGetElementByNameZRIndice(oElement,nIndice,sSuffixe)
{return oElement.getElementsByName(this.sGetNomElementZRIndice(nIndice,sSuffixe))[0];};WDChamp.prototype.oGetObjectEmbed=function oGetObjectEmbed(sNom,bAccepteObject)
{var tabChamp=document.getElementsByName(sNom);if(tabChamp&&(tabChamp.length>=1)&&tabChamp[0]&&clWDUtil.bBaliseEstTag(tabChamp[0],"object")&&bAccepteObject)
{return tabChamp[0];}
else if(tabChamp&&(tabChamp.length>1)&&tabChamp[1])
{return tabChamp[1];}
else
{return oGetId(sNom);}};WDChamp.prototype.bConversionValeur=function bConversionValeur(sValeur)
{switch((typeof sValeur).toLowerCase())
{case"boolean":return sValeur;case"string":return(sValeur!="0");case"number":return(sValeur!="0");case"function":case"object":case"undefined":default:return false;}};WDChamp.prototype.tabGetElements=function tabGetElements(oCellule,bAvecLien)
{var tabElements=[];if(oCellule)
{tabElements=this._tabGetUnTypeElement(oCellule,"button",tabElements);tabElements=this._tabGetUnTypeElement(oCellule,"input",tabElements);tabElements=this._tabGetUnTypeElement(oCellule,"select",tabElements);tabElements=this._tabGetUnTypeElement(oCellule,"textarea",tabElements);if(bAvecLien)
{tabElements=this._tabGetUnTypeElement(oCellule,"a",tabElements);}}
return tabElements;};WDChamp.prototype._tabGetUnTypeElement=function _tabGetUnTypeElement(oCellule,sTag,tabElements)
{var tabElementsByTagName=oCellule.getElementsByTagName(sTag);var i=0;var nLimiteI=tabElementsByTagName.length;for(i=0;i<nLimiteI;i++)
{tabElements.push(tabElementsByTagName[i]);}
return tabElements;};WDChamp.prototype._nGetOffset=function _nGetOffset(sVal)
{var nOffset=parseInt(sVal);return(!isNaN(nOffset)&&(nOffset>0))?nOffset:0;};WDChamp.prototype.__nGetOffsetWidthIEQuirks=function __nGetOffsetWidthIEQuirks(oElement,oStyle)
{if(undefined===oStyle)
{oStyle=oElement.currentStyle;}
return this.__nGetOffsetWidth(oElement)-(this._nGetOffset(oStyle.borderLeftWidth)+this._nGetOffset(oStyle.borderRightWidth));};WDChamp.prototype.__nGetOffsetHeightIEQuirks=function __nGetOffsetHeightIEQuirks(oElement,oStyle)
{if(undefined===oStyle)
{oStyle=oElement.currentStyle;}
return this.__nGetOffsetHeight(oElement)-(this._nGetOffset(oStyle.borderTopWidth)+this._nGetOffset(oStyle.borderBottomWidth));};WDChamp.prototype.__nGetOffsetWidth=function __nGetOffsetWidth(oElement)
{return oElement.offsetWidth;};WDChamp.prototype.__nGetOffsetHeight=function __nGetOffsetHeight(oElement)
{return oElement.offsetHeight;};WDChamp.prototype.bAnimationsActives=function bAnimationsActives()
{return(this.m_nNbAnimationsActives>0);};WDChamp.prototype.sCheminImageRes=function sCheminImageRes(sImage)
{return _WD_+"res/"+sImage;};}
if(!window["WDChampParametres"])
{WDChampParametres=function WDChampParametres_(sAliasChamp,sAliasZR,sAliasAttribut)
{if(sAliasChamp)
{WDChamp.prototype.constructor.apply(this,arguments);}
this.m_oParametres=null;this.m_oDonnees=null;};WDChampParametres.prototype=new WDChamp();WDChampParametres.prototype.constructor=WDChampParametres;WDChampParametres.prototype.SetParametres=function SetParametres(oParametres,oDonnees)
{this.m_oParametres=oParametres;this.m_oDonnees=oDonnees;this._vAppliqueParametres();};WDChampParametres.prototype._vAppliqueParametres=WDChamp.prototype.m_pfVide;WDChampParametres.prototype._vDeduitParam=function _vDeduitParam(oParametres)
{WDChamp.prototype._vDeduitParam.apply(this,arguments);this.SetParametres(oParametres[0],oParametres[1]);};WDChampParametres.prototype._voGetChampFormulaire=function _voGetChampFormulaire()
{return this.oGetElementByName(document,"_DATA");};}
