function m_opacity(id_menu,classe){document.getElementById(id_menu).className=classe;} function no_opacity(id_menu,classe){document.getElementById(id_menu).className=classe;} var doBeforeSoumettre=new Array();function soumettre(lang){if(typeof doBeforeSoumettre!==undefined){try{for(var i=0;i0) {elSel.remove(elSel.length-1);}} function fav(siteURL,siteNOM){function myMessage(raccourciClavier){alert("Utilisez '"+raccourciClavier+"'\npour ajouter "+siteNOM+" dans vos favoris !");} if(window.sidebar){window.sidebar.addPanel(siteNOM,siteURL,"");} else if(document.all){window.external.AddFavorite(siteURL,siteNOM);} else if(navigator.userAgent.indexOf('Konqueror')>=0){myMessage("CTRL + B");} else if(document.all&&(navigator.userAgent.indexOf('Win')<0)){myMessage("POMME + D");} else if(window.opera&&window.print){myMessage("CTRL + T");} else if(document.layers){myMessage("CTRL + D");} else{alert("Cette fonction n'est pas disponible pour votre navigateur.");};} function imprimer(){window.print();return true;} function setCookie(name,value,exp_y,exp_m,exp_d,path,domain,secure) {var cookie_string=name+"="+escape(value);if(exp_y) {var expires=new Date(exp_y,exp_m,exp_d);cookie_string+="; expires="+expires.toGMTString();} if(path) cookie_string+="; path="+escape(path);if(domain) cookie_string+="; domain="+escape(domain);if(secure) cookie_string+="; secure";document.cookie=cookie_string;} function getCookie(cookie_name) {var results=document.cookie.match('(^|;) ?'+cookie_name+'=([^;]*)(;|$)');if(results) return(unescape(results[2]));else return null;} function popupSharer(url,name){window.open(url,name,config='height=400, width=650,toolbar=no,scrollbars=yes,resizable=yes,location=yes,directories=no,status=no');} function removeDefaultText(e,obj){var yDom=YAHOO.util.Dom;var yEvent=YAHOO.util.Event;var domId=yEvent.getTarget(e);if(yDom.get(domId.id)){if(yDom.get(domId.id).value==obj){yDom.get(domId.id).value='';}else{return;}}else{return;}};function validateForm(form,lang){lang_id=1;if(lang!="undefined"&&lang!=''){lang_id=lang;} var retour=true;var tab_erreur=new Array();var str_erreur="";var oInput="";var oTextarea="";document.getElementById("message").innerHTML="";document.getElementById("message").style.display='none';var oInput=document.getElementById(form).getElementsByTagName("INPUT");for(var i=0;i100)||(!isNotEmpty(oInput[i].value))){var tab_obj_type=new Array();tab_obj_type['obj']=oInput[i];tab_obj_type['type']='pourcent';tab_erreur.push(tab_obj_type);retour=false;} break;}} var oTexarea=document.getElementById(form).getElementsByTagName("TEXTAREA");for(var i=0;i100)||(!isNotEmpty(oTexarea[i].value))){var tab_obj_type=new Array();tab_obj_type['obj']=oTexarea[i];tab_obj_type['type']='pourcent';tab_erreur.push(tab_obj_type);retour=false;} break;}} var oSelect=document.getElementById(form).getElementsByTagName("SELECT");for(var i=0;i Le champ "'+champ+'" doit être renseigné
';} if(lang_id==2){str_erreur+=' Field "'+champ+'" required
';} if(lang_id==3){str_erreur+=' Field "'+champ+'" required
';} if(lang_id==4){str_erreur+=' Field "'+champ+'" required
';} if(lang_id==5){str_erreur+=' Field "'+champ+'" required
';} if(lang_id==6){str_erreur+=' Field "'+champ+'" required
';} break;case"email":if(lang_id==1){str_erreur+=' Le champ "'+champ+'" doit contenir un email
';} if(lang_id==2){str_erreur+=' Field "'+champ+'" must contain a valid mail adress
';} break;case"number":if(lang_id==1){str_erreur+=' Le champ "'+champ+'" doit contenir un nombre
';} if(lang_id==2){str_erreur+=' Field "'+champ+'" must contain a number
';} break;case"pourcent":if(lang_id==1){str_erreur+=' Le champ "'+champ+'" doit contenir un nombre entre 0 et 100
';} if(lang_id==2){str_erreur+=' Field "'+champ+'" must contain a number 0 and 100
';} break;case"nicename":if(lang_id==1){str_erreur+=' Le champ "'+champ+'" doit contenir uniquement des lettre de a->z
';} if(lang_id==2){str_erreur+=' Field "'+champ+'" must contain a letter beetween a->z
';} break;}}} document.getElementById("message").innerHTML='
'+str_erreur+'
';document.getElementById("message").style.display='block';tab_erreur[i]['obj'].style.border='2px solid red';} return retour;} function isNotEmpty(str){var re=/.+/;return(str.match(re));} function isEMailAddr(str){var re=/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;return(str.match(re));} function isNumber(str){if(str==""){return false;}else{var re=/^[-]?\d*\.?\d*$/;str=str.toString();return(str.match(re));}} function setfocus(nom){if(document.getElementById(nom).type!="hidden"){document.getElementById(nom).focus();} return;} function getElementsByClassName(clsName){var arr=new Array();var elems=document.getElementsByTagName("*");for(var cls,i=0;(elem=elems[i]);i++){if(elem.className==clsName){arr[arr.length]=elem;}} return arr;};ns4=(document.layers)?true:false ie4=(document.all&&!document.getElementById)?true:false dom=(document.getElementById)?true:false var fen function pop_up(sURL,iWidth,iHeight,X0,Y0,bScrollbar){var sName,sFeatures;sName='pop_up';if(ie4||dom){if((fen)&&(!fen.closed)){fen.close();}} sFeatures='toolbar=no,location=no,directories=no,status=no,menubar=no';if(bScrollbar==false) sFeatures+=',scrollbars=yes';else sFeatures+=',scrollbars=no';sFeatures+=',resizable=no,screenY='+Y0+',screenX='+X0+',top='+Y0+',left='+X0+',width='+iWidth+',height='+iHeight;fen=window.open(sURL,sName,sFeatures);} function PopupCentrer(page,largeur,hauteur,options){var top=(screen.height-hauteur)/2;var left=(screen.width-largeur)/2;window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);} function openNewsletter(lang_id){var email='';if(document.getElementById("subscribe_email")){email=document.getElementById("subscribe_email").value;} if(lang_id==1){PopupCentrer('http://suez.ornis.com/news/default.asp?langue='+lang_id+'&email='+email,418,500,'toolbar=no,location=no,directories=no,status=no,menubar=no');}else{PopupCentrer('http://suez.ornis.com/news/default-uk.asp?langue='+lang_id+'&email='+email,418,500,'toolbar=no,location=no,directories=no,status=no,menubar=no');}};if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.params.toJSONString=null;this.variables=new Object();this.variables.toJSONString=null;this.attributes=new Array();this.attributes.toJSONString=null;if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="";_19+="";var _1d=this.getParams();for(var key in _1d){_19+="";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="";}_19+="";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!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 n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.majorfv.major){return true;}if(this.minorfv.minor){return true;}if(this.rev=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;;var swfobject=function(){var Z="undefined",P="object",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",W="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,T=null,S=false,C=false;var a=function(){var l=typeof g.getElementById!=Z&&typeof g.getElementsByTagName!=Z&&typeof g.createElement!=Z&&typeof g.appendChild!=Z&&typeof g.replaceChild!=Z&&typeof g.removeChild!=Z&&typeof g.cloneNode!=Z,t=[0,0,0],n=null;if(typeof N.plugins!=Z&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=Z){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var e=function(){if(!a.w3cdom){return}J(I);if(a.ie&&a.win){try{g.write("