function popupcentree(D,A,C,B){var F=(screen.height-C)/2;var E=(screen.width-A)/2;window.open(D,"","top="+F+",left="+E+",width="+A+",height="+C+","+B);}function refreshOpener(B,A){B.opener.location.href=A;B.close();}function popup(C,A,D){var B;var A=500;var D=520;B=window.open(C,"popup","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+A+",height="+D);}function oWindow(C,B,D){var A=(screen.availWidth/2)-(B/2);var F=(screen.availHeight/2)-(D/2);var E="width="+B+",height="+D+",left="+A+",top="+F;window.open(C,"",E);}function PopupNoScroll(B,A,C,F,E){var D=null;D=window.open(B,A,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+C+",height="+F);if(E==""){E="Les Popups sont bloquées sur votre navigateur !";}if(D==null){alert(E);}else{D.focus();}}function PopupScroll(B,A,C,F,E){var D=null;D=window.open(B,A,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+C+",height="+F);if(E==""){E="Les Popups sont bloquées sur votre navigateur !";}if(D==null){alert("Les Popups sont bloquées sur votre navigateur !");}else{D.focus();}}function PopupCredit(A){switch(A){case"FR":PopupNoScroll("../140-Divers/90-10_Credits-Rouge-Agilan.asp","Credit",439,322);break;case"EN":PopupNoScroll("../140-Divers/90-10_Credits-Rouge-Agilan-EN.asp","Credit",439,322);break;}}function IsBadChar(A){badchars="éèàêùïîü|ç&#^$£%()/§?!µ?,;:=+°\"\\²&~'<{([`])}>*";for(i=0;i<A.length;i++){tmp=A.substring(i,i+1);if(badchars.indexOf(tmp,0)!=-1){return true;}}return false;}function IsEmail(B){var C=1;var A=B.value.split(" ");if(B.value==""){return false;}if(IsBadChar(B.value)){return false;}if((A.length>C)||(B.value.indexOf("@")<2)||(B.value.lastIndexOf(".")+2>B.value.length)||(B.value.lastIndexOf(".")<B.value.indexOf("@")+3)){return false;}else{return true;}}function IsNum(A){chiffre="1234567890";for(i=0;i<A.length;i++){tmp=A.substring(i,i+1);if(chiffre.indexOf(tmp,0)==-1){return false;}}return true;}
