var sFrameCgiUrl="http://www.orange.fr/bin/frameoep.cgi";var sHostSearch="http://"+((window.location.href.match(/party\.preprod/))?"video-party.preprod.orange.fr":"video-party.orange.fr");var g_nSrhCh=1;function o_bHeaderSetSearch(b,a){if(document.getElementById("lWeb")){document.getElementById("lWeb").className="noSelect";}if(document.getElementById("lImg")){document.getElementById("lImg").className="noSelect";}if(document.getElementById("lSite")){document.getElementById("lSite").className="noSelect";}if(document.getElementById("lShop")){document.getElementById("lShop").className="noSelect";}document.getElementById(b).className="select";document.getElementById("rdata").focus();switch(a){case"webr":case"webr3":document.getElementById("btnHeadForm").title=document.getElementById("btnHeadForm").alt="Rechercher dans le web";break;case"img":case"img3":document.getElementById("btnHeadForm").title=document.getElementById("btnHeadForm").alt="Rechercher des images";document.getElementById("lWeb").className="noBordure";break;case"site":case"site3":document.getElementById("btnHeadForm").title=document.getElementById("btnHeadForm").alt="Rechercher dans le site";newPays=var_pays();if(newPays=="_reu"){document.getElementById("lImg").className="noBordure";}else{document.getElementById("lShop").className="noBordure";}break;case"shop":document.getElementById("btnHeadForm").title=document.getElementById("btnHeadForm").alt="Rechercher sur le shopping";document.getElementById("lImg").className="noBordure";break;default:document.getElementById("btnHeadForm").title=document.getElementById("btnHeadForm").alt="Rechercher";break;}return false;}function o_bHeaderFormSubmit(d){var c=d.rdata.value;var f=new RegExp(/^[\s]+$/);var b=(typeof o_bHeaderDeframe=="undefined")?false:o_bHeaderDeframe;if(!c.match(f)){if(c.length>=g_nSrhCh){var a="http://r.orange.fr/r?ref=video-party"+((window.location.href.match(/party\.preprod/))?".preprod":"")+"_"+g_sAddRefPrefix;a+="_header_GOSearch&url="+escape(sHostSearch+"/recherche?offerid="+g_sOfferId+"&rdata=")+encodeURIComponent(c);top.location.href=a;}}return false;}function urlBL(b,a,c){this.expreg=b;this.autorise=a;if(typeof c!="undefined"){this.authentNeed=c;}else{this.authentNeed=false;}}function bHeaderDeframe(c){var a=new Array(new urlBL("www.dev.orange.fr/index_test3.html",true),new urlBL("www.rec.orange.fr/index_test3.html",true),new urlBL("forum.rec.orange.fr",true),new urlBL("forum.orange.fr",true),new urlBL("http://forum.pourelles.orange.fr",true),new urlBL("http://forum.auto.orange.fr",true),new urlBL("http://forum.voyages.orange.fr",true),new urlBL("http://finances.forum.orange.fr",true),new urlBL("http://forum.environnement.orange.fr",true),new urlBL("http://mobiles.forum.orange.fr",true));for(var b=0;b<a.length;b++){if(c.search(a[b].expreg)>-1){return a[b].autorise;}}return false;}var strChUserAgent=navigator.userAgent;var intSplitStart=strChUserAgent.indexOf("(",0);var intSplitEnd=strChUserAgent.indexOf(")",0);var strChMid=strChUserAgent.substring(intSplitStart,intSplitEnd);function appel_o_header(){try{if(document.body){if(window.o_timerIE){clearInterval(window.o_timerIE);}var a=document.getElementsByTagName("head")[0];var b=document.createElement("script");b.type="text/javascript";b.src="http://c.orange.fr/Js/o_headerPortail_oep.js?1.13.2.9";a.appendChild(b);}else{if(typeof window.o_timerIE=="undefined"){window.o_timerIE=setInterval("appel_o_header()",10);}}}catch(c){}}if(typeof o_bNoHeaderDeframe=="undefined"){o_bNoHeaderDeframe=false;}if(typeof o_bHeaderDeframe=="undefined"){o_bHeaderDeframe=false;}if(o_bHeaderDeframe||(!o_bNoHeaderDeframe&&bHeaderDeframe(document.location.href))){if(top.frames.length!=0&&(window.name=="w_contenu"||window.name=="w_service")){top.location.href=document.location.href;}else{var headID=document.getElementsByTagName("head")[0];var jsNode=document.createElement("script");jsNode.type="text/javascript";jsNode.src="http://c.orange.fr/Js/o_headerPortail_oep.js?1.13.2.9";if(strChMid.indexOf("MSIE 6")!=-1){var o_timerIE=setInterval("appel_o_header()",10);}else{headID.appendChild(jsNode);}}}else{if(typeof o_bNoWalledGarden=="undefined"){if(typeof o_noWalledGarden!="undefined"){var o_bNoWalledGarden=o_noWalledGarden;}else{var o_bNoWalledGarden=false;}}if(o_bNoWalledGarden&&(top.frames.length!=0&&(window.name=="w_contenu"||window.name=="w_service"))){top.location.href=document.location.href;}if(!o_bNoWalledGarden){try{if(top.location.href){if(top.location.href==window.location.href&&(window.name!="w_contenu"||window.name!="w_service")){top.location.replace(sFrameCgiUrl+"?u="+escape(document.location.href));}}}catch(e){}}}var o_random_number="ord="+(Math.round(Math.random()*10000000000))+"?";var random_number=o_random_number;function popcopy(){var a=window.location.href;if(a.indexOf(".orange.fr")!=-1){window.open("http://r.orange.fr/r/Wcopy","","toolbar=0,location=0,directories=0,statfr=no,menubar=0,scrollbars=yes,resizable=yes,width=500,height=400");}else{window.open("http://r.wanadoo.fr/r/Wcopy","","toolbar=0,location=0,directories=0,statfr=no,menubar=0,scrollbars=yes,resizable=yes,width=500,height=400");}return false;}function popcontact(){if(url.indexOf(".orange.fr")!=-1){n_url="http://r.orange.fr/r?url=http://assistance.orange.fr/?ref_url="+escape(window.location.href);}else{n_url="http://r.wanadoo.fr/r?url=http://assistance.wanadoo.fr/?ref_url="+escape(window.location.href);}window.open(n_url,"","toolbar=0,location=0,directories=0,statfr=no,menubar=0,scrollbars=yes,resizable=yes,width=384,height=474");return false;}function o_w(j,c,h,a,g,d,f,b,i){window.open(j,"_blank","toolbar="+c+",location="+h+",directories="+a+",menuBar="+g+",scrollbars="+d+",resizable="+f+",width="+b+",height="+i);}function ow(c,a,b){window.open(c,"_blank","toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,width="+a+",height="+b);}
