Warning: file_put_contents(bundles/compress_fonctions_form.js): failed to open stream: No such file or directory in /home/cms/_public/js/js.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /home/cms/_public/js/js.php:109) in /home/cms/_public/js/js.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/cms/_public/js/js.php:109) in /home/cms/_public/js/js.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/cms/_public/js/js.php:109) in /home/cms/_public/js/js.php on line 112
function dei(ido) { return document.getElementById(ido); } function del_error(id, defaultclass) { if (defaultclass == null) defaultclass = "button"; else defaultclass = ""; if (document.getElementById(id)) document.getElementById(id).className = defaultclass; //if (document.getElementById('error_' + id)) document.getElementById('error_' + id).style.display = 'none'; if (id == "a_cgv" && document.getElementById('label_' + id)) document.getElementById('label_' + id).className = 'inline'; } function passwordStrength(password) { var desc = new Array(); var score = 0; //if password bigger than 6 give 1 point if (password.length > 6) score++; //if password has both lower and uppercase characters give 1 point if ( ( password.match(/[a-z]/) ) && ( password.match(/[A-Z]/) ) ) score++; //if password has at least one number give 1 point if (password.match(/\d+/)) score++; //if password has at least one special caracther give 1 point if ( password.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/) ) score++; //if password bigger than 12 give another 1 point if (password.length > 12) score++; var tds = document.getElementById("passwordquality").getElementsByTagName("td"); for (i=0; i= i && password != "") tds[i].className = "q" + score; } if (password != "") document.getElementById("passwordquality_q" + score).style.display = ''; } function changeEtat(obj, tab) { for (var i=0; i 0) ido.className = ido.className.replace(class_name,""); return true; } ; $.fn.toUnit=function(d,a){a=jQuery.extend({scope:"body"},a);var c=parseInt(this[0],10);var e=jQuery('
').appendTo(a.scope);var b=e.width()/10000;e.remove();return(c/b).toFixed(8)};$(window).bind("load",function(){resize_height()});$(function(){stickyZone()});function resize_height(){$(".z_col_median").css("height","auto");var b=-1;var a=-1;$(".z_col_median").each(function(c){if($(this).outerHeight(false)>b){b=$(this).outerHeight(false);a=c}});$(".z_col_fullheight").each(function(){$(this).css("height",parseInt(b-parseInt($(this).css("padding-top"))-parseInt($(this).css("padding-bottom")))+"px")})}jQuery.extend({unparam:function(a){var b={};$.each(a.split("&"),function(){var c=this.split("=");var d=this.split("[]");if(d.length>1){if(!b[d[0]]){b[d[0]]=new Array()}b[d[0]].push(c[1])}else{if(c[0]!=""){b[c[0]]=c[1]}}});return b}});var content;var collec,i;var initSize=0;var oldSize="";var pos;var sizeInited=0;function setSize(a,b){$("."+b).each(function(){setSizeByObject(a,$(this)[0])});resize_height()}function setSizeByObject(a,b){oldSize=b.style.fontSize;if(oldSize==""){oldSize="100%"}pos=oldSize.indexOf("%");oldSize=oldSize.substring(0,pos)*1;a=a*1;if(((oldSize>80)&&(a<-1))||((oldSize<200)&&(a>1))){a=oldSize+a}else{a=oldSize}b.style.fontSize=a+"%"}function protected_mail(b){b=b.replace(/!SPAM!/gi,"@");b=b.replace(/,/gi,";");var a=window.open("mailto:"+b,"_self")}function ajuste_image(b,a){obj1=document.getElementById("ajusteimg_ext_"+b);obj2=document.getElementById("ajusteimg_ext_"+a);if(document.getElementById("ajusteimg_"+b)!=null&&document.getElementById("ajusteimg_"+a)!=null){y1=obj1.offsetTop;y2=obj2.offsetTop;newheight=Math.abs(y1-y2)+1;if(y1>y2){document.getElementById("ajusteimg_"+a).height=newheight}else{document.getElementById("ajusteimg_"+b).height=newheight}}}var newWin=null;function closeWin(){if(newWin!=null){if(!newWin.closed){newWin.close()}}}function popupCentrer(d,a,c,g,b){if(g==1){closeWin()}var f=(screen.height-c)/2;var e=(screen.width-a)/2;newWin=window.open(d,"popup","top="+f+",left="+e+",width="+a+",height="+c+","+b);newWin.document.close();newWin.focus()}function popupCentrerId(d,g,a,c,b){var f=(screen.height-c)/2;var e=(screen.width-a)/2;newWin=window.open(d,"page"+g,"top="+f+",left="+e+",width="+a+",height="+c+","+b);newWin.document.close();newWin.focus()}var ok=0;function stripslashes(a){return a.replace(/(\\)([\\\'\"])/g,"$2")}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b=4)&&is_ie&&is_win){theSelection=document.selection.createRange().text;if(theSelection){document.selection.createRange().text=bbtags[bbnumber]+theSelection+bbtags[bbnumber+1];txtarea.focus();theSelection="";return}}else{if(txtarea.selectionEnd&&(txtarea.selectionEnd-txtarea.selectionStart>0)){mozWrap(txtarea,bbtags[bbnumber],bbtags[bbnumber+1]);return}}for(i=0;i/gi,"");if(fadein){$("#"+div_a_recharger).hide().html(texte).fadeIn(400)}else{if(div_a_recharger!=""){$("#"+div_a_recharger).html(texte)}}if(js_after!=""){eval(js_after)}eval_script_after(texte);$(".z_col_median").css("height","auto");setTimeout("resize_height()",200)}})}function recharge_async(div_a_recharger,lien_pour_recharger,paramPost,js_after){var xhr_object=null;if(window.XMLHttpRequest){xhr_object=new XMLHttpRequest()}else{if(window.ActiveXObject){try{xhr_object=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){xhr_object=new ActiveXObject("Microsoft.XMLHTTP")}}else{return(false)}}if(paramPost==null){xhr_object.onreadystatechange=function(){if(xhr_object.readyState==4){if(div_a_recharger!=""&&document.getElementById(div_a_recharger)){document.getElementById(div_a_recharger).innerHTML=xhr_object.responseText}eval_script_after(xhr_object.responseText);if(js_after!=""){eval(js_after)}}};xhr_object.open("GET",lien_pour_recharger,true);xhr_object.send(null)}else{xhr_object.onreadystatechange=function(){if(xhr_object.readyState==4){if(div_a_recharger!=""&&document.getElementById(div_a_recharger)){document.getElementById(div_a_recharger).innerHTML=xhr_object.responseText}eval_script_after(xhr_object.responseText);if(js_after!=""){eval(js_after)}}};xhr_object.open("POST",lien_pour_recharger,true);xhr_object.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr_object.send(paramPost)}return true}function eval_script_after(texte){if(texte&&texte!=""){var html_js_after="";var TabMyResult=texte.split(/