var bZoneWeb;"undefined"===typeof bZoneWeb&&(bZoneWeb=!1);var displayTableAff="table",bScrollTo=!0,bNoQ2IdVar=!0,idPgDiv="p",idPgLien="m",sSepPrMsg4D="_ml__sep_",codComp_gt="gt",codComp_lt="lt",codComp_gtEqual="gteq",codComp_ltEqual="lteq",firefox=-1!=navigator.userAgent.indexOf("Firefox"),typeFAllerAouQSuivAuto=3,typeFAffSi=2,bGrpQ_AffSiSP_surSPGrp=!0,tElemMasqOuAffParFilt=[],sIdQ_JS="",sTypeQ_JS="",sOrdQ_JS="",sVarAuto_JS="",sLibReadOnly_JS="",stSaisie_JS="",sChpAModifEnJS_name_value="";
bZoneWeb||($(document).keypress(function(a){getKey(a)}),bSiteGS&&$(document).keydown(function(a){var e=a.which||a.keyCode;if(a.ctrlKey&&13==e){e=a.target||a.srcElement;if("undefined"!=typeof e.name){var d=!0;"Q"===e.name.substring(0,1)&&(d=tstS(e));d&&fEnv()&&document.fML.submit()}a.preventDefault();return!1}}));function detectIE11(){var a=window.navigator.userAgent;if(0<a.indexOf("Trident/")){var e=a.indexOf("rv:");return parseInt(a.substring(e+3,a.indexOf(".",e)),10)}return!1}
function getRandomInt(a,e){return Math.floor(Math.random()*(e-a+1)+a)}function jspRemoveClass_Prefix(a,e){var d=a.attr("class").split(" ").filter(function(a){return 0!==a.indexOf(e,0)});a.attr("class",d.join(" "))}function jspGetClass_Prefix(a,e){return a.attr("class").split(" ").filter(function(a){return 0===a.indexOf(e,0)}).join(" ")}
function jspMLZZaLaFin(){var a=$("input[name=MLZZ]").eq(0);if(0<a.length){var e=$("form").children().last();if(0<e.length&&"MLZZ"!==e.eq(0).attr("name")){var d=a.clone();e.after(d);a.remove()}}}function TablEstDansSectionMasquee(a){var e=!1;a&&0<a.length&&(a=jspGetClass_Prefix(a.eq(0),"numsection"),""!==a&&(a=parseInt(a.substr(9),10),0<a&&tElemMasqOuAffParFilt["section_no_id"+a]&&"m"===tElemMasqOuAffParFilt["section_no_id"+a]&&(e=!0)));return e}
function checkKey(a,e,d){var c=!0;var f=0;var g=d.target||d.srcElement;if(!bSaisieClav){if(13==a){c=!1;a=!0;if(document.fML[g.name]&&"undefined"!==typeof document.fML[g.name].name)if("textarea"===document.fML[g.name].type)a=!1,c=!0;else for(var h=0;h<document.fML.length-1;h++)if(document.fML[h].name===g.name&&"text"===document.fML[h].type&&"MLZZ"!==document.fML[h+1].name)return e=document.fML[h],qSAuto?tstS(e):(qSAuto=!0,tstS(e),qSAuto=!1),document.fML[h+1].focus(),d.preventDefault(),!1;a&&d.preventDefault()}}else if(bSaisieClav){if(e&&
13==a)return d.preventDefault(),!1;if(13==a||3==a){c=!1;if("undefined"!=g.name)for(h=0;h<document.fML.length-1;h++)document.fML[h].name===g.name&&"MLZZ"!==document.fML[h+1].name&&(document.fML[h+1].focus(),h=document.fML.length);d.preventDefault()}if(qSAuto&&c)if(32>a){if(8===a)return!0}else for(h=0;h<document.fML.length-1;h++)if(document.fML[h].name===g.name&&(e=h,h=document.fML.length,"text"===document.fML[e].type&&"MLZZ"!==document.fML[e+1].name)){e=document.fML[e];var l=e.value,m=NoQGet(e.name);
if(0<m){o1V=o1PtF(m);c=TypeQ(o1V);if("u"!==c&&"a"!==c&&"n"!==c)return!0;"u"===c&&(f=String(o1V.nbM),f=f.length);"a"===c&&(f=o1V.nbD);"n"===c&&(f=e.maxLength);if(l.length+1<f)return!0;e.value=l.length<f?e.value+String.fromCharCode(a):String.fromCharCode(a);if(e.value.length<f)return e.value=l,!0;tstS(e);d.preventDefault();return!1}}}return c}function getKey(a){return checkKey(a.which||a.keyCode,a.ctrlKey,a)}var tF,nbProp=5,nbQtF=0,sQMErr="",dDeb=new Date,pCour=1;nbPages=1;
function jspScrollToElem(a,e){var d=100;"undefined"!=typeof e&&(d=e);var c=-1,f=$("#"+a).eq(0);0<f.length&&(c=f.offset().top);0<=c&&(c=parseInt(c,10),c-=d,0>c&&(c=0),window.scrollTo(0,c))}function jspbSubmitForbidden(a){var e=!1,d=!1;"undefined"!=typeof a&&"avecAlerte"===a&&(d=!0);document.fML.MLSubmitForbidden&&"1"===document.fML.MLSubmitForbidden.value&&(e=!0,d&&document.fML.MLSubmitForbiddMsg&&alert(document.fML.MLSubmitForbiddMsg.value));return e}
function TstPage(a,e){var d=!0;jspbSubmitForbidden("avecAlerte")&&(d=!1);if(d&&!bZoneWeb){tSs=TypeSais();var c=!1;0>a&&(c=!0,a=Math.abs(a));if(!c&&bNoQ2IdVar&&tQOblParOrdreFlux){var f=!1,g=[],h;for(h in tNoPgQParOrdreFlux)g[h]=0,tNoPgQParOrdreFlux[h]===a&&1===tQOblParOrdreFlux[h]&&(f=!0,g[h]=1);f&&(g=TstSObl(g))&&(d="1"===g.obl_ok,d||(f=g.fld_focus,g=g.fld_type,""!=f&&document.fML[f]&&("radio"===g?document.fML[f][0].focus():document.fML[f].focus())))}d&&(bEnrChaquePage&&!jspbSubmitForbidden()&&2<=
nbPages&&document.fML.MLNoPageEnr&&(document.fML.MLNoPageEnr.value=""+a,f=$("form[name='fML']").eq(0),0<f.length&&(f=f.serialize(),""!==f&&$.post("/ModaFormPg",f))),e||PageCourMaj(c?a-1:a+1))}return d}
function PageCourMaj(a,e){var d=!1;"undefined"!=typeof e&&"qsAllerAQ"===e&&(d=!0);a>nbPages&&(a=1);for(var c,f,g=1;g<=nbPages;g++)document.getElementById(idPgDiv+g)&&(c=document.getElementById(idPgDiv+g).style),document.getElementById(idPgLien+g)&&(f=document.getElementById(idPgLien+g).style),f&&(f.display=g===a?"block":"none"),c&&(c.display=g===a?"block":"none");if(a!==pCour){var h=!0,l=!1;a<pCour&&(h=!1,l=!0);if(!d){d=a;do{var m=!0;l&&1>=a&&(m=!1);h&&a>=nbPages&&(m=!1);if(m){var q=!1;for(g in tNoPgQParOrdreFlux)if(tNoPgQParOrdreFlux[g]===
a){var k=tidQParOrdreFlux[g];var n=NumChamp("Q"+k);if(-1<n&&(k=QuEstMasqueeOuHidden(k,n),!k)){q=!0;break}}q?m=!1:h?a+=1:l&&--a}}while(m);if(a!==d)for(g=1;g<=nbPages;g++)document.getElementById(idPgDiv+g)&&(c=document.getElementById(idPgDiv+g).style),document.getElementById(idPgLien+g)&&(f=document.getElementById(idPgLien+g).style),f&&(f.display=g===a?"block":"none"),c&&(c.display=g===a?"block":"none");k=0;for(g in tNoPgQParOrdreFlux)if(tNoPgQParOrdreFlux[g]===a){k=tidQParOrdreFlux[g];break}0<k&&QuNFocus(k)}}pCour=
a;f=c=!0;1<pCour&&("undefined"!=typeof bTitSurTtesPag&&(c=bTitSurTtesPag),"undefined"!=typeof bLogoSurTtesPag&&(f=bLogoSurTtesPag));g=$("table[name=logoname_table]").eq(0);0<g.length&&(g.removeClass("disp_none").end(),f||g.addClass("disp_none"));g=$("td[name=titregenname_td]").eq(0);0<g.length&&(g.removeClass("disp_none").end(),c||g.addClass("disp_none"));window.scrollTo(0,0)}function MArrDeb1(a,e){var d=[],c;for(c=1;c<=a;c++)d[c]=e;return d}
function o1P(a,e,d,c,f,g,h,l,m,q){this.tQ=a;this.nbM=e;this.nbD=d;this.nInf=c;this.nSup=f;this.vHR=g;this.nIdVar=h;this.nOrdreQ=l;this.nObl=m;this.nOrdAlea=q}function o1PtF(a){var e;bNoQ2IdVar&&(e=tF[a]?tF[a]:new o1P(0,0,0,0,0,0,0,0,0));return e}
function o1PChMLST(a){var e=new o1P(0,0,0,0,0,0,0,0,0,0);a=("t"+a).split("t");var d=a.length;if(1<=d){var c=0,f=0,g=0,h=0,l=0,m="",q=0,k=0,n=0,p=0;""!=a[1]&&(1<=d&&(q=jspParseInt(a[1])),2<=d&&(k=jspParseInt(a[2])),3<=d&&(c=jspParseInt(a[3])),4<=d&&(f=jspParseInt(a[4])),5<=d&&(g=jspParseInt(a[5])),6<=d&&(h=parseFloat(a[6])),7<=d&&(l=parseFloat(a[7])),8<=d&&(m=a[8]),9<=d&&(n=jspParseInt(a[9])),10<=d&&(p=jspParseInt(a[10])),isNaN(c)||(e.tQ=c),isNaN(f)||(e.nbM=f),isNaN(g)||(e.nbD=g),isNaN(h)||(e.nInf=
h),isNaN(l)||(e.nSup=l),e.vHR=m,isNaN(q)||(e.nIdVar=q),isNaN(k)||(e.nOrdreQ=k),e.nObl=n,e.nOrdAlea=p)}return e}function alrt(a,e,d,c){var f="";bScrollTo&&(c=$("#titreq"+c).eq(0),0<c.length&&(f=c.text()));f+="\n";1===a?alert(f+unescape(sMn)+e+unescape("   "+sMx)+d):2===a?alert(f+unescape(sMo)+d):3===a?alert(f+unescape(sMd)):4===a&&alert(f+unescape(sMObl))}function errSs(a,e){sQMErr=a.name;a.value=e;a.focus();return!1}
function tQmo(a,e,d,c){var f;var g=MArrDeb1(e,0);var h=0;var l="";for(f=0;f<=a.length;f++){var m=-1;f<a.length&&(m=a.charAt(f),m="0123456789".indexOf(m));if(-1<m)l+=a.charAt(f);else if(""!=l){h++;if(h>e)return alrt(2,0,e,c),"-1";if(0>=jspParseInt(l)||jspParseInt(l)>d)return alrt(1,1,d,c),"-1";g[h]=jspParseInt(l);for(m=1;m<h;m++)if(g[m]===jspParseInt(l))return alrt(3,0,0,c),"-1";l=""}}l="";for(m=1;m<=h;m++)l+=g[m]+"/";return l}
function tVarGlob(){if(document.fML.MLJSGlob){var a=document.fML.MLJSGlob.value;if("undefined"!=typeof a)for(var e=a.split(";"),d=0;d<e.length;d++){a=e[d];var c=a.split("=");if(2<=c.length&&(a=c[0],c=c[1],"undefined"!=typeof a&&"undefined"!=typeof c))switch(a){case "bCtlSais_actif":bCtlSais_actif="true"===c?!0:!1;break;case "bSiteGS":bSiteGS="true"===c?!0:!1;break;case "qSAuto":qSAuto="true"===c?!0:!1;break;case "bSaisieClav":bSaisieClav="true"===c?!0:!1;break;case "bSaisieOblAffMsgTjrs":bSaisieOblAffMsgTjrs=
"true"===c?!0:!1;break;case "bCursOnMouseOver":bCursOnMouseOver=!1;break;case "bTitSurTtesPag":bTitSurTtesPag="true"===c?!0:!1;break;case "bLogoSurTtesPag":bLogoSurTtesPag="true"===c?!0:!1}}}}function jspContenuInsere_avantRemove(a,e){if(0<a.length&&e){var d=$("#beforeProv").eq(0);0<d.length&&d.remove();a.after('<p id="beforeProv"></p>');d=$("#beforeProv").eq(0);d.before(e);d=$("#beforeProv").eq(0);d.remove()}}
function jspModalsOrdreAlea2(a,e,d,c,f,g){var h=!1,l=$("#tdsaisq"+a).eq(0);0<l.length&&0<l.closest("table.tablquregroup").eq(0).length&&(h=!0);if(!h&&(d=d.split(";"),d.length>=e&&(l=l.find(":input[id^=Q"+a+"]"),0<l.length))){var m=!1;h=l.eq(0).filter("select");1===h.length&&(m=!0);if(m){if(!bZoneWeb&&(l=!1,m=-1,a=IsInArray(c,""+a),"out"!==a&&(m=a),-1!==m&&(f=jspParseInt(f[m]),0<f&&f<=g.length&&""!==g[f-1]&&(l=!0)),!l&&(l=h.find("option"),l.length===1+e))){f=l.clone();for(a=0;a<e;a++)g=jspParseInt(d[a]),
0<g&&jspContenuInsere_avantRemove(l.eq(1+a),f.eq(g));jspContenuInsere_avantRemove(l.eq(0),f.eq(0));l.remove()}}else if(l=l.closest("td"),l.length===e){f=l.clone();for(a=0;a<e;a++)g=jspParseInt(d[a]),0<g&&jspContenuInsere_avantRemove(l.eq(a),f.eq(g-1));l.remove()}}return"ok"}
function tForm(){jspMLZZaLaFin();tVarGlob();var a=0,e;var d="";nbQtF=0;var c=document.fML.MLST.value;var f=c.split("p");c="";nbQtF=f.length-1;tF=MArrDeb1(nbQtF,0);for(a=1;a<=nbQtF;a++)""!=f[a-1]&&(c=o1PChMLST(f[a-1]),0<c.nIdVar&&(tF[c.nIdVar]=c));var g=$("table.tabletxt, table.tableimage");if(0<g.length&&(c=$("table.tablesection"),0<c.length))for(a=0;a<g.length;a++){f=g.eq(a);var h=f.attr("class");if(0<=h.indexOf("tabletxt")||0<=h.indexOf("tableimage")){var l=c.add(f);for(e=1;e<l.length;e++)l.eq(e).attr("class")===
h&&(e=jspGetClass_Prefix(l.eq(e-1),"numsection"),""!=e&&(e=jspParseInt(e.substr(9)),0<e&&(jspRemoveClass_Prefix(f,"numsection"),f.addClass("numsection"+e))),e=l.length)}}c=0;d=";";for(a=0;a<document.fML.length;a++)if("Q"===document.fML[a].name.substr(0,1)){var m=NoQGet(document.fML[a].name);-1>=d.indexOf(";"+m+";",0)&&(c+=1,d+=m+";")}d="";tidQParOrdreFlux=MArrDeb1(c,0);tNoPgQParOrdreFlux=MArrDeb1(c,0);tQOblParOrdreFlux=MArrDeb1(c,0);tNoChp_fML=MArrDeb1(c,0);c=0;h=f=";";nbPages=0;if(!bZoneWeb){var q=
[];document.fML.sIdQ_JS&&""!==document.fML.sIdQ_JS.value&&(sIdQ_JS=document.fML.sIdQ_JS.value,document.fML.sIdQ_JS.value="");""!==sIdQ_JS&&(q=sIdQ_JS.split(";"));g=[];document.fML.sTypeQ_JS&&""!==document.fML.sTypeQ_JS.value&&(sTypeQ_JS=document.fML.sTypeQ_JS.value,document.fML.sTypeQ_JS.value="");if(""!==sTypeQ_JS)for(g=sTypeQ_JS.split(";"),a=0;a<g.length;a++)""==g[a]&&(g[a]="u");var k=[];document.fML.sOrdQ_JS&&""!==document.fML.sOrdQ_JS.value&&(sOrdQ_JS=fML.sOrdQ_JS.value,fML.sOrdQ_JS.value="");
if(""!==sOrdQ_JS)k=sOrdQ_JS.split(";");else for(a=0;a<q.length;a++)k[a]=""+(a+1);l=[];document.fML.sVarAuto_JS&&""!==document.fML.sVarAuto_JS.value&&(sVarAuto_JS=document.fML.sVarAuto_JS.value,document.fML.sVarAuto_JS.value="");""!==sVarAuto_JS&&(l=sVarAuto_JS.split(";"));e=[];document.fML.sLibReadOnly_JS&&""!==document.fML.sLibReadOnly_JS.value&&(sLibReadOnly_JS=document.fML.sLibReadOnly_JS.value,document.fML.sLibReadOnly_JS.value="");""!==sLibReadOnly_JS&&(e=sLibReadOnly_JS.split(sSepPrMsg4D));
var n=[];document.fML.stSaisie_JS&&""!==document.fML.stSaisie_JS.value&&(stSaisie_JS=document.fML.stSaisie_JS.value,document.fML.stSaisie_JS.value="");""!==stSaisie_JS&&(n=stSaisie_JS.split(sSepPrMsg4D));var p=[];document.fML.sChpAModifEnJS_name_value&&""!==document.fML.sChpAModifEnJS_name_value.value&&(sChpAModifEnJS_name_value=document.fML.sChpAModifEnJS_name_value.value,document.fML.sChpAModifEnJS_name_value.value="");""!==sChpAModifEnJS_name_value&&(p=sChpAModifEnJS_name_value.split("ml_"+sSepPrMsg4D));
if(0<p.length)for(a=0;a<p.length;a++)d=p[a].split(sSepPrMsg4D),2<=d.length&&(m=d[0],d=d[1],document.fML[m]&&(document.fML[m].value=d));document.fML.MLQrIdAff&&document.fML.MLQrIdAff.setAttribute("readonly","readonly");p=!0;document.fML.MLNboL&&0<jspParseInt(document.fML.MLNboL.value)&&(p=!1);document.fML.MLNboL.value="1";bSiteGS&&(p=!1);for(a=0;a<document.fML.length;a++)if(m=document.fML[a].name,"Q"===m.substr(0,1)&&(m=NoQGet(document.fML[a].name),d=document.fML[a].id,""!=d)){var u="#"+d;var x=$(u).eq(0);
if(0<x.length){u=-1;var w=IsInArray(q,""+m);"out"!==w&&(u=w);if(-1!==u){var v=g[u];w=!1;w=x.prop("readonly");var r=document.fML[a].type;if(p)if("hidden"===r)document.fML[a].value="";else if("text"===r)"n"!=v&&(document.fML[a].value="");else if("textarea"!==r)if("select"===r||"select-one"===r)document.fML[a].options[0].selected="selected";else if("radio"===r||"checkbox"===r){document.fML[a].checked=!1;var t="label[id^=label"+d+"_]> img";$(t).removeClass("input_selected").removeClass("input_selectedZW")}t=
jspParseInt(k[u]);0<t&&(t>n.length?l.length>u&&(m=l[u],"date"===m?"text"===r&&(d=dDeb.getDate()+"/"+(dDeb.getMonth()+1)+"/"+dDeb.getFullYear(),document.fML[a].value=d):"hour"===m&&"text"===r&&(d=dDeb.getHours()+":"+dDeb.getMinutes()+":"+dDeb.getSeconds(),document.fML[a].value=d)):(t=n[t-1],""!==t&&("hidden"===r?document.fML[a].value=t:"text"===r?("n"===v&&(m=String.fromCharCode(160),t=t.replace(new RegExp(m,"g"),"")),"o"!==v?(document.fML[a].value=t,w&&e.length>u&&(d=e[u],d="&nbsp;<span class='lib-ro-gray'>"+
d+"</span>&nbsp;",x.after(d))):"o"===v&&(r=!1,m="",v=d.indexOf("M"),0<v&&(r=!0,m=d.substring(v+1)),r?(d=t.split("/"),v=IsInArray(d,m),"out"!==v&&(document.fML[a].value=1+jspParseInt(v))):(document.fML[a].value=t,w&&e.length>u&&(d=e[u],d="&nbsp;<span class='lib-ro-gray'>"+d+"</span>&nbsp;",x.after(d))))):"textarea"===r?""!==t&&(document.fML[a].innerText="",document.fML[a].innerHTML="",document.fML[a].defaultValue="",document.fML[a].value=t):"select"===r||"select-one"===r?"u"===v&&(u=jspParseInt(t),
0<u&&u<=document.fML[a].options.length&&(document.fML[a].options[u].selected="selected",document.fML[a].options[0].selected="")):"radio"===r?(u=jspParseInt(t),0<u&&d==="Q"+m+"_"+u&&(document.fML[a].checked=!0,t="label[id^=label"+d+"_]> img",$(t).addClass("input_selected"))):"checkbox"===r&&(v=d.indexOf("M"),0<v&&(m=d.substring(v+1),t="/"+t+"/",0<=t.indexOf("/"+m+"/")&&(document.fML[a].checked=!0,t="label[id^=label"+d+"_]> img",$(t).addClass("input_selected")))))))}}}}if(!bZoneWeb)for(a=0;a<document.fML.length;a++)m=
document.fML[a].name,"Q"===m.substr(0,1)&&(m=NoQGet(document.fML[a].name),-1>=f.indexOf(";"+m+";",0)&&(c+=1,tidQParOrdreFlux[c]=m,tNoChp_fML[c]=a,tF[m]&&1==tF[m].nObl&&(tQOblParOrdreFlux[c]=1),f+=m+";",d=document.fML[a].id,""!=d&&(u="#"+d,g=$(u),0<g.length&&(l=g.eq(0).closest("div[name^=div_sautDePage]"),0<l.length&&(d=l.eq(0).attr("id"),""!=d&&(l=d.substr(1),tNoPgQParOrdreFlux[c]=jspParseInt(l),-1>=h.indexOf(";"+l+";",0)&&(h+=l+";",nbPages+=1))),l="masqq"+m,u=IsInArray(tFltM_QMasq,l),"out"!==u&&
(e=g.eq(0).closest("tr[class*=trclassq]"),0<e.length?""!=l&&e.eq(0).attr("id",l):(e=g.eq(0).closest("table.tablsuperp"),0<e.length?""!=l&&e.eq(0).attr("id",l):0<g.eq(0).closest("table[class*=tablperso]").length&&""!=l&&(e=!0,p=g.eq(0).closest("span"),0<p.length&&p.eq(0).attr("id")===l&&(e=!1),e&&(l="<span id="+l+"></span>",g.eq(0).wrap(l)))))))));f="";0>=nbPages&&(nbPages=1);if(!bZoneWeb&&firefox){var z=0;var A=!0;2<=nbPages&&(c=$("div#page").eq(0),0<c.length&&(z=c.width(),0<0+z&&(z=0+z,A=!1)));c=
$("[id^=masqq]").not(function(a){return 0<$(this).find("textarea").length});0<c.length&&c.each(function(a){a=$(this).closest("table[class*=formtbl]").eq(0);if(0<a.length){var c=1;if(!A){var d=a.closest("table.pageMultiCol").eq(0);0<d.length&&(c=2,d=d.find("table[class*=formtbl]"),2<=d.length&&(c=d.length))}A?d=a.width():(d=z,2<=c&&(d=Math.round(d/c),d-=5));0<0+d&&(d=0+d-1,a=a.find("td[id^=csstit_idq]").eq(0),0<a.length&&a.css("width",d+"px"))}});c=$("textarea");0<c.length&&c.each(function(a){if(0<=
$(this).attr("class").indexOf("width100pct")&&(a=$(this).closest("td").eq(0),0<a.length&&(a=a.siblings("td").andSelf(),1===a.length))){var c=a.eq(0);if(0<c.length){a=1;if(!A){var d=c.closest("table.pageMultiCol").eq(0);0<d.length&&(a=2,d=d.find("table[class*=formtbl]"),2<=d.length&&(a=d.length))}A?c=c.width():(c=z,2<=a&&(c=Math.round(c/a),c-=5));0<0+c&&(c=0+c-1,$(this).css("width",c+"px"))}}})}l=g=a=0;f="";f=!1;for(var y in tF)if(tF[y]&&(g++,c=tF[y],1===c.nOrdAlea)&&(f=!1,a=jspParseInt(c.nIdVar),
0<a&&(h=TypeQ(c),"u"===h||"m"===h||"o"===h)&&(f=!0),f&&(f=!1,l=jspParseInt(c.nbM),0<l&&(f=!0,document.fML["Q"+a]&&(f=!saisClav(document.fML["Q"+a]))),f))){f=";";c=h=h=0;do{c++;for(e=1;e<=l;e++)h=getRandomInt(1,l),-1>=f.indexOf(";"+h+";")&&(f+=h+";");h=l;for(e=1;e<=l;e++)-1>=f.indexOf(";"+e+";")&&(h=0,e=l)}while(h<l&&999>c);h===l&&(f=f.substring(1),jspModalsOrdreAlea2(""+a,l,f,q,k,n))}if(!bZoneWeb&&(f="",n=$("table[class*=grpquhomog]"),0<n.length&&(n=n.filter("[class*=ordreLigAlea]"),0<n.length)))for(k=
0;k<n.length;k++)if(q=n.eq(k),0<q.length&&(q=q.find("tr[class*=trclassq]"),1<q.length)){y=q.length;g=!1;0<q.filter("tr[class*=altgrp]").length&&(g=!0);f=";";c=h=h=0;do{c++;for(a=1;a<=y;a++)h=getRandomInt(1,y),-1>=f.indexOf(";"+h+";")&&(f+=h+";");h=y;for(a=1;a<=y;a++)-1>=f.indexOf(";"+a+";")&&(h=0,a=y)}while(h<y&&999>c);if(h===y&&(f=f.substring(1),c=f.split(";"),c.length>=y)){f=q.clone();g&&f.removeClass("altgrp");for(a=0;a<y;a++)h=jspParseInt(c[a]),0<h&&(g&&0===a%2&&f.eq(h-1).addClass("altgrp"),jspContenuInsere_avantRemove(q.eq(a),
f.eq(h-1)));q.remove()}}if(!bZoneWeb&&(k="",n=[],document.fML.sSaisEgal2Q_JS&&""!==document.fML.sSaisEgal2Q_JS.value&&(k=document.fML.sSaisEgal2Q_JS.value),""!==k&&(n=k.split(sSepPrMsg4D)),n&&0<n.length))for(a=0;a<n.length;a++)k=n[a],""!==k&&(k=k.split(";"),4<=k.length&&(k=k[0],k="Q"+k,document.fML[k]&&(k=document.fML[k].id,"undefined"!==k&&""!==k&&$("#"+k).bind("paste",function(a){a.preventDefault()}))))}
function tstNb(a,e){var d=a.value;return""==d?!1:0<=d.indexOf(",")?(alert("\n"+sMSepDec),!1):isNaN(d)?(alert("\n"+sMNb),!1):!0}function saisieExiste(a){var e=!1;if("undefined"!=a)for(var d=0;d<a.length;d++)if(" "!==a.charAt(d)&&""!=a.charAt(d)){e=!0;break}return e}function TypeQ(a){a=a.tQ;return 0<a?"umonadh".charAt(a-1):""}function TypeSais(){return jspParseInt(document.fML.MLTS.value)}
function saisClav(a){var e=!1;a&&a.name&&-1>=a.name.indexOf("M")&&(e="text"===a.type||"TEXT"===a.type?!0:!1);return e}
function testDateSais(a){var e="";var d=a.indexOf("/");var c=a.lastIndexOf("/");if(-1!==d&&c!==d){navigator.langage.substring(0,5);var f=a.substring(0,d);d=a.substring(d+1,c);a=a.substring(c+1);var g=new Date(a,d-1,f);c=g.getDate();var h=g.getMonth()+1;g=g.getFullYear();f==c&&d==h&&a==g&&(dateSaisOK=!0,e=parseFloat(d),c=parseFloat(f),10>e&&(d="0"+e),10>c&&(f="0"+c),e=a+d+f+"")}return e}
function testQuEgalAutreQu(a,e,d){if(0<e){var c="";var f=[];d?f=d:(document.fML.sSaisEgal2Q_JS&&""!==document.fML.sSaisEgal2Q_JS.value&&(c=document.fML.sSaisEgal2Q_JS.value),""!==c&&(f=c.split(sSepPrMsg4D)));if(f){var g=-1;if(0<f.length){g=-1;for(var h=0;h<f.length;h++)c=f[h],""!==c&&(d=c.split(";"),4<=d.length&&(c=d[0],c===""+e&&(g=h,h=f.length)))}if(0<=g&&(c=f[g],""!==c&&(d=c.split(";"),4<=d.length&&(c=d[0],g=d[1],f=d[2],d=d[3],c===""+e&&(h=!1,c="Q"+c,g="Q"+g,document.fML[c]&&document.fML[g]&&(a=
a.value,g=document.fML[g].value,a===g&&(h=!0),!h))))))return h="",(e=$("#titreq"+e))&&0<e.length&&(e=e.text(),""!==e&&(h+=e+" : ")),e=f,document.fML.MLLangJS&&"en"===document.fML.MLLangJS.value&&(e=d),alert(h+e+('\n"'+a+'" / "'+g+'"')),document.fML[c].value="",!1}}return!0}
function quotaTestSais(a,e){var d="";var c=[];document.fML.sQuota_JS&&""!==document.fML.sQuota_JS.value&&(d=document.fML.sQuota_JS.value);""!==d&&(c=d.split(sSepPrMsg4D));if(c&&0<c.length)for(var f=0;f<c.length;f++){var g=!1,h="",l=d=!1,m=!1,q="",k=c[f];var n="_msg_=";var p=k.indexOf(n);0<=p&&(h=k.substring(p+n.length),k=k.substring(0,p));n="_action_=";p=k.indexOf(n);if(0<=p&&(n=k.substring(p+n.length),k=k.substring(0,p),""!==n))for(p=n.split(";"),n=IsInArray(p,"close"),"out"!==n&&(d=!0),n=IsInArray(p,
"nosubmit"),"out"!==n&&(l=!0),n=0;n<p.length;n++){var u=p[n];0===u.indexOf("url_")&&(u=u.substring(4),""!==u&&(m=!0,q=u))}p=k.indexOf("&");-1!==p?(n=k.substring(0,p),k=k.substring(p+1),n=n.split("_"),2<=n.length&&(p=n[0],jspParseInt(p)===e&&(p=n[1],p===a.value&&(p=k.split("_"),2<=p.length&&(k=p[0],k="Q"+k,p=p[1],document.fML[k]&&(n=NumChamp(k),"radio"!=document.fML[n].type?document.fML[k].value==p&&(g=!0):document.fML[k+"_"+p]&&document.fML[k+"_"+p].checked&&(g=!0))))))):(n=c[f].split("_"),2<=n.length&&
(p=n[0],jspParseInt(p)===e&&(p=n[1],p===a.value&&(g=!0))));g&&(f="",document.fML.MLLangJS&&(f=document.fML.MLLangJS),h=""!==h?h:"en"===f?"Quota: exceeded":"Quota d\u00e9pass\u00e9",document.fML.MLSubmitForbiddMsg&&(document.fML.MLSubmitForbiddMsg.value=h),alert(h),"radio"===a.type?(tU[a.name]="0",a.checked=!1):a.value="",f=c.length,l&&document.fML.MLSubmitForbidden&&(document.fML.MLSubmitForbidden.value="1"),d&&document.fML.MLSubmitForbidden&&document.fML.MLSubmitForbiddMsg&&(document.fML.MLSubmitForbidden.value=
"1",document.fML.submit()),m&&""!==q&&window.location.replace(q))}}
function tstS(a,e){if(bCtlSais_actif){var d=!0;var c;e="";0>=nbQtF&&tForm();sQMErr="";TypeSais();var f=NoQGet(a.name);if(0<f){var g=o1PtF(f);e=TypeQ(g)}if("d"===e){if(""!=a.value&&(d=!1,""!=testDateSais(a.value)&&(d=!0),!d))return alert(sDateInval+a.value),errSs(a,"")}else if("u"===e&&saisClav(a)){""!=a.value&&quotaTestSais(a,f);if(""!=a.value)if(tstNb(a,0)){var h=jspParseInt(a.value);if(0>h||h>g.nbM)d=!1}else d=!1;if(!d)return alrt(1,0,g.nbM,f),errSs(a,"")}else if("u"===e)"select"===a.type||"select-one"===
a.type?quotaTestSais(a,f):"radio"===a.type&&(tU[a.name]==a.value?(tU[a.name]="0",a.checked=!1):tU[a.name]=a.value,a.checked&&quotaTestSais(a,f),d="label[id^=label"+a.name+"_]> img",$(d).removeClass("input_selected").removeClass("input_selectedZW"),a.checked&&(d="#label"+a.id+"> img",bZoneWeb?$(d).addClass("input_selectedZW"):$(d).addClass("input_selected")));else if("n"===e){if(""!=a.value){if(tstNb(a,g.nbD)){var l=parseFloat(a.value);if(l<g.nInf||l>g.nSup)d=!1,alrt(1,g.nInf,g.nSup,f)}else d=!1;if(!d)return errSs(a,
"")}}else if("m"===e)if(saisClav(a)){if(""!=a.value){var m=tQmo(a.value,g.nbD,g.nbM,f);if("-1"==m)return errSs(a,"");a.value=m}}else{if(d=document.fML[a.name].checked)if(h=g.nbD,0<h&&h<g.nbM){h=0;for(c=1;c<=g.nbM;c++)m="Q"+f+"M"+c,document.fML[m].checked&&h++;if(h>g.nbD)return alrt(2,0,g.nbD,f),document.fML[a.name].checked=!1}for(c=1;c<=g.nbM;c++)m="Q"+f+"M"+c,d="#label"+m+"> img",document.fML[m].checked?bZoneWeb?$(d).addClass("input_selectedZW"):$(d).addClass("input_selected"):$(d).removeClass("input_selected").removeClass("input_selectedZW")}else if("o"===
e)if(saisClav(a)){if(""!=a.value){m=tQmo(a.value,g.nbD,g.nbM,f);if("-1"==m)return errSs(a,"");a.value=m}}else{if(tstNb(a,0)){if(h=jspParseInt(a.value),1>h||h>g.nbD)d=!1,alrt(1,1,g.nbD,f)}else d=!1;if(d){l=h=0;for(c=1;c<=g.nbM;c++)m="Q"+f+"M"+c,document.fML[m].value&&(h++,document.fML[m].value==a.value&&l++);h>g.nbD?(d=!1,alrt(2,0,g.nbD,f)):1<l&&(d=!1,alrt(3,0,0,f))}if(!d)return errSs(a,"")}else if("a"===e){d=testQuEgalAutreQu(a,f);if(!d)return errSs(a,"");if(a.value.length>g.nbD)return alert("\n"+
sMNbCarMax+g.nbD),h=g.nbD,a.value=a.value.substring(0,h),errSs(a,a.value)}jspbSubmitForbidden()||QuSAuto(a.name,typeFAllerAouQSuivAuto)}return!0}function NumChamp(a){return bNoQ2IdVar&&(a=NoQGet(a),a=IsInArray(tidQParOrdreFlux,a),0<=a)?tNoChp_fML[a]:-1}function NoQGet(a){var e=a.indexOf("M");a=0<e?a.substring(1,e):a.substring(1,a.length);return jspParseInt(a)}function IsInArray(a,e){var d="out",c;for(c in a)if(a.hasOwnProperty(c)&&a[c]==e&&(d=c),"out"!==d)break;return d}
function QuEstMasqueeOuHidden(a,e){var d=!1,c=!1,f;if(-1<e){var g=document.fML[e].type;"hidden"===g?d=!0:(zePos=IsInArray(tFltM_QMasq,"masqq"+a),"out"!==zePos&&(g=tFltM_QMasq[zePos],""!=g&&(f=document.getElementById(g)))&&(c=!0,"none"===f.style.display&&(d=!0)),!d&&!c&&"undefined"!=typeof document.fML[e].id&&(g=document.fML[e].id,""!=g&&(g=$("#"+g),0<g.length))&&(f=g.closest("table.tablquregroup").eq(0),0<f.length&&(f=f.get(0))&&(c=!0,"none"===f.style.display&&(d=!0)),c||(c=g.closest("table[class^=formtbl]").eq(0),
0<c.length&&(d=TablEstDansSectionMasquee(c)))))}return d}
function TstSObl(a,e){var d={obl_ok:"1",fld_focus:"",fld_type:""},c=!1,f="",g=0,h="";if(!bZoneWeb){tSs=TypeSais();for(var l in tidQParOrdreFlux){var m=tidQParOrdreFlux[l];var q=document.getElementById("oblMsgQ"+m);!bSaisieOblAffMsgTjrs&&q&&"block"===q.style.display&&(q.style.display="none");if(a[l]&&1==a[l]&&(q=o1PtF(m),f=TypeQ(q),g=NumChamp("Q"+m),h="",-1<g)){var k=!QuEstMasqueeOuHidden(m,g);h=document.fML[g].type;if(k){var n=0;if((k=saisClav(document.fML[g]))||"m"!==f&&"o"!==f)if(k||"u"!==f)saisieExiste(document.fML[g].value)||
(c=!0);else if("radio"===h){for(k=1;k<=q.nbM;k++)document.fML["Q"+m+"_"+k].checked&&n++;0>=n&&(c=!0)}else q=document.fML[g].value,saisieExiste(q)?"0"==q&&(c=!0):c=!0;else{for(k=1;k<=q.nbM&&!("m"===f?document.fML["Q"+m+"M"+k].checked&&n++:saisieExiste(document.fML["Q"+m+"M"+k].value)&&n++,0<n);k++);0>=n&&(c=!0)}}}if(c)return alrt(4,m,0,m),(q=document.getElementById("oblMsgQ"+m))&&"none"===q.style.display&&(q.style.display="block"),bScrollTo&&(c="titreq"+m,0>=$("#"+c).length&&(c="Q"+m),jspScrollToElem(c,
20)),c="",(k=saisClav(document.fML[g]))||"m"!==f&&"o"!==f?k||"u"!==f?f=g:"radio"===h?(c="radio",f="Q"+m):f=g:f="Q"+m+"M1",d.fld_focus=f,d.fld_type=c,d.obl_ok="0",d}}d.obl_ok=c?"0":"1";return d}
function QuNFocus(a){var e=NumChamp("Q"+a);if(-1<e)if(stypeInput=document.fML[e].type,"hidden"===stypeInput)bScrollTo?jspScrollToElem("Q"+a,20):document.location.href="#tq"+a;else{var d=!0,c=document.getElementById("masqq"+a);c&&"none"===c.style.display&&(d=!1);d?document.fML[e].focus():bScrollTo?jspScrollToElem("titreq"+a,20):document.location.href="#tq"+a}}
function Crits1V_test(a,e){var d,c,f=!1,g=tFltCrit["f"+a][e].length,h=[];for(c=1;c<=g;c++)h[c-1]="n";zeFld=NumChamp(e);if(-1<zeFld){var l=document.fML[zeFld].type;var m=NoQGet(e);var q=o1PtF(m);var k=TypeQ(q);var n="";switch(k){case "u":"radio"!==l&&(n=document.fML[zeFld].value);break;case "n":var p=!1;var u=0;n=document.fML[zeFld].value;""==n?p=!0:u=parseFloat(n);break;case "m":saisClav(document.fML[zeFld])&&(n=document.fML[zeFld].value,n="/"+n+"/");break;case "a":document.fML[zeFld]&&(n=document.fML[zeFld].value);
break;case "d":var x=d=!1;if(document.fML[zeFld])if(n=document.fML[zeFld].value,""==n)x=!0;else if(""!=n){var w=testDateSais(n);""!=w&&(d=!0)}}for(var v=1;v<=g;v++){var r=tFltCrit["f"+a][e][v-1].split(",");if(3<=r.length){var t=r[1];c=r[2];'""'===c&&(c="");r=!1;if("u"===k){if("radio"===l)if(0>=c)for(r=!0,c=1;c<=q.nbM;c++){if(document.fML[e+"_"+c].checked){r=!1;break}}else r=!1,document.fML[e+"_"+c]&&document.fML[e+"_"+c].checked&&(r=!0);else r=jspParseInt(n)===jspParseInt(c);r="!"===t?!r:r}else if("n"===
k)p?"!"===t?r=""!=c:"="===t&&(r=""==c):r="!"===t?n!=c:t===codComp_gt?u>parseFloat(c):t===codComp_gtEqual?u>=parseFloat(c):t===codComp_lt?u<parseFloat(c):t===codComp_ltEqual?u<=parseFloat(c):n===c;else if("m"===k)r=!1,saisClav(document.fML[zeFld])?-1!==n.indexOf("/"+c+"/")&&(r=!0):(c="Q"+m+"M"+c,document.fML[c]&&document.fML[c].checked&&(r=!0)),r="!"===t?!r:r;else if("o"!==k)if("a"===k)r=!1,document.fML[zeFld]&&("="===t?r=n==c:"!"===t?r=n!=c:"C"===t?r=-1<n.indexOf(c):"N"===t?r=-1===n.indexOf(c):"O"===
t?r=-1<n.indexOf(c):"P"===t&&(r=-1===n.indexOf(c)));else if("d"===k){var z=!1;if(8<=c.length||""==c)z=!0;z&&(x?"!"===t?r="!00/00/00!"!==c:"="===t&&(r="!00/00/00!"===c):d&&(r="!"===t?w!=c:t===codComp_gt?w>c:t===codComp_gtEqual?w>=c:t===codComp_lt?w<c:t===codComp_ltEqual?w<=c:w==c))}r&&(h[v-1]="ok")}}x=w=0;for(v=1;v<=g;v++)if(r=tFltCrit["f"+a][e][v-1].split(","),3<=r.length)if(d=r[0],"s"===d){if("ok"===h[v-1]){f=!1;break}}else"o"===d?"ok"===h[v-1]&&(f=!0):(w+=1,"ok"===h[v-1]&&(f=!0,x+=1));f&&2<=w&&
x<w&&(f=!1)}return f}function SectionExistDsHtml_etEstAff(a){var e="",d=$("#"+a).closest("table.tablesection");0<d.length&&(e=a+";",e=0<=d.eq(0).attr("class").indexOf("titresect_masq")?e+"masq":e+"aff");return e}
function FiltSectionAffMasq(a,e){var d=0;d=jspGetClass_Prefix(a,"titsection").substring(10);d=parseInt(d,10);if(0<d){var c="table.numsection"+d;switch(e){case !1:var f=$(c);0<f.length&&f.css("display","none");break;case !0:if(f=$(c).not("table.tablesection"),0<f.length){f.css("display",displayTableAff);f=f.filter(function(a){a=$(this).filter("[id^=masqq]").length;if(0<a)return!0;a=$(this).find("[id^=masqq]").length;if(0<a)return!0;a=$(this).find("[id^=txt], [id^=im], [id^=grpquhomog], [id^=tablperso]").length;
return 0<a?!0:!1});if(0<f.length)for(var g=0;g<f.length;g++){var h=!1;c=f.eq(g).attr("id");"undefined"!=typeof c&&0===c.indexOf("masqq")&&(h=!0);h||(c=f.eq(g).find("[id^=txt], [id^=im], [id^=grpquhomog], [id^=tablperso]").eq(0).attr("id"));tElemMasqOuAffParFilt[c]&&"m"===tElemMasqOuAffParFilt[c]&&(0===c.indexOf("masqq")?$("#"+c).css("display","none"):$("#"+c).closest("table.tabletxt, table.tableimage, table.tablquregroup").eq(0).css("display","none"))}f=$("td.titsection"+d).closest("table.tablesection");
0<f.length&&(c=f.eq(0).attr("class"),0<=c.indexOf("titresect_masq")||f.css("display",displayTableAff))}}}}
function QuSAuto_QDestGet(a){var e=-1;if(qSAuto&&""!=a){var d=NumChamp(a);if(-1<d){var c=document.fML[d].type;var f=!0;d=NoQGet(a);var g=o1PtF(d);g=TypeQ(g);if("m"===g||"o"===g)f=!1;"radio"===c&&(tU[a]&&"0"!=tU[a]||(f=!1));if(f&&bNoQ2IdVar&&(a=IsInArray(tidQParOrdreFlux,d),a=parseInt(a,10),0<=a&&tidQParOrdreFlux[a+1]&&(d=tidQParOrdreFlux[a+1],bQSAuto=!0,e=d,tidQParOrdreFlux[a+2]))){a+=1;f=!0;c=e;do d=NumChamp("Q"+c),-1<d&&((d=QuEstMasqueeOuHidden(c,d))?(a+=1,tidQParOrdreFlux[a]?c=tidQParOrdreFlux[a]:
f=!1):(f=!1,d=tidQParOrdreFlux[a],bQSAuto=!0,e=d));while(f)}}}return e}
function QuSAuto(a,e,d){var c;var f=!0;var g=!1;"undefined"!=typeof d&&"QuAffSi_Onload$"===d&&(g=!0);g||jspbSubmitForbidden("avecAlerte")&&(f=!1);if(f&&!bZoneWeb){bContinue=!0;d=-1;tSs=TypeSais();noQ=NoQGet(a);a="Q"+noQ;g=!1;for(iTypeFilt=1;2>=iTypeFilt;iTypeFilt++){var h=[];var l=0;f=c=!1;if(""!=a)if(1===iTypeFilt)e===typeFAllerAouQSuivAuto&&tFltRenv_V_idFlt[a]&&(h=tFltRenv_V_idFlt[a].split(","),l=h.length,0<l&&(f=!0));else if((e===typeFAffSi||e===typeFAllerAouQSuivAuto)&&tFltM_V_idFlt[a]&&(h=tFltM_V_idFlt[a].split(","),
l=h.length,0<l)){f=!0;for(var m="",q=1;q<=l;q++){var k=parseInt(h[q-1],10);if(0<k&&tFltM_ObjMasq["f"+k]){var n=tFltM_ObjMasq["f"+k];""!=n&&0===n.indexOf("section")&&(m+=k+",")}}if(""!=m){m=","+m;for(q=1;q<=l;q++)k=parseInt(h[q-1],10),0<k&&0>m.indexOf(","+k+",")&&(m+=k+",");m=m.substr(1);h=m.split(",");l=h.length;0<l&&0>=parseInt(h[l-1],10)&&--l}}if(f&&0<l)for(q=1;q<=l;q++){f=!1;k=parseInt(h[q-1],10);if(0<k&&tFltV["f"+k]){f=!0;n=tFltV["f"+k].length;m=[];for(var p=1;p<=n;p++)m[p-1]="n";for(p=1;p<=n;p++){var u=
tFltV["f"+k][p-1].split(",");if(2<=u.length){var x=u[0];tFltCrit["f"+k]&&tFltCrit["f"+k][x]&&(x=Crits1V_test(k,x))&&(m[p-1]="ok")}}var w=x=0;for(p=1;p<=n;p++)if(u=tFltV["f"+k][p-1].split(","),2<=u.length)if(u=u[1],"s"===u){if("ok"===m[p-1]){c=!1;break}}else"o"===u?"ok"===m[p-1]&&(c=!0):(x+=1,"ok"===m[p-1]&&(c=!0,w+=1));c&&2<=x&&w<x&&(c=!1)}if(f)if(1===iTypeFilt)c&&tFltRenv_QDest["f"+k]&&(d=tFltRenv_QDest["f"+k],q=l,g=!0);else if(2===iTypeFilt)if(tFltM_QMasq["f"+k]){if(f=tFltM_QMasq["f"+k],""!=f&&
(k=document.getElementById(f)))switch(c){case !1:tElemMasqOuAffParFilt[f]="m";k.style.display="none";break;case !0:tElemMasqOuAffParFilt[f]="a",c=$("#"+f).closest("table[class^=formtbl]"),c=TablEstDansSectionMasquee(c),c||(k.style.display="TR"===k.tagName||"tr"===k.tagName?"table-row":"TABLE"===k.tagName||"table"===k.tagName?displayTableAff:"block")}}else if(tFltM_ObjMasq["f"+k]&&(n=tFltM_ObjMasq["f"+k],""!=n&&(k=$("#"+n).eq(0),0<k.length)))if(tElemMasqOuAffParFilt[n]=c?"a":"m",0===n.indexOf("section"))FiltSectionAffMasq(k,
c);else{if(0===n.indexOf("video"))var v=k.closest("table.tablevideo").eq(0);else if("im"===n.substr(0,2))v=k.closest("table.tableimage").eq(0);else if("txt"===n.substr(0,3))v=k.closest("table.tabletxt").eq(0);else if(0===n.indexOf("grpquhomog")||0===n.indexOf("tablperso"))v=k.closest("table.tablquregroup").eq(0);if(0<v.length)switch(c){case !1:v.eq(0).css("display","none");break;case !0:(c=TablEstDansSectionMasquee(v))||v.css("display",displayTableAff)}}c=!1}}h=v=!1;g||e!==typeFAllerAouQSuivAuto||
(d=QuSAuto_QDestGet(a),-1!=d&&(h=!0));(g||h)&&-1!=d&&(v=!0);v&&(a=pCour,f=!0,e=!1,bNoQ2IdVar&&(g=IsInArray(tidQParOrdreFlux,d),0<=g&&(a=tNoPgQParOrdreFlux[g])),a>pCour&&(f=TstPage(pCour,pCour))&&(e=!0,PageCourMaj(a,"qsAllerAQ")),f&&(QuNFocus(d),e&&window.scrollTo(0,0)))}}
function QuAffSi_Onload(){bEnrChaquePage=!1;if(bZoneWeb){var a=$("div[name^=div_sautDePage]");0<a.length&&a.css("display","block");a=$("div[name*=lien_sautDePage]");0<a.length&&a.css("display","block")}else{11===detectIE11()&&(a=$("label > img").closest("label"),0<a.length&&a.addClass("ie11_label_if_img"),a=$("label").find("img"),0<a.length&&a.addClass("ie11_img_in_label"));a=$("*[id^=masqq]");0<a.length&&a.css("display",displayTableAff);a=$("div[name^=div_sautDePage]");0<a.length&&a.css("display",
"none");a=$("div[name*=lien_sautDePage]");0<a.length&&a.css("display","none");2<=nbPages&&(document.getElementById(idPgLien+1)&&(document.getElementById(idPgLien+1).style.display="block"),document.getElementById(idPgDiv+1)&&(document.getElementById(idPgDiv+1).style.display="block"));a=$(":radio:checked, :checkbox:checked").closest("td");0<a.length&&(a=a.find("img.butt_image"),0<a.length&&(a.removeClass("input_selected").removeClass("input_selectedZW"),a.addClass("input_selected")));a=[];var e=bEnrChaquePage;
bEnrChaquePage=!1;for(var d=0;d<document.fML.length;d++)if("Q"===document.fML[d].name.substr(0,1)){var c=NoQGet(document.fML[d].name);tFltM_V_idFlt["Q"+c]&&!a["Q"+c]&&(a["Q"+c]="x",QuSAuto("Q"+c,typeFAffSi,"QuAffSi_Onload$"))}bEnrChaquePage=e;2<=nbPages&&document.fML.MLEnrParPage&&"1"===document.fML.MLEnrParPage.value&&(bEnrChaquePage=!0);bEnrChaquePage&&document.fML.MLNoPageEnr&&(a=jspParseInt(document.fML.MLNoPageEnr.value),2<=a&&a<=nbPages&&a>pCour&&PageCourMaj(a));bSiteGS&&document.fML.Q1&&document.fML.Q1.focus()}}
function fEnvDefinitif(a){if(fEnv()){var e=o1PtF(a);if("u"===TypeQ(e)&&(a="Q"+a,e=NumChamp(a),-1<e)){var d=document.fML[e].type;"hidden"===d||"select"===d||"select-one"===d?document.fML[e].value="1":saisClav(document.fML[e])?document.fML[e].value="1":document.fML[a+"_1"].checked=!0;document.fML.MLNbSubm&&(document.fML.MLNbSubm.value="1");document.fML.submit()}}}function jspParseInt(a){return parseInt(a,10)}
function fEnv(){var a;if(bZoneWeb||jspbSubmitForbidden("avecAlerte"))return!1;b=!0;tSs=TypeSais();var e;(e=TstSObl(tQOblParOrdreFlux))&&(b="1"===e.obl_ok);var d="";e=[];document.fML.sSaisEgal2Q_JS&&""!==document.fML.sSaisEgal2Q_JS.value&&(d=document.fML.sSaisEgal2Q_JS.value);""!==d&&(e=d.split(sSepPrMsg4D));if(e&&0<e.length)for(a=0;a<e.length;a++)if(d=e[a],""!==d&&(d=d.split(";"),4<=d.length&&(d=d[0],document.fML["Q"+d]))){var c=o1PtF(d);"a"!==TypeQ(c)||testQuEgalAutreQu(document.fML["Q"+d],d,e)||
(b=!1,a=e.length)}b&&(e=!1,document.fML.MLTi&&(e=!0),e&&(e=jspParseInt(document.fML.MLTi.value),0<e&&(a=new Date,a=a.getTime()-dDeb.getTime(),a/1E3<e&&(alert(sMinTime+e+" "+sMinTimeSec),b=!1))));if(!b)return!1;if(""!=sQMErr)return document.fML[sQMErr].focus(),""==document.fML[sQMErr].value&&(sQMErr=""),!1;if(bSiteGS)for(b=!0,e=0;e<document.fML.length-1;e++)if("MLNbSubm"===document.fML[e].name){if(0<jspParseInt(document.fML[e].value))return alert("\n"+sDejaEnv),!1;document.fML[e].value="1";e=document.fML.length}if(b)return document.fML.MLNbSecSais&&
(a=new Date,a=a.getTime()-dDeb.getTime(),e=jspParseInt(""+a/1E3),document.fML.MLNbSecSais.value=""+e),dDeb=new Date,a=new Date,document.fML.MLHO.value=location.host,document.fML.MLDA.value="d"+a.getDate()+"m"+(a.getMonth()+1)+"y"+a.getFullYear(),document.fML.MLDA.value+="h"+a.getHours()+"n"+a.getMinutes()+"s"+a.getSeconds(),isSubmit=1,document.fML.MLNbSubm&&(document.fML.MLNbSubm.value="1"),document.fML.MLNoPageEnr&&(document.fML.MLNoPageEnr.value=""),!0}tU=[];