function o_changeAllLinks(){var _1=0;var _2=window.document;o_scanTreeForChangeUrls(_2,null);try{for(var i=0;i<__screenPlayer.sequences.length;i++){var _4=__screenPlayer.sequences[i].divNode;o_scanTreeForChangeUrls(_4,null);}}catch(exception){}}function o_scanTreeForChangeUrls(_5,_6){if(_5==null||typeof (_5)!="object"){return;}try{if(_5.addRef){_6=_5.addRef;}else{if(_5.attributes&&_5.attributes["addRef"]){_6=_5.attributes["addRef"].value;}}}catch(e){}if(_5.childNodes){for(var i=0;i<_5.childNodes.length;i++){o_scanTreeForChangeUrls(_5.childNodes[i],_6);}}var _8=(_6==null?sUrlReferrer:sUrlReferrer+"_"+_6);if(_5.tagName==null){return;}if(window.activateMonitoring==true){if(_5.tagName.toUpperCase()=="A"&&_5.href){if(!_5.attributes["notChanged"]){_5.href=o_changeOneUrl(_5.href,_8);}profilerData.addLinkTag(_5);}else{if(_5.tagName.toUpperCase()=="FORM"&&_5.action){if(!_5.attributes["notChanged"]){_5.action=o_changeOneUrl(_5.action,_8);}}else{if(_5.tagName.toUpperCase()=="IMG"){profilerData.addImageTag(_5);}else{if(_5.tagName.toUpperCase()=="SCRIPT"){profilerData.addScriptTag(_5);}else{if(_5.tagName.toUpperCase()=="LINK"){profilerData.addStyleLinkTag(_5);}else{if(_5.tagName.toUpperCase()=="EMBED"){profilerData.addEmbedTag(_5);}}}}}}}else{if(_5.tagName.toUpperCase()=="A"&&_5.href){if(!_5.attributes["notChanged"]){_5.href=o_changeOneUrl(_5.href,_8);}}else{if(_5.tagName.toUpperCase()=="FORM"&&_5.action){if(!_5.attributes["notChanged"]){_5.action=o_changeOneUrl(_5.action,_8);}}}}}function o_changeOneUrl(_9,_a){var _b=_9,sRef="";try{var _c="http://www.orange.fr/bin/frame.cgi?url=";if((_9.substring(0,_c.length)!=_c)&&(_9.indexOf("http://r.orange.fr")==-1)&&(_9.indexOf(".orange.fr")>0)&&(_9.indexOf("http://externe")==-1)&&(_9.indexOf("http://www.orange.fr")==-1)&&(_9.indexOf(".dev.orange.fr")==-1)){_9=_c+escape(_9);}if(_9.substring(0,20)=="http://r.orange.fr/r"){if(_9.indexOf("ref=")==-1){var _d=_9.indexOf("?");if(_d>-1){_9=_9.substring(0,_d+1)+"ref="+_a+"&"+_9.substring(_d+1,_9.length);}else{_9+="?ref="+_a;}}}else{if(_9.indexOf("wanadooregie")!=-1){}else{if(_9.indexOf("externe.shopping.orange.fr")!=-1||_9.indexOf("ads-click")!=-1||_9.indexOf("doubleclick")!=-1||_9.indexOf("fluxlc")!=-1||_9.indexOf("fluxlr")!=-1||_9.indexOf("mediaplex")!=-1){var _e=_9.indexOf("?ref=");if(_e>-1){var _f=escape(_9.substring(_e+1,_9.length));_9=escape(_9.substring(0,_e));_9="http://r.orange.fr/r?"+_f+"&url="+_9;}else{var _10=escape(_9);_9="http://r.orange.fr/r?ref="+_a+"&url="+_10;}}else{var _11=_9.indexOf("?ref=");if(_11>-1){var _12=escape(_9.substring(_11+1,_9.length));_9=escape(_9.substring(0,_11));}else{var _13=escape(_9);if((_9.indexOf("javascript")==-1)){_9="http://r.orange.fr/r?ref="+_a+"&url="+_13;}}}}}return _9;}catch(e){return _13;}}function o_scale(){var _14=o_scale.arguments;for(i=0;i<_14.length;i++){var x=_14[i];var _16=null;var _17=null;if(typeof x!="undefined"){re=/\s*(\w*)\s\:(.*)/;if(re.test(x)){re.exec(x);element=RegExp.$1;x=RegExp.$2;OptionArray=x.split(";");re=/\s*(\w*)\s*=\s*(.*)\s*/;for(opt in OptionArray){var _18=OptionArray[opt];if(re.test(_18)){re.exec(_18);eval("var "+RegExp.$1+" = '"+RegExp.$2+"';");}}}else{element=x;}}if(document.body.clientWidth>=999){if(_16==null){_16="991px";}if((typeof document.getElementById(element)!="undefined")&&o_hGetById(element)){document.getElementById(element).style.width=_16;}}else{if(_17==null){_17="780px";}if((typeof document.getElementById(element)!="undefined")&&o_hGetById(element)){document.getElementById(element).style.width=_17;}}}}function o_show(){var _19=o_show.arguments;for(i=0;i<_19.length;i++){var _1a=_19[i];if(document.body.clientWidth>=999){document.getElementById(_1a).style.display="block";}else{document.getElementById(_1a).style.display="none";}}}var o_aOnLoad=new Array();var o_aOnResize=new Array();var o_aOnUnLoad=new Array();function o_onLoadPush(_1b){o_aOnLoad.push(_1b);}function o_onResizePush(_1c){o_aOnResize.push(_1c);}function o_onUnLoadPush(_1d){o_aOnUnLoad.push(_1d);}function o_bodyOnLoad(){for(var i=0;i<o_aOnLoad.length;i++){eval(o_aOnLoad[i]);}}function o_bodyOnResize(){for(var i=0;i<o_aOnResize.length;i++){eval(o_aOnResize[i]);}}function o_bodyOnUnLoad(){for(var i=0;i<o_aOnUnLoad.length;i++){eval(o_aOnUnLoad[i]);}}window.onload=o_bodyOnLoad;window.onresize=o_bodyOnResize;window.onunload=o_bodyOnUnLoad;function o_footer(_21){var _22="";if((typeof _21!="undefined")&&(_21.indexOf("=")!=-1)){OptionArray=_21.split(",");re=/\s*(\w*)\s*=\s*(.*)\s*/;for(opt in OptionArray){var _23=OptionArray[opt];re.exec(_23);try{eval("var "+RegExp.$1+" = '"+RegExp.$2+"';");}catch(exception){}}}if((typeof type=="undefined")||(type=="")){var _24="footer";}switch(_24){case "footer":_22="<div id='o_footer' class='resize'>";_22+="<ul class='footer'>";_22+="<li class='logo'><img src='/I/Footer/logo_getesa.gif' border='0'/></li>";_22+="<li class='grey444444'>Pour toute information, &eacute;crivez &agrave; <a class='logo' href='mailto:webmaster@orange.gq'>webmaster</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&copy; Orange</a></li></li>";_22+="</ul>";_22+="</div>";break;case "footer_ow":_22="<div id='o_footer_ow' width=106><a href=javascript:window.close();><img src=http://c.orange.fr/Icons/o_close.gif width=11 height=11 hspace=4 align=absmiddle border=0>Fermer la fen&ecirc;tre</a></div>";break;default:break;}document.write(_22);}function o_audience(_25,_26,hst){audience(_25,_26,hst);}function audience(_28,_29,hst){var rnd=Math.round(Math.random()*10000000000);var url="http://iapref.orange.fr/track?";if(!hst){var hst=window.location.hostname;}url+="sn="+escape(hst);if(!_29){var _2e=window.location.href.substring(window.location.protocol.length+2+window.location.hostname.length);}url+="&pn="+escape(_2e);if(_28){url+="&"+_28;}url+="&r="+rnd;document.write("<img src=\""+url+"\" width=\"1\" height=\"1\">");}function o_hGetById(id){hHandler=(document.getElementById(id))?document.getElementById(id):false;return hHandler;}function o_sExtractVar(_30,_31){var _32=(typeof _32!="undefined"&&_32!="")?_32:document.location.search;oRegExp=new RegExp(_30+"=([^&]*)","");if(oRegExp.test(_32)){oRegExp.exec(_32);return RegExp.$1;}else{return null;}}function o_getSlctVal(_33){var _34=o_hGetById(_33);if(_34){return _34.options[_34.selectedIndex].value;}else{return null;}}function o_nArrayLength(_35){var _36=0;for(var _37 in _35){_36++;}return _36;}function o_sReplaceChar(_38,_39,_3a){var _3b=_38;for(var i in _39){while(_3b.indexOf(_39[i])>-1){_3b=_3b.replace(_39[i],_3a[i]);}}return _3b;}function o_bIsMail(_3d){oRegExp=/^[\w\.-]+@[\w-]+\.\w+$/;return oRegExp.test(_3d);}var aOpts=new Array();aOpts["channelmode"]=0;aOpts["directories"]=0;aOpts["fullscreen"]=0;aOpts["location"]=0;aOpts["menubar"]=0;aOpts["resizable"]=0;aOpts["scrollbars"]=0;aOpts["status"]=0;aOpts["titlebar"]=0;aOpts["width"]=480;aOpts["height"]=360;var aSpecOpts=new Array("top","left");var def_wname="formpopup";function o_popup(_3e,_3f){if((typeof _3f!="undefined")&&(_3f.indexOf("=")!=-1)){aOption=_3f.split(",");oRegExp=/\s*(\w*)\s*=\s*(.*)\s*/;for(var opt in aOption){oRegExp.exec(aOption[opt]);eval("var ow_"+RegExp.$1+" = '"+RegExp.$2+"';");}}var _41="page";var _42=new Array();for(var opt in aOpts){eval("var bOptFind = (typeof(ow_"+opt+")!=\"undefined\")?true:false;");_42[opt]=bOptFind?eval("ow_"+opt):aOpts[opt];}for(var opt in aSpecOpts){eval("var bOptFind = (typeof(ow_"+opt+")!=\"undefined\")?true:false;");if(bOptFind){_42[opt]=eval("ow_"+opt);}}if(typeof ow_w!="undefined"){_42["width"]=ow_w;}if(typeof ow_h!="undefined"){_42["height"]=ow_h;}if(typeof ow_t!="undefined"){_42["top"]=ow_t;}if(typeof ow_l!="undefined"){_42["left"]=ow_l;}var _45="";for(var opt in _42){_45+=(_45!="")?", "+opt+"="+_42[opt]:opt+"="+_42[opt];}if((((typeof ow_isForm=="undefined")||(ow_isForm==0))&&(_3e.indexOf(".")<0))||((typeof ow_isForm!="undefined")&&(ow_isForm==1))){_41="form";}if(typeof ow_wname=="undefined"){var _47=(_41=="page")?"_blank":def_wname;}if(_41=="form"){if(_47!="_self"){window.open("",_47,_45);}o_hGetById(_3e).target=_47;o_hGetById(_3e).submit();}else{if(_47!="_self"){window.open(_3e,_47,_45);}}}var o_aPrevChar=new Array();var o_aNewChar=new Array();function sReplaceCharCookie(_48){if(typeof o_aPrevChar!="undefined"&&typeof o_aNewChar!="undefined"){return o_sReplaceChar(_48,o_aPrevChar,o_aNewChar);}else{return _48;}}function o_bSetCookie(_49,_4a,_4b){try{if((typeof _4b!="undefined")&&(_4b.indexOf("=")!=-1)){aOption=_4b.split(",");oRegExp=/\s*(\w*)\s*=\s*(.*)\s*/;for(var i=0;i<aOption.length;i++){oRegExp.exec(aOption[i]);eval("var o_"+RegExp.$1+" = '"+RegExp.$2+"';");}}sCookieVal=escape(_4a);sCookieVal=sReplaceCharCookie(sCookieVal);if(typeof o_expires!="undefined"){var _4d=new Date();_4d.setDate(_4d.getDate()+parseInt(o_expires));}document.cookie=_49+"="+_4a+((typeof o_domain=="undefined")?"":";domain="+o_domain)+";path="+((typeof o_path=="undefined")?"/":o_path)+((typeof o_expires=="undefined")?"":";expires="+_4d.toGMTString());return true;}catch(e){return false;}}function o_sGetCookie(_4e){if(document.cookie.length>0){iStartPos=document.cookie.indexOf(_4e+"=");if(iStartPos!=-1){iStartPos=iStartPos+_4e.length+1;iEndPos=document.cookie.indexOf(";",iStartPos);if(iEndPos==-1){iEndPos=document.cookie.length;}return unescape(document.cookie.substring(iStartPos,iEndPos));}}return false;}var isKonqueror=(navigator.appName=="Konqueror");var isWanadooNav=(navigator.appVersion.indexOf("NaviWoo")>-1);var isInternetExplorer=(navigator.appName.indexOf("Microsoft")>-1);var aFlashElement=new Array();var nDownloadImgTimeout=50;var nFaddingIntrvl=1;var nFaddingImg=25;var nFaddingTime=1000*nFaddingIntrvl/nFaddingImg;var nFaddingStep=100/nFaddingImg;var sTrace="";var bStreamViewer=null;var nWindowMinWidth=880;var nWindowMaxWidth=990;var nNavWidth=150;var nBordureWidth=12;var nCarrePubWidth=300;var sManchetteMinWidth="280";var sManchetteMaxWidth="349";var sManchetteMinHeight="199";var sManchetteMaxHeight="250";var nInfoSpeed=2;var nInfoMinSpeed=2;var nInfoMaxSpeed=14;var nTimeForNextSequence=15;var bFixedOrder=false;var nHeadlineHeight=23;var nImgSequenceId=0;var bInitManchette=false;var oDisplayGrid=null;window.onresize=function(){try{oDisplayGrid.resize();}catch(e){}try{manchetteResize();}catch(e){}try{var _1=o_hGetById("ScreenPlayer").component;_1.aSequence[_1.nCurrentSequence].hImg.resize();}catch(e){}try{flashResize2();}catch(e){}};window.onload=function Window_onLoad(){try{window.onresize();if(o_hGetById("rech")){o_hGetById("rech").focus();}if(window.bActivMonitoring){profilerData.postData();}putTime();}catch(e){}};function manchetteResize(){try{if(document.body.clientWidth>993){o_hGetById("o_manchette").style.width=sManchetteMaxWidth;o_hGetById("o_manchette").style.height=sManchetteMaxHeight;o_hGetById("o_manchette").parentNode.style.width=o_hGetById("o_manchette").style.width;o_hGetById("o_infos").style.height="200px";if(document.body.clientWidth>1004){o_hGetById("infoDepecheCote").style.width="179";o_hGetById("infoDepecheCote").style.pixelwidth="179";}else{var _2=991-nNavWidth-nBordureWidth-nCarrePubWidth-sManchetteMaxWidth;o_hGetById("infoDepecheCote").style.width=_2+"px";o_hGetById("infoDepecheCote").style.pixelwidth=_2+"px";}}else{o_hGetById("o_manchette").style.width=sManchetteMinWidth;o_hGetById("o_manchette").style.height=sManchetteMinHeight;o_hGetById("o_manchette").parentNode.style.width=o_hGetById("o_manchette").style.width;o_hGetById("o_infos").style.height="200px";if(document.body.clientWidth<880){o_hGetById("infoDepecheCote").style.width="138px";o_hGetById("infoDepecheCote").style.pixelwidth="138px";}else{var _3=document.body.clientWidth-nNavWidth-nBordureWidth-nCarrePubWidth-sManchetteMinWidth;o_hGetById("infoDepecheCote").style.width=_3+"px";o_hGetById("infoDepecheCote").style.pixelwidth=_3+"px";}}o_hGetById("infoDepecheCote").style.visibility="";}catch(e){}}function flashResize2(){try{for(var i=0;i<aFlashElement.length;i++){var _5=aFlashElement[i][0];var _6=aFlashElement[i][1];var _7=aFlashElement[i][2];if(o_hGetById(_5)){var _8=(document.body.clientWidth-nNavWidth)*_6/oDisplayGrid.nCellsPerLine;_8=Math.max(_8,(nWindowMinWidth-nNavWidth)*_6/oDisplayGrid.nCellsPerLine);_8=Math.min(_8,(nWindowMaxWidth-nNavWidth)*_6/oDisplayGrid.nCellsPerLine);_8-=12;if(!document.all){var _9=o_hGetById(_5).getElementsByTagName("embed")[0];_9.width=_8;_9.height=_8*_7;}else{o_hGetById(_5).width=_8;o_hGetById(_5).height=_8*_7;}}}}catch(e){}}function getIEAppVersionNumber(){var _a=navigator.appVersion;var _b=_a.indexOf("MSIE")+5;var _c=_a.substring(_b,_b+3)*1;return _c;}function infoMoveDown(){try{var _d=o_hGetById("content");var _e=_d.offsetHeight;if(parseInt(_d.style.top)>=(_e*(-1)+100)){_d.style.top=parseInt(_d.style.top)-nInfoSpeed;}hInfoMoveDown=setTimeout("infoMoveDown()",100);}catch(e){}}function infoMoveUp(){try{var _f=o_hGetById("content");var _10=_f.offsetHeight;if(parseInt(_f.style.top)<=0){_f.style.top=parseInt(_f.style.top)+nInfoSpeed;}hInfoMoveUp=setTimeout("infoMoveUp()",100);}catch(e){}}function changeOpacity(_11,_12){try{_11.style.filter="alpha(opacity="+_12+")";_11.style.MozOpacity=_12/100;_11.style.KHTMLOpacity=_12/100;_11.style.opacity=_12/100;}catch(e){}}function Fadding(_13,_14,_15){try{window.clearInterval(window.currentFadding.faddingClock);}catch(e){}window.currentFadding=this;this.hcallbackFunction=_15;this.hBackgroundNode=_13;this.hForegroundNode=_14;this.nOpacityRate=0;changeOpacity(this.hBackgroundNode,0);changeOpacity(this.hForegroundNode,100);this.hFaddingTimeout=window.setInterval("window.currentFadding.nextStep()",nFaddingTime);this.nextStep=function Fadding_nextStep(){try{this.nOpacityRate+=nFaddingStep;if(this.nOpacityRate>100){this.nOpacityRate=100;}var _16=Math.floor(this.nOpacityRate);var _17=Math.floor(100-this.nOpacityRate);changeOpacity(this.hBackgroundNode,_16);changeOpacity(this.hForegroundNode,_17);if(this.nOpacityRate==100){window.clearInterval(window.currentFadding.hFaddingTimeout);if(this.hcallbackFunction!=null){this.hcallbackFunction();}}}catch(e){}};}function displayErr(_18){try{alert("erreur js : "+_18.description+"\n message : "+_18.message+"\n nom : "+_18.name+"\n # : "+_18.number);}catch(e){}}function sequenceResize(){try{if(this.parentNode==null){return;}this.style.display="block";if(isKonqueror){var _19=document.createElement("IMG");_19.src=this.src;_19.resize=this.resize;_19.sequence=this.sequence;_19.sequence.hImg=_19;_19.noBorder=_19.attributes["noBorder"]=true;this.parentNode.appendChild(_19);this.parentNode.removeChild(this);this.sequence.hDiv.style.top=99;this.sequence.hDiv.style.width=this.width;this.sequence.hDiv.style.height=this.height;return;}if(this.width>290){this.height="227";}else{this.height="176";}var _1a=this.previousSibling.style;var _1b=this.sequence.oAlphaParam;var _1c=this.sequence.hAlphaLayer.style;var _1d=this.sequence.hLeftBtn.style;var _1e=this.sequence.hRightBtn.style;if(document.all){_1a.pixelTop=this.offsetTop-nHeadlineHeight;_1a.pixelLeft=this.offsetLeft;if(getIEAppVersionNumber()<=5){if(_1a.pixelLeft*1==0){_1a.pixelLeft=-1000;window.setTimeout("window.onresize();",10);}}_1c.pixelLeft=0;_1c.pixelBottom=0;if(this.sequence.screenPlayer.aSequence.length>1){_1d.pixelTop=nHeadlineHeight+5;_1e.pixelTop=nHeadlineHeight+5;_1d.pixelLeft=this.width-45;_1e.pixelLeft=this.width-24;}else{_1d.display="none";_1e.display="none";}}else{_1a.top=this.y-nHeadlineHeight;_1a.left=this.x;_1c.left=0;_1c.bottom=0;if(this.sequence.screenPlayer.aSequence.length>1){_1d.top=nHeadlineHeight+5;_1e.top=nHeadlineHeight+5;_1d.left=this.width-45;_1e.left=this.width-24;}else{_1d.display="none";_1e.display="none";}}_1a.height=this.height+nHeadlineHeight;_1a.width=this.width;_1a.display="block";if(!document.all&&this.height>this.width*0.69){_1a.height=this.width*0.68+nHeadlineHeight;setTimeout("window.onresize();",1);}_1c.width=280;var _1f=this.sequence.screenPlayer.hFaddingImg;_1f.style.top=nHeadlineHeight+1*(document.all?_1a.pixelTop:sSubPx(_1a.top));_1f.style.left=document.all?_1a.pixelLeft:sSubPx(_1a.left);_1f.style.width=document.all?_1a.pixelWidth:sSubPx(_1a.width);_1f.firstChild.style.width=document.all?_1a.pixelWidth:sSubPx(_1a.width);_1f.style.height=(document.all?_1a.pixelHeight:sSubPx(_1a.height))-nHeadlineHeight;}catch(e){}}function sSubPx(_20){try{var sPx="px";var _22=_20.lastIndexOf(sPx);if(_22>-1){return _20.substr(0,_22);}else{return _20;}}catch(e){}}function AlphaParam(_23){try{var _24=_23.split("-");this.bckgColor=_24[0];}catch(e){}}function Sequence(_25,_26,_27,_28){try{this.imageSrc=_25;this.iSequence=_26;this.oAlphaParam=new AlphaParam(_28);this.hAlphaLayer=o_hGetById(_27);this.hDiv=o_hGetById(this.iSequence);this.hDiv.parentNode.removeChild(this.hDiv);this.hDiv.style.position="absolute";this.hDiv.style.overflow="hidden";this.hDiv.sequence=this;this.hTopLnk=document.createElement("DIV");this.hTopLnk.style.cssText="font-size: 2";this.hTopLnk.style.height=nHeadlineHeight;if(navigator.appName.indexOf("Microsoft")>-1){var _29="Image"+(nImgSequenceId++);document.write("<IMG class='backGroundImg' noBorder='true' hspace='0' border='0' id='"+_29+"' style='display: none' />");this.hImg=o_hGetById(_29);this.hImg.parentNode.removeChild(this.hImg);this.hImg.style.width="100%";}else{this.hImg=document.createElement("IMG");this.hImg.className="backGroundImg";this.hImg.attributes["noBorder"]=true;this.hImg.border=0;this.hImg.style.width="100%";}this.hImg.ssrc=this.imageSrc;this.hImg.resize=sequenceResize;this.hImg.sequence=this;this.hAlphaLayer.style.position="absolute";this.hAlphaLayer.style.background=this.oAlphaParam.bckgColor;changeOpacity(this.hAlphaLayer,75);this.hDiv.appendChild(this.hAlphaLayer);this.hAlphaLayer.sequence=this;if(navigator.appName.indexOf("Microsoft")>-1){document.write("<img src='http://img.servihoo.com/orangebeta/I/manchetteArrowLeft.gif' notResize='true' id='btnLeft' style='position:absolute;' />");this.hLeftBtn=o_hGetById("btnLeft");this.hLeftBtn.parentNode.removeChild(this.hLeftBtn);document.write("<img src='http://img.servihoo.com/orangebeta/I/manchetteArrowRight.gif' notResize='true' id='btnRight' style='position:absolute;' />");this.hRightBtn=o_hGetById("btnRight");this.hRightBtn.parentNode.removeChild(this.hRightBtn);}else{this.hLeftBtn=document.createElement("IMG");this.hLeftBtn.src="http://img.servihoo.com/orangebeta/I/manchetteArrowLeft.gif";this.hLeftBtn.notResize=true;this.hLeftBtn.style.position="absolute";this.hRightBtn=document.createElement("IMG");this.hRightBtn.src="http://img.servihoo.com/orangebeta/I/manchetteArrowRight.gif";this.hRightBtn.notResize=true;this.hRightBtn.style.position="absolute";}this.hDiv.appendChild(this.hLeftBtn);this.hDiv.appendChild(this.hRightBtn);this.hLeftBtn.onclick=function(){oScreenPlayer.prevSequence();};this.hRightBtn.onclick=function(){oScreenPlayer.nextSequence();};}catch(e){}}function ScreenPlayer(){this.aSequence=new Array();this.nCurrentSequence=0;this.iScreenPlayer=o_hGetById("ScreenPlayer");this.iScreenPlayer.component=this;this.iScreenPlayer.position="relative";this.iScreenPlayer.overflow="hidden";this.hFaddingImg=document.createElement("DIV");this.hFaddingImg.innerHTML="<img width='100%' height='100%' src='http://img.servihoo.com/orangebeta/I/z.gif' />";this.hFaddingImg.style.cssText="position: absolute;";this.iScreenPlayer.parentNode.appendChild(this.hFaddingImg);changeOpacity(this.hFaddingImg,0);this.launchTimer=function ScreenPlayer_launchTimer(){try{if(nTimeForNextSequence>0){if(this.clockId){window.clearInterval(this.clockId);}this.clockId=window.setInterval("oScreenPlayer.nextSequence()",nTimeForNextSequence*1000);}}catch(e){}};this.addSequence=function ScreenPlayer_addSequence(_2a){try{this.aSequence[this.aSequence.length]=_2a;_2a.screenPlayer=this;}catch(e){}};this.prevSequence=function ScreenPlayer_getPreviousSequence(){try{if((--this.nCurrentSequence)==-1){this.nCurrentSequence=this.aSequence.length-1;}this.generateHTML();}catch(e){}};this.nextSequence=function ScreenPlayer_getNextSequence(){try{if((++this.nCurrentSequence)==this.aSequence.length){this.nCurrentSequence=0;}this.generateHTML();}catch(e){}};this.generateHTML=function ScreenPlayer_generateHTML(){try{if(this.aSequence.length==0){alert("You must add sequences to the ScreenPlayer");throw true;}var _2b=this.aSequence[this.nCurrentSequence];_2b.hImg.src=_2b.hImg.ssrc;try{this.iScreenPlayer.removeChild(this.iScreenPlayer.firstChild);this.iScreenPlayer.removeChild(this.iScreenPlayer.firstChild);if(this.aSequence.length>1){changeOpacity(this.hFaddingImg,100);}this.iScreenPlayer.removeChild(this.iScreenPlayer.firstChild);}catch(e){}if(this.aSequence.length>1){changeOpacity(_2b.hImg,0);}else{this.hFaddingImg.style.display="none";}this.iScreenPlayer.appendChild(_2b.hTopLnk);this.iScreenPlayer.appendChild(_2b.hDiv);this.iScreenPlayer.appendChild(_2b.hImg);o_bSetCookie("lastSequence",this.nCurrentSequence);this.launchTimer();window.onresize();if(this.aSequence.length>1){new Fadding(_2b.hImg,this.hFaddingImg,faddingFinished);}}catch(e){}};this.start=function ScreenPlayer_start(){try{this.nCurrentSequence=o_sGetCookie("lastSequence");if(this.nCurrentSequence==null||this.nCurrentSequence>=this.aSequence.length||bFixedOrder==true){this.nCurrentSequence=-1;}this.nextSequence();}catch(e){}};}function faddingFinished(){try{oScreenPlayer.hFaddingImg.firstChild.src=oScreenPlayer.aSequence[oScreenPlayer.nCurrentSequence].hImg.src;}catch(e){}}function GridManager(_2c){this.aCells=new Array();this.nCellsPerLine=_2c;this.nCurrentX=0;this.nCurrentY=0;this.nInsertLineNb=0;this.insertLine=function GridManager_insertLine(){try{var _2d=new Array();for(var i=0;i<this.nCellsPerLine;i++){_2d[i]=false;}this.aCells[this.aCells.length]=_2d;}catch(e){}};this.markCell=function GridManager_markCell(_2f,_30){try{if(this.aCells.length<=_30){for(var i=this.aCells.length;i<=_30;i++){this.insertLine();}}if(_2f>=this.nCellsPerLine){throw "Bad index for CellMatrix";}this.aCells[_30][_2f]=true;}catch(e){}};this.markCells=function GridManager_markCells(_32,_33){try{for(var nX=0;nX<_32;nX++){for(var nY=0;nY<_33;nY++){this.markCell(this.nCurrentX,this.nCurrentY+nY);}this.nCurrentX++;}if(this.nCurrentX==this.nCellsPerLine){this.nInsertLineNb++;this.nCurrentX=0;this.nCurrentY++;if(this.aCells.length<=this.nCurrentY){this.insertLine();}}while(this.aCells[this.nCurrentY][this.nCurrentX]==true){this.nCurrentX++;if(this.nCurrentX==this.nCellsPerLine){this.nInsertLineNb++;this.nCurrentX=0;this.nCurrentY++;if(this.aCells.length<=this.nCurrentY){this.insertLine();}}}}catch(e){}};this.displayMatrix=function GridManager_displayMatrix(){try{var _36="";for(var _37=0;_37<this.aCells.length;_37++){for(var _38=0;_38<this.nCellsPerLine;_38++){_36+=(this.aCells[_37][_38]?"true ":"false")+" - ";}_36+="\n";}alert(_36);}catch(e){}};return this;}function DisplayGrid(_39){this.nCellsPerLine=_39;this.currentPos=1;this.oGridManager=new GridManager(this.nCellsPerLine);oDisplayGrid=this;document.writeln("<TABLE class='grid' cellspacing='0' cellpadding='0' border='0' id='grid'><TR></TR></TABLE>");this.hGrid=o_hGetById("grid");this.hCurrentLine=this.hGrid.firstChild.lastChild;this.addCell=function DisplayGrid_addCell(_3a,_3b,_3c){try{while(this.oGridManager.nInsertLineNb>0){this.hCurrentLine=document.createElement("TR");this.hGrid.firstChild.appendChild(this.hCurrentLine);this.oGridManager.nInsertLineNb--;}var hTd=document.createElement("TD");hTd.gridMarker=true;hTd.colSpan=_3b;hTd.rowSpan=_3c;var _3e=o_hGetById(_3a);_3e.parentNode.removeChild(_3e);hTd.appendChild(_3e);_3e.style.height="100%";hTd.className="gridCell";this.hCurrentLine.appendChild(hTd);this.currentPos+=_3b;this.oGridManager.markCells(_3b,_3c);if(bStreamViewer==true){var _3f=hTd.getElementsByTagName("H5");_3f[0].innerHTML+="<BR><SPAN style='text-transform: lowercase;'>( "+_3a+" )</SPAN>";}}catch(e){}};this.resize=function DisplayGrid_resize(){var _40=this.hGrid.getElementsByTagName("IMG");for(var i=0;i<_40.length;i++){try{var _42=_40[i];if(_42.attributes["notResize"]||_42.notResize){continue;}var hTd=_42.parentNode;while(hTd.gridMarker!=true){hTd=hTd.parentNode;}var _44=hTd.colSpan;var _45=(_44-1);var _46=document.body.clientWidth;if(_46<nWindowMinWidth){_46=nWindowMinWidth;}else{if(_46>nWindowMaxWidth){_46=nWindowMaxWidth;o_hGetById("SubBody").style.width=nWindowMaxWidth;}else{o_hGetById("SubBody").style.width="100%";}}var _47=((_46-nNavWidth)/this.nCellsPerLine)*_44-_45;var _48=_47;if(_42.attributes["half"]||_42.half){_47/=2;}if(_42.attributes["shopping"]||_42.shopping){_47/=2.28;}if(!(_42.attributes["noBorder"]||_42.noBorder)&&!(_42.attributes["boxService"]||_42.boxService)&&_42.className!="backGroundImg"){_47-=12;}hTd.style.width=Math.ceil(_47-0.5);if(document.all){_42.style.width=Math.ceil(_47-0.5);}}catch(e){}}};return this;}function Pop(_49){var _4a=490;var _4b=350;var _4c=screen.width;var _4d=screen.height;var _4e=(_4d/2)-(_4b/2);var _4f=(_4c/2)-(_4a/2);window.open(_49,"","scrollbars=yes,width="+_4a+",height="+_4b+", top="+_4e+",left="+_4f+"");}function o_bHeaderSetSearch(t,tdb){document.getElementById("lWeb").className="";document.getElementById("alWeb").className="searchLnkNotSlct";document.getElementById("lActu").className="";document.getElementById("alActu").className="searchLnkNotSlct";document.getElementById(t).className="searchSlct";document.getElementById("a"+t).className="searchLnkSlct";switch(t){case "lActu":document.getElementById("rech").name="s";document.getElementById("gb").action="/actualites/";document.getElementById("gb").method="get";break;case "lWeb":document.getElementById("rech").name="query";document.getElementById("gb").action="/search/";document.getElementById("gb").method="get";break;default:}document.getElementById("rech").focus();return false;}var aMonth=new Array("Janvier","F\ufffdvrier","Mars","Avril","Mai","Juin","Juillet","Ao\ufffdt","Septembre","Octobre","Novembre","D\ufffdcembre");var aDay=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi");function sGetDate(_52,_53){if(typeof _52=="undefined"||_52==null){_52=new Date();}if(typeof _53=="undefined"||_53==null){_53="%d/%m/%y";}var _54=_52.getDay();var _55=_52.getDate();var _56=_52.getMonth()+1;var _57=_52.getYear();iYear4=(_57<999)?_57+1900:_57;var _58=((""+_55).length<2)?"0"+_55:_55;var _59=((""+_56).length<2)?"0"+_56:_56;var _5a=((""+_57).length<2)?"0"+_57:_57;var _5b=_53;_5b=_5b.replace("%D",aDay[_54]);_5b=_5b.replace("%d",_58);_5b=_5b.replace("%m",_59);_5b=_5b.replace("%M",aMonth[_56-1]);_5b=_5b.replace("%Y",iYear4);_5b=_5b.replace("%y",_57);return _5b;}function sGetHour(_5c,_5d){if(typeof _5c=="undefined"||_5c==null){_5c=new Date();}if(typeof _5d=="undefined"||_5d==null){_5d="%h:%i:%s";}var _5e=_5c.getHours();var _5f=_5c.getMinutes();var _60=_5c.getSeconds();var _61=((""+_5e).length<2)?"0"+_5e:_5e;var _62=((""+_5f).length<2)?"0"+_5f:_5f;var _63=((""+_60).length<2)?"0"+_60:_60;var _64=_5d;_64=_64.replace("%h",_61);_64=_64.replace("%i",_62);_64=_64.replace("%s",_63);return _64;}function sGetFullDate(_65,_66){if(typeof _65=="undefined"||_65==null){_65=new Date();}if(typeof _66=="undefined"||_66==null){_66="%d/%m/%y %h:%i";}var _67=_65.getDay();var _68=_65.getDate();var _69=_65.getMonth()+1;var _6a=_65.getYear();var _6b=_65.getHours();var _6c=_65.getMinutes();var _6d=_65.getSeconds();iYear4=(_6a<999)?_6a+1900:_6a;var _6e=((""+_68).length<2)?"0"+_68:_68;var _6f=((""+_69).length<2)?"0"+_69:_69;var _70=((""+_6a).length<2)?"0"+_6a:_6a;var _71=((""+_6b).length<2)?"0"+_6b:_6b;var _72=((""+_6c).length<2)?"0"+_6c:_6c;var _73=((""+_6d).length<2)?"0"+_6d:_6d;var _74=_66;_74=_74.replace("%D",aDay[_67]);_74=_74.replace("%d",_6e);_74=_74.replace("%m",_6f);_74=_74.replace("%M",aMonth[_69-1]);_74=_74.replace("%Y",iYear4);_74=_74.replace("%y",_6a);_74=_74.replace("%h",_71);_74=_74.replace("%i",_72);_74=_74.replace("%s",_73);return _74;}
