if(typeof wmdeconcept=="undefined"){var wmdeconcept=new Object()}if(typeof wmdeconcept.util=="undefined"){wmdeconcept.util=new Object()}if(typeof wmdeconcept.SWFObjectUtil=="undefined"){wmdeconcept.SWFObjectUtil=new Object()}wmdeconcept.SWFObject=function(M,B,L,D,H,J,F,E,C,K,I){if(!document.getElementById){return }this.DETECT_KEY=I?I:"detectflash";this.skipDetect=wmdeconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(M){this.setAttribute("swf",M)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new wmdeconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=wmdeconcept.SWFObjectUtil.getPlayerVersion();if(J){this.addParam("bgcolor",J)}var A=E?E:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",F);this.setAttribute("doExpressInstall",false);var G=(C)?C:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(K){this.setAttribute("redirectUrl",K)}};wmdeconcept.SWFObject.prototype={setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C.push(B+"="+A[B])}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}B='0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}B='';B+='';var C=this.getParams();for(var E in C){B+=''}var A=this.getVariablePairs().join("&");if(A.length>0){B+=''}B+=""}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new wmdeconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};wmdeconcept.SWFObjectUtil.getPlayerVersion=function(){var D=new wmdeconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){D=new wmdeconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(C){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");D=new wmdeconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(C){if(D.major==6){return D}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(C){}}if(B!=null){D=new wmdeconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}return D};wmdeconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};wmdeconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.majorA.major){return true}if(this.minorA.minor){return true}if(this.rev0){var B=document.styleSheets[document.styleSheets.length-1];if(typeof B.addRule=="object"){B.addRule(A,E)}}},setContainerCSS:function(D){var C=UFO.foList[D];var A=/%/.test(C.width)?"":"px";var B=/%/.test(C.height)?"":"px";UFO.createCSS("#"+D,"width:"+C.width+A+"; height:"+C.height+B+";");if(C.width=="100%"){UFO.createCSS("body","margin-left:0; margin-right:0; padding-left:0; padding-right:0;")}if(C.height=="100%"){UFO.createCSS("html","height:100%; overflow:hidden;");UFO.createCSS("body","margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;")}},createElement:function(A){return(UFO.uaHas("xml")&&typeof document.createElementNS!="undefined")?document.createElementNS("http://www.w3.org/1999/xhtml",A):document.createElement(A)},createObjParam:function(C,D,B){var A=UFO.createElement("param");A.setAttribute("name",D);A.setAttribute("value",B);C.appendChild(A)},uaHas:function(E){var D=UFO.ua;switch(E){case"w3cdom":return(typeof document.getElementById!="undefined"&&typeof document.getElementsByTagName!="undefined"&&(typeof document.createElement!="undefined"||typeof document.createElementNS!="undefined"));case"xml":var A=document.getElementsByTagName("meta");var C=A.length;for(var B=0;BB||(UFO.fv[0]==B&&UFO.fv[1]>=A))?true:false},writeSWF:function(E){var G=UFO.foList[E];var I=document.getElementById(E);if(UFO.pluginType=="npapi"){if(UFO.uaHas("gecko")||UFO.uaHas("xml")){while(I.hasChildNodes()){I.removeChild(I.firstChild)}var J=UFO.createElement("object");J.setAttribute("type","application/x-shockwave-flash");J.setAttribute("data",G.movie);J.setAttribute("width",G.width);J.setAttribute("height",G.height);J.setAttribute("style","vertical-align:bottom");var F=UFO.optAtt.length;for(var H=0;H"}}else{if(UFO.pluginType=="ax"){var C="";var F=UFO.optAtt.length;for(var H=0;H'}}var B=window.location.protocol=="https:"?"https:":"http:";I.innerHTML=''+A+""}}},createDialog:function(B){var C=UFO.foList[B];UFO.createCSS("html","height:100%; overflow:hidden;");UFO.createCSS("body","height:100%; overflow:hidden;");UFO.createCSS("#xi-con","position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;");UFO.createCSS("#xi-dia","position:absolute; left:50%; top:50%; margin-left: -"+Math.round(parseInt(C.xiwidth,10)/2)+"px; margin-top: -"+Math.round(parseInt(C.xiheight,10)/2)+"px; width:"+C.xiwidth+"px; height:"+C.xiheight+"px;");var I=document.getElementsByTagName("body")[0];var H=UFO.createElement("div");H.setAttribute("id","xi-con");var E=UFO.createElement("div");E.setAttribute("id","xi-dia");H.appendChild(E);I.appendChild(H);var J=window.location;if(UFO.uaHas("xml")&&UFO.uaHas("safari")){var G=document.getElementsByTagName("title")[0].firstChild.nodeValue=document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0,47)+" - Flash Player Installation"}else{var G=document.title=document.title.slice(0,47)+" - Flash Player Installation"}var A=UFO.pluginType=="ax"?"ActiveX":"PlugIn";var F=typeof C.xiurlcancel!="undefined"?"&xiUrlCancel="+C.xiurlcancel:"";var D=typeof C.xiurlfailed!="undefined"?"&xiUrlFailed="+C.xiurlfailed:"";UFO.foList["xi-dia"]={movie:C.ximovie,width:C.xiwidth,height:C.xiheight,majorversion:"6",build:"65",flashvars:"MMredirectURL="+J+"&MMplayerType="+A+"&MMdoctitle="+G+F+D};UFO.writeSWF("xi-dia")},expressInstallCallback:function(){var B=document.getElementsByTagName("body")[0];var A=document.getElementById("xi-con");B.removeChild(A);UFO.createCSS("body","height:auto; overflow:auto;");UFO.createCSS("html","height:auto; overflow:auto;")},cleanupIELeaks:function(){var B=document.getElementsByTagName("object");var D=B.length;for(var C=0;C6){C++}if((A.match(/[a-z]/))&&(A.match(/[A-Z]/))){C++}if(A.match(/\d+/)){C++}if(A.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/)){C++}if(A.length>12){C++}var B=document.getElementById("passwordquality").getElementsByTagName("td");for(i=0;i=i&&A!=""){B[i].className="q"+C}}if(A!=""){document.getElementById("passwordquality_q"+C).style.display=""}}function changeEtat(C,B){for(var A=0;A0){C.className=C.className.replace(A,"")}return true} function getAllChildren(A){return A.all?A.all:A.getElementsByTagName("*")}document.getElementsBySelector=function(M){if(!document.getElementsByTagName){return new Array()}var T=M.split(" ");var C=new Array(document);for(var O=0;O-1){var L=token.split("#");var F=L[0];var J=L[1];var H=document.getElementById(J);if(F&&H.nodeName.toLowerCase()!=F){return new Array()}C=new Array(H);continue}if(token.indexOf(".")>-1){var L=token.split(".");var F=L[0];var E=L[1];if(!F){F="*"}var I=new Array;var B=0;for(var Q=0;Q-1)};break;default:D=function(U){return U.getAttribute(P)}}C=new Array;var R=0;for(var K=0;K80)&&(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);A.close()}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,C,B,G,A){if(G==1){closeWin()}var F=(screen.height-B)/2;var E=(screen.width-C)/2;newWin=window.open(D,"popup","top="+F+",left="+E+",width="+C+",height="+B+","+A);newWin.document.close();newWin.focus()}function popupCentrerId(D,G,C,B,A){var F=(screen.height-B)/2;var E=(screen.width-C)/2;newWin=window.open(D,"page"+G,"top="+F+",left="+E+",width="+C+",height="+B+","+A);newWin.document.close();newWin.focus()}var ok=0;var Timer;function moveLayerLeft(B,A,D){if(document.getElementById){Objet=document.getElementById("contenu")}else{Objet=document.all["contenu"]}if(Objet.style.left==""){Objet.style.left=0}if(D>0){if(parseInt(Objet.style.left)+(A*B)>0){Objet.style.left="0px"}else{if(parseInt(Objet.style.left)+(A*B)<(-Math.abs(D))){var C="-"+Math.abs(D)+"px";Objet.style.left=C}else{Objet.style.left=(parseInt(Objet.style.left)+(A*B))+"px"}}Timer=setTimeout("moveLayerLeft("+B+", "+A+", "+D+");",30)}}function moveLayerTop(B,A,D){if(document.getElementById){Objet=document.getElementById("contenu")}else{Objet=document.all["contenu"]}if(Objet.style.top==""){Objet.style.top=0}if(D>0){if(parseInt(Objet.style.top)+(A*B)>0){Objet.style.top="0px"}else{if(parseInt(Objet.style.top)+(A*B)<(-Math.abs(D))){var C="-"+Math.abs(D)+"px";Objet.style.top=C}else{Objet.style.top=(parseInt(Objet.style.top)+(A*B))+"px"}}Timer=setTimeout("moveLayerTop("+B+", "+A+", "+D+");",30)}}function stripslashes(A){return A.replace(/(\\)([\\\'\"])/g,"$2")}function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}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;i2)?B[2]:null;var F=(G>3)?B[3]:null;var A=(G>4)?B[4]:null;var H=(G>5)?B[5]:false;document.cookie=C+"="+escape(E)+((D==null)?"":("; expires="+D.toGMTString()))+((F==null)?"":("; path="+F))+((A==null)?"":("; domain="+A))+((H==true)?"; secure":"")}function DeleteCookie(A){var C=new Date();C.setTime(C.getTime()-1);var B=GetCookie(A);document.cookie=A+"="+B+"; expires="+C.toGMTString()}function js_in_array(E,B){var C=B.toString();if(C==""){return false}var D=new RegExp(E,"g");var A=D.test(B);return A}var obj_ajax;var oldbg_ajax;function refresh_module_ajax(C,D){obj_ajax=document.getElementById("mod_"+C);var B=obj_ajax.offsetHeight;var A=document.createElement("div");A.style.position="relative";A.style.height=B+"px";A.style.top="-"+B+"px";A.style.marginBottom="-"+B+"px";A.style.background="white url(../../_images/icones/ajax-loader.gif) center 30% no-repeat";A.style.filter="alpha(opacity:80)";A.style.opacity="0.8";A.style.display="";obj_ajax.appendChild(A);new Ajax.Updater("mod_"+C,"index.php?preaction=mymodule&java=false&ajax=true&id_param="+C+"&"+D,{evalScripts:true,onComplete:success_refresh_ajax})}function success_refresh_ajax(){obj_ajax.style.filter="alpha(opacity:100)";obj_ajax.style.opacity="1"}function file(A,C){if(window.XMLHttpRequest){xhr_object=new XMLHttpRequest()}else{if(window.ActiveXObject){try{xhr_object=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){xhr_object=new ActiveXObject("Microsoft.XMLHTTP")}}else{return(false)}}if(C==null){xhr_object.open("GET",A,false);xhr_object.send(null)}else{xhr_object.open("POST",A,false);xhr_object.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr_object.send(C)}if(xhr_object.readyState==4){return(xhr_object.responseText)}else{return(false)}}function recharge(div_a_recharger,lien_pour_recharger,js_after,paramPost){var texte=file(lien_pour_recharger,paramPost);texte=texte.replace(/<(\/)*noscript>/gi,"");if(div_a_recharger!=""){document.getElementById(div_a_recharger).innerHTML=texte}if(js_after!=""){eval(js_after)}eval_script_after(texte)}function recharge_async(E,D,C){var A=null;if(window.XMLHttpRequest){A=new XMLHttpRequest()}else{if(window.ActiveXObject){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){A=new ActiveXObject("Microsoft.XMLHTTP")}}else{return(false)}}if(C==null){A.onreadystatechange=function(){if(A.readyState==4){if(E!=""&&document.getElementById(E)){document.getElementById(E).innerHTML=A.responseText}eval_script_after(A.responseText)}};A.open("GET",D,true);A.send(null)}else{A.onreadystatechange=function(){if(A.readyState==4){if(E!=""&&document.getElementById(E)){document.getElementById(E).innerHTML=A.responseText}eval_script_after(A.responseText)}};A.open("POST",D,true);A.setRequestHeader("Content-Type","application/x-www-form-urlencoded");A.send(C)}}function eval_script_after(texte){if(texte&&texte!=""){var html_js_after="";var TabMyResult=texte.split(/