function openWindow(a)
{var x=window.open(a,'popup','top=0,left=0,toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1');x.focus();}
function sopen(a)
{var x=window.open(a,'tutorial','top=0,left=0,width=570,height=520,resizable=yes,scrollbars=yes,status=yes,');x.focus();}
function nopen(a)
{var x=window.open(a,'newsletter','top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=800,height=170');x.focup();}
function copen(a)
{var x=window.open(a,'cvopen','top=50,left=50,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=620,height=350');x.focus();}
function cvopen(a)
{var x=window.open(a,'cvpanel','top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=850,height=630');x.focus();}
function syopen(a)
{var x=window.open(a,'synopsis','top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=770,height=400');x.focus();}
function uopen(a)
{var x=window.open(a,'cv','top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=500,height=150');x.focus();}
function popen(a)
{var x=window.open(a,'profit','top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=700,height=500');x.focus();}
function xopen(a,width,heigth)
{var x=window.open(a,'profit','width='+width+',height='+heigth+'top=0,left=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0');x.focus();}
function validation()
{if(document.subscribe.CGU.checked==false)
{alert('Vous devez avoir pris connaissance des conditions générales d\'utilsation avant toute inscription');}
else
{subscribe.submit();}}
function isChecked(x)
{return document.getElementById(x).checked;}
function checkCheckBox(x,error)
{var test=isChecked(x);if(!test)alert(error);return test;}
function checkCGU(error)
{if(isChecked("new"))
{return checkCheckBox("cgu",error);}
else
return true;}
function checkSending(error)
{if(!isChecked("action1")&&!isChecked("action2")&&!isChecked("action3")&&!isChecked("action4"))
{alert(error);}
else
{document.sending.submit()}
return true;}
function checkSending2(error)
{if(document.getElementById('choice').value=="")
{alert(error);}
else
{show("sendingDoc");location.href="#document2";}
return true;}
function checkAddendum(error)
{if(!isChecked("add1")&&!isChecked("add2"))
{alert(error);}
else
{document.cess.submit()}
return true;}
function displaySubscribe()
{if(isChecked("new"))
{document.getElementById("pass").style.display='';document.getElementById("fpass").style.display='none';}
if(isChecked("old"))
{document.getElementById("pass").style.display='none';document.getElementById("fpass").style.display='';}}
function displayPayment()
{if(isChecked("CHQ"))
{document.getElementById("zonepaypalemail1").style.display='';document.getElementById("zonepaypalemail").style.display='none';}
if(isChecked("ONLINE"))
{document.getElementById("zonepaypalemail1").style.display='none';document.getElementById("zonepaypalemail").style.display='';}}
function checkElement(element)
{document.getElementById(element).checked='true';}
function display(x)
{if(document.getElementById(x).style.display=='')document.getElementById(x).style.display='none';else document.getElementById(x).style.display='';}
function displayState(x)
{if(x.value=="UNITED STATES"||x.value=="INDIA")
{document.getElementById("state").style.display='';document.getElementById("spaceState").style.display='';}
else
{document.getElementById("state").style.display='none';document.getElementById("spaceState").style.display='none';}}
function swapSearch(x)
{if(document.getElementById(x).className=='showedSearch')document.getElementById(x).className='hiddenSearch';else document.getElementById(x).className='showedSearch';}
function swap(x)
{if(document.getElementById(x).className=='showed')document.getElementById(x).className='hidden';else document.getElementById(x).className='showed';}
function show(x)
{document.getElementById(x).className='showed';}
function pagination(show,number)
{var url=document.location.href;var array=url.split('#');document.location.href="/index/redirecthtml?number="+number+"&url="+escape(array[0]+"#"+show);}
function getStart()
{var url=document.location.href;var array=url.split('#');var show=array[1];return show;}
function is_numeric(num)
{var exp=new RegExp("^[0-9]*$","g");return exp.test(num);}
function getNumPage()
{var url=document.location.href;var array=url.split('#');url=array[0];var num="";for(i=0;i<url.length;i++)
{if(is_numeric(url[i]))
{if(url[i]!=null)
{num+=url[i];}}}
return num;}
function showHide(number,nbResult,nbPageMax,tp,tn)
{show=getStart();num=getNumPage();if(show==null)show=(num*number)+1;blocPagination(nbResult,number,nbPageMax,show,tp,tn);if(show>number)show=show%number;if(show==0)show=number;var pre="doc";for(i=1;i<=number;i++)
{if(i==show)
if(document.getElementById(pre+show))
document.getElementById(pre+show).className='s';else
if(document.getElementById(pre+i))
document.getElementById(pre+i).className='h';}}
function changeBgColor(x,bg_color)
{x.bgColor=bg_color;}
function ElemDisplay(x,evt)
{var currentX,currentY;if(evt.clientX)
{currentX=evt.clientX;currentY=evt.clientY;}
if(evt.pageX)
{currentX=evt.pageX;currentY=evt.pageY;}
var scrolledx,scrolledy;var viewportx,viewporty;if(self.pageYOffset)
{scrolledx=self.pageXOffset;scrolledy=self.pageYOffset;}
else if(document.documentElement&&document.documentElement.scrollTop)
{scrolledx=document.documentElement.scrollLeft;scrolledy=document.documentElement.scrollTop;}
else if(document.body)
{scrolledx=document.body.scrollLeft;scrolledy=document.body.scrollTop;}
viewportx=currentX-scrolledx;viewporty=currentY-scrolledy;difWidth=document.body.clientWidth-viewportx;difHeight=document.body.clientHeight-viewporty;topHeigth=280;topWidth=350;if(difHeight<topHeigth)currentY=currentY-topHeigth;if(difWidth<topWidth)currentX=currentX-difWidth;document.getElementById(x).style.left=currentX+"px";document.getElementById(x).style.top=currentY+"px";document.getElementById(x).style.display='';}
function ElemDisplayNone(x)
{document.getElementById(x).style.display='none';}
function ElemDisplayTrue(x)
{document.getElementById(x).style.display='';}
function priceTopFloor()
{}
function checkPrice(text)
{var nbcar=parseFloat(document.getElementById("nbcarac").value);if(nbcar<300)
{alert(text);}
else
{document.sending.submit();}}
function nbc(x)
{var field=new String(x.value);field=field.replace(/(^\s*)|(\s*$)/g,'');document.getElementById("nbcarac").value=field.length;}
function goTo(url)
{window.location.href=url;}
function show_expand()
{if(document.all){expand.style.visibility='visible';banner.style.visibility='hidden';}
else if(navigator.userAgent.indexOf('Gecko')>0){div["expand"].style.visibility='visible';div["banner"].style.visibility='hidden';}}
function hide_expand()
{if(document.all){banner.style.visibility='visible';expand.style.visibility='hidden';}
else if(navigator.userAgent.indexOf('Gecko')>0){div["banner"].style.visibility='visible';div["expand"].style.visibility='hidden';}}
function disablenable(x,y)
{document.getElementById(x).disabled='true';document.getElementById(y).disabled='';}
var agent=navigator.userAgent.toLowerCase();var AllowOpacity=(agent.indexOf('opera')==-1)
var DefaultNote=6;var AlreadyVote=false;var LowOpacity=40;var MediumOpacity=60;var HighDensity=100;function SetOpacity(elmt,opacity)
{if(document.all)
{elmt.style.filter="alpha(opacity="+opacity+");"}
else
{elmt.style.setProperty("-moz-opacity",opacity/100,"");elmt.style.setProperty("-khtml-opacity",opacity/100,"");elmt.style.setProperty("opacity",opacity/100,"");}}
function Note_event(n,element,formId)
{for(var i=0;i<11;i++)
{SetOpacity(document.getElementById(element).getElementsByTagName("img")[i],LowOpacity);}
for(var j=0;j<n+1;j++)
SetOpacity(document.getElementById(element).getElementsByTagName("img")[j],HighDensity);document.getElementById(formId).note.value=n/2;}
function LoadNote(element,formId)
{if(AllowOpacity)
{document.getElementById(element).innerHTML='';document.getElementById(element).innerHTML+='<img src="/image/transparence.gif" title="Assigner la note de 0 sur 5" onmouseover="Note_event(0,\''+element+'\',\''+formId+'\')" align="absmiddle" width="7" height="13" />';for(var i=1;i<11;i+=2)
{y=i+1;n1=i/2;n2=y/2;document.getElementById(element).innerHTML+='<img src="/image/star/star50.gif" title="Assigner la note de '+n1+' sur 5" onmouseover="Note_event('+i+',\''+element+'\',\''+formId+'\')" align="absmiddle" />';document.getElementById(element).innerHTML+='<img src="/image/star/star05.gif" title="Assigner la note de '+n2+' sur 5" onmouseover="Note_event('+y+',\''+element+'\',\''+formId+'\')" align="absmiddle" />';}
Note_event(DefaultNote,element,formId);}
else
{document.getElementById("DropDownListNote").options[10-DefaultNote].selected=true;}}
function LoadNoteAdmin(element,formId,textAssign1,textAssign2)
{if(AllowOpacity)
{document.getElementById(element).innerHTML='';document.getElementById(element).innerHTML+='<img src="/image/transparence.gif" title="'+textAssign1+' '+"0"+' '+textAssign2+'" onClick="Note_event(0,\''+element+'\',\''+formId+'\')" align="absmiddle" width="7" height="13" />';for(var i=1;i<11;i+=2)
{y=i+1;n1=i/2;n2=y/2;document.getElementById(element).innerHTML+='<img src="/image/star/star50.gif" title="'+textAssign1+' '+n1+' '+textAssign2+'" onClick="Note_event('+i+',\''+element+'\',\''+formId+'\')" align="absmiddle" />';document.getElementById(element).innerHTML+='<img src="/image/star/star05.gif" title="'+textAssign1+' '+n2+' '+textAssign2+'" onClick="Note_event('+y+',\''+element+'\',\''+formId+'\')" align="absmiddle" />';}
Note_event(DefaultNote,element,formId);}
else
{document.getElementById("DropDownListNote").options[10-DefaultNote].selected=true;}}
function checkComment(message)
{var field=document.getElementById("comment").value;field=field.replace(/(^\s*)|(\s*$)/g,'');if(field.length<=0)
alert(message);else
document.eval.submit();}
function writeCookie(nom,valeur,expires,path,domain)
{var argv=writeCookie.arguments;var argc=writeCookie.arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;var cookie=nom+"="+escape(valeur)+
((expires==null)?"":("; expires="+expires.toGMTString()))+
((path==null)?"":("; path="+path))+
((domain==null)?"":("; domain="+domain))+
((secure==true)?"; secure":"");document.cookie=cookie;}
function readCookie(name){if(document.cookie)
{index=document.cookie.indexOf(name);if(index!=-1)
{nDeb=(document.cookie.indexOf("=",index)+1);nFin=document.cookie.indexOf(";",index);if(nFin==-1){nFin=document.cookie.length;}
return unescape(document.cookie.substring(nDeb,nFin));}}
return-1;}
function applyCode()
{var code=document.getElementById("godfatherId").value;var url="sendDoc2?type=applyCode&godfatherId="+code;goTo(url);}
function applyCode_fr()
{var code=document.getElementById("godfatherId").value;var url="sendDocBis?type=applyCode&godfatherId="+code;goTo(url);}
function setValue(target,from)
{document.getElementById(from).value=document.getElementById(target).value;}
function random(limit)
{var nb=Math.floor(Math.random()*limit)+1;var nb=nb-1;return nb;}
function switchAd()
{rand=readCookie("_alea");if(rand==-1)
{rand=random(2);writeCookie("_alea",rand,null,"/");}
if(rand==1)
{if(document.getElementById("pub2"))document.getElementById("pub").style.display='none';if(document.getElementById("pub2"))document.getElementById("pub2").style.display='block';if(document.getElementById("pub3"))document.getElementById("pub3").style.display='none';if(document.getElementById("pub4"))document.getElementById("pub4").style.display='block';}}
function getRandom()
{rand=readCookie("_alea");if(rand==-1)
{rand=random(2);writeCookie("_alea",rand,null,"/");}
return rand;}
function displayPubRight(promo,country,text)
{var random=parseInt(getRandom());if(random<1&&random>3)random=1;random+=1;var tracker="ad"+random;promo=promo+random;if(country!='fr')
{document.write('<a href="http://'+country+'.oboulo.com/private/subscribe?promo='+promo+'" target="_blank"><img border="0" src="/image/promo/'+country+'/300x250avril'+random+'.gif"" width="300" height="250" title="'+text+'" alt="'+text+'"/></a>');}
else
{document.write('<a href="http://www.oboulo.com/private/subscribe?promo='+promo+'" target="_blank"><img border="0" src="/image/promo/'+country+'/300x250avril'+random+'.gif"" width="300" height="250" title="'+text+'" alt="'+text+'"/></a>');}}
function displayPubHeader(promo,country,text)
{var random=parseInt(getRandom());if(random<1||random>3)random=1;random+=1;var tracker="header"+random;var pn=random+2;promo=promo+pn;if(country!='fr')
{document.write('<a href="http://'+country+'.oboulo.com/private/subscribe?promo='+promo+'" target="_blank"><img border="0" src="/image/promo/'+country+'/995X78_'+random+'.png"" width="995" height="78" title="'+text+'" alt="'+text+'"/></a>');}
else
{document.write('<a href="http://www.oboulo.com/private/subscribe?promo='+promo+'" target="_blank"><img border="0" src="/image/promo/'+country+'/995X78_'+random+'.png"" width="995" height="78" title="'+text+'" alt="'+text+'"/></a>');}}
function writeElement(element,text)
{document.getElementById(element).innerHTML=text;}
function writeSwapy(id,doc,type,start,text,cl,S,T,L,order,sort,ratio,hp)
{document.write('<a href="javascript:swapy(\''+id+'\',\''+doc+'\',\''+type+'\',\''+start+'\',\''+S+'\',\''+T+'\',\''+L+'\',\''+order+'\',\''+sort+'\',\''+ratio+'\',\''+hp+'\');" class="'+cl+'">'+text+'</a>');}
function writeLink(href,text,cl)
{if(cl==null)cl='l2';document.write('<a href="'+href+'" class="'+cl+'">'+text+'</a>');}
function writeSection(id,cl)
{document.write('<div id="'+id+'" class="'+cl+'">');}
function writeNbResults(number,nbResult,text)
{show=getStart();num=getNumPage();if(show==null)show=num+1;show-=1;show*=number;end=(parseInt(show)+parseInt(number));if(end>nbResult)end=nbResult;show+=1;document.write('<b>'+show+' - '+end+' </b> '+text+' <b>'+nbResult+'</b>');}
function blocPagination(nbResult,number,nbPageMax,start,tp,tn)
{begin=start;debut=begin-Math.round(nbPageMax/2);maxResult=nbResult/(Math.round(nbPageMax/2));fin=debut+nbPageMax;nbPageResult=nbResult/number;if(fin<nbPageMax)fin=nbPageMax;if(fin>maxResult)fin=maxResult;if(debut<0)debut=0;previous=begin-1;next=parseInt(begin)+1;elem=document.getElementById("footerSearch");elem.innerHTML="";if(previous>0)
elem.innerHTML+='<a id="p'+previous+'" href="javascript:pagination(\''+previous+'\',\''+number+'\');" class="l2">'+tp+'</a>&nbsp;';for(i=debut;i<nbPageResult&&i<fin;i++)
{d=i+1;start=i*number;if(d==begin)
elem.innerHTML+='<span class="titreorange"><small>'+d+'&nbsp;</small></span>';else
elem.innerHTML+='<a id="p'+d+'" href="javascript:pagination(\''+d+'\',\''+number+'\');" class="linkcourant"><small>'+d+'</small></a>&nbsp;';}
if(next<nbPageResult)
elem.innerHTML+='<a id="p'+next+'" href="javascript:pagination(\''+next+'\',\''+number+'\');" class="l2">'+tn+'</a>&nbsp;';}
function switchCountry(country)
{switch(country)
{case'FR':location.href="http://www.oboulo.com/?lang=fr";break;case'EN':location.href="http://en.oboulo.com/?lang=en";break;case'IN':location.href="http://en.oboulo.com/?lang=in";break;case'PT':location.href="http://pt.oboulo.com/?lang=pt";break;default:location.href="http://www.oboulo.com/?lang=fr";break;}}
function updateifsccode(x)
{opener.document.getElementById('ifsccode').value=x;self.close();}
function catListing()
{document.getElementById("statcategory").style.display='block';document.getElementById("dyncategory").style.display='none';};function clear_doc(_id)
{elem=document.getElementById("zone"+_id);document.getElementById("zone"+_id).innerHTML="";}
function swapy(_id,_doc,page,start,subject,type,lang,order,sort,ratio,hp)
{if(document.getElementById("zone"+_id).innerHTML)
clear_doc(_id)
else
getDoc(_id,_doc,page,start,subject,type,lang,order,sort,ratio,hp);}
function getDoc(_id,_doc,page,start,subject,type,lang,order,sort,ratio,hp)
{elem=document.getElementById("zone"+_id);elem.innerHTML="<img src='/image/wait.gif'>&nbsp;";var url='/summary/include?id='+_doc+'&type='+page+'&start='+start+'&S='+subject+'&T='+type+'&L='+lang+'&order='+order+'&sort='+sort+'&ratio='+ratio+'&idd='+_id+'&HP='+hp;try{url+="&footer="+footer;}catch(err){}
if(window.XMLHttpRequest)
{xmlhttp=new XMLHttpRequest();xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;elem.innerHTML=html_rep;}
else if(window.ActiveXObject)
{xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');if(xmlhttp)
{xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;elem.innerHTML=html_rep;}}}
function getPrice(id)
{var url='/index/eprice?doc_id='+id;if(window.XMLHttpRequest)
{xmlhttp=new XMLHttpRequest();xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;document.write(html_rep);}
else if(window.ActiveXObject)
{xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');if(xmlhttp)
{xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;document.write(html_rep);}}}
function getCurrencyBox()
{var url='/index/currencybox';if(window.XMLHttpRequest)
{xmlhttp=new XMLHttpRequest();xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;document.write(html_rep);}
else if(window.ActiveXObject)
{xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');if(xmlhttp)
{xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;document.write(html_rep);}}}
function tagAnalytics(lang)
{var url='/index/etag';if(window.XMLHttpRequest)
{xmlhttp=new XMLHttpRequest();xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;}
else if(window.ActiveXObject)
{xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');if(xmlhttp)
{xmlhttp.open('GET',url,false);xmlhttp.send(null);html_rep=xmlhttp.responseText;}}
switch(lang)
{case'fr':var pageTracker=_gat._getTracker("UA-263181-2");pageTracker._setVar('balance_'+html_rep);pageTracker._initData();pageTracker._trackPageview();var pageTracker2=_gat._getTracker("UA-263181-3");pageTracker2._initData();pageTracker2._trackPageview();break;case'pt':var pageTracker=_gat._getTracker("UA-263181-6");pageTracker._setVar('balance_'+html_rep);pageTracker._initData();pageTracker._trackPageview();break;case'en':var pageTracker=_gat._getTracker("UA-263181-9");pageTracker._setVar('balance_'+html_rep);pageTracker._initData();pageTracker._trackPageview();break;}};var _HOST_HTTP_="oboulogroupe.solution.weborama.fr";var _HOST_SSL_="oboulogroupe.solution.weborama.fr";var _NB_MAX_CONTENU_=1;var _TAILLE_MAX_CONTENU_=100;var _TAILLE_MAX_CHAINE_=50;var _TAILLE_MAX_ALPHANUM_=30;var WEBO_ID_GROUPE=377648;var COOKIE_SEGMENTATION='wbo_segment_';function wreport_counter(section,subsection,site,frame,channel,section_grp,subsection_grp)
{this.site=site;this.section;this.subsection;this.channel='';this.content='';this.nb_content=0;this.url='';this.frame=frame;this.segmentation=new Array('','','','','');this.profiles='';this.profiling_cookie_mode=1;this.cookie_segmentation=COOKIE_SEGMENTATION;this.domaine_segmentation='';this.host=_HOST_HTTP_+'/fcgi-bin/comptage_wreport.fcgi';this.host_ssl=_HOST_SSL_+'/fcgi-bin/comptage_wreport.fcgi';this.extendparameters='';this.extend_parameters=new Array('','','','','');this.counter=new Image(1,1);this.profiling_cookie_mode=profiling_cookie_mode;this.generate_url=generate_url;this.add_content=add_content;this.add_channel=add_channel;this.add_group=add_group;this.add_profile=add_profile;this.add_profiles=add_profiles;this.delete_profiles=delete_profiles;this.get_profiles=get_profiles;this.count=count;this.add_extend_parameter=add_extend_parameter;this.add_extend_parameters=add_extend_parameters;this.get_extend_parameters=get_extend_parameters;this.section=traite_chaine(section,_TAILLE_MAX_ALPHANUM_);this.subsection=traite_chaine(subsection,_TAILLE_MAX_ALPHANUM_);if(channel!=null)
{this.add_channel(channel);}
if(section_grp!=null&&subsection_grp!=null)
{this.add_group(section_grp,subsection_grp);}
this.cookie_segmentation+=site;}
function generate_url()
{var _date_=new Date();this.date=parseInt(_date_.getTime()/1000-60*_date_.getTimezoneOffset());this.ref=''+escape(document.referrer);this.ta='0x0';this.co=0;this.nav=navigator.appName;this.get_profiles();this.get_extend_parameters();if(parseInt(navigator.appVersion)>=4)
{this.ta=screen.width+"x"+screen.height;this.co=(this.nav!="Netscape")?screen.colorDepth:screen.pixelDepth;}
if((this.frame!=null)&&(this.nav!="Netscape"))
{var reftmp='parent.document.referrer';if((this.frame<5)&&(this.frame>0)){for(_k=this.frame;_k>1;_k--)reftmp='parent.'+reftmp;}
var mon_ref=eval(reftmp);if(document.referrer==parent.location||document.referrer=='')this.ref=''+escape(mon_ref)}
if(location.protocol=='https:')
{this.url="https://"+this.host_ssl+"?WRP_ID="+this.site;}
else
{this.url="http://"+this.host+"?WRP_ID="+this.site;}
if(this.profiles!=null)this.url+="&WRP_PFL="+this.profiles;if(this.extendparameters!=null)this.url+=this.extendparameters;var is_mac=(wf_uaO('mac')!=-1);var is_opera=(wf_uaO('opera')!=-1);if((!is_mac)&&(!is_opera)){var msieind=navigator.userAgent.indexOf('MSIE');if(msieind>0){if(parseInt(navigator.userAgent.charAt(msieind+5))>=5){document.body.addBehavior("#default#clientCaps");this.cnx=(document.body.connectionType=='modem')?'A':'B';document.body.addBehavior("#default#homePage");this.home=(document.body.isHomePage(location.href))?'A':'B';this.url+="&CONN="+this.cnx+"&ISHOME="+this.home;}}}
this.url+="&WRP_SECTION="+this.section+"&WRP_SUBSECTION="+this.subsection;if(this.site_grp!=null&&this.section_grp!=null&&this.subsection_grp!=null)
{this.url+="&WRP_ID_GRP="+this.site_grp+"&WRP_SECTION_GRP="+this.section_grp+"&WRP_SUBSECTION_GRP="+this.subsection_grp;}
if(this.content!=null)this.url+="&WRP_CONTENT="+this.content;if(this.channel!=null)this.url+="&WRP_CHANNEL="+this.channel;this.url+="&ver=2&da2="+this.date+"&ta="+this.ta+"&co="+this.co+"&ref="+this.ref;}
function count()
{this.generate_url();this.counter.src=this.url;return 1;}
function add_channel(chaine)
{if(chaine==null||chaine=='')return 0;this.channel=traite_chaine(chaine,_TAILLE_MAX_CHAINE_);return 1;}
function add_group(section,subsection)
{this.site_grp=WEBO_ID_GROUPE;this.section_grp=traite_chaine(section,_TAILLE_MAX_ALPHANUM_);this.subsection_grp=traite_chaine(subsection,_TAILLE_MAX_ALPHANUM_);}
function add_content(chaine)
{if(chaine==null||chaine=='')return 0;this.nb_content++;if(this.nb_content>_NB_MAX_CONTENU_)return 0;if(this.nb_content>1)this.content=this.content.concat('|');chaine=chaine.replace('|',' ');this.content=this.content.concat(traite_chaine(chaine,_TAILLE_MAX_CONTENU_));return 1;}
function profiling_cookie_mode(mode)
{if(mode=='on')
{this.profiling_cookie_mode=1;}
else
{this.profiling_cookie_mode=0;}}
function add_profile(numero,valeur)
{numero=parseInt(numero,10);if((numero<1)||(numero>5))return-2;if(this.profiling_cookie_mode==0)
{numero--;this.segmentation[numero]=valeur;return 1;}
if(parseInt(navigator.appVersion,10)<=3)return-1;nb_mois=12;var verif_val_I=/^\d+$/;if(verif_val_I.test(valeur))valeur=encode_en_lettre(valeur);var verif_val_A=/^\w*$/;if(verif_val_A.test(valeur)){var mon_profil_wbo=GetCookie(this.cookie_segmentation);tab_segment=new Array('','','','','');if(mon_profil_wbo!=null){tab_segment=mon_profil_wbo.split('|');if(tab_segment.length!=5)tab_segment=('','','','','');if(tab_segment[numero-1]==valeur)return 1;}
if(this.domaine_segmentation==''){this.domaine_segmentation=window.location.host;tab_points=new Array();tab_points=window.location.host.split('.');if(tab_points.length>2)this.domaine_segmentation=this.domaine_segmentation.substring(this.domaine_segmentation.indexOf('.'),this.domaine_segmentation.length);if(tab_points.length==2)this.domaine_segmentation='.'+this.domaine_segmentation;}
var ma_chaine_profil='';for(var i=1;i<=5;i++){if(i==numero)tab_segment[i-1]=valeur;if((tab_segment[i-1]=='')||(tab_segment[i-1]==null))tab_segment[i-1]='';ma_chaine_profil+=tab_segment[i-1];if(i<5)ma_chaine_profil+='|';}
expd=new Date();expd.setTime(expd.getTime()+(nb_mois*30*24*3600*1000));SetCookie(this.cookie_segmentation,ma_chaine_profil,expd,'/',this.domaine_segmentation);return 2;}
else return-3;}
function add_profiles(p1,p2,p3,p4,p5){this.add_profile(1,p1);this.add_profile(2,p2);this.add_profile(3,p3);this.add_profile(4,p4);this.add_profile(5,p5);}
function delete_profiles()
{if(this.profiling_cookie_mode==0)
{this.segmentation=Array('','','','','');}
else
{expd=new Date();expd.setTime(expd.getTime()-(24*3600*1000));SetCookie(this.cookie_segmentation,'||||',expd,'/',this.domaine_segmentation);}}
function get_profiles(){this.profiles=GetCookie(this.cookie_segmentation);if(this.profiles==null){this.profiles='';var verif_val_I=/^\d+$/;for(var i=1;i<=5;i++){if(verif_val_I.test(this.segmentation[i-1]))this.segmentation[i-1]=encode_en_lettre(this.segmentation[i-1]);this.profiles+=this.segmentation[i-1];if(i<5)this.profiles+='|';}}
this.profiles=escape(this.profiles);}
function encode_en_lettre(num){num=parseInt(num,10);if(num>2500)return'';var num1=parseInt(num/52,10);var num2=num%52;num1+=65;if(num1>90)num1+=6;num2+=65;if(num2>90)num2+=6;var mon_code52=String.fromCharCode(num1)+String.fromCharCode(num2);return mon_code52;}
function traite_chaine(str,taille_max){var s=traduction(str);var bag="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-.,;:_ ";var i;var returnString="";if(s==null)return"";s=""+s;s=s.substr(0,taille_max);for(i=0;i<s.length;i++){var c=s.charAt(i);if(bag.indexOf(c)!=-1)returnString+=c;}
returnString=unicite_espace(returnString);returnString=escape(returnString);return returnString;}
function convertir(chaine)
{var str=chaine.replace(/&#(\d+);/,"$1");return String.fromCharCode(str);}
function traduction(chaine)
{var chaine_b=unescape(chaine);var i=0;while(chaine_b!=chaine&&i<5)
{i++;chaine=chaine_b;chaine_b=unescape(chaine_b);}
return chaine_b.replace(/&#(\d+);/gi,convertir);}
function unicite_espace(chaine)
{var str=chaine.replace(/(\s+)/g,' ');str=str.replace(/(^\s*)|(\s*$)/g,"");return str;}
function wf_uaO(c){var wf_ual=navigator.userAgent.toLowerCase();return(wf_ual.indexOf(c))}
var _NB_MAX_EXTEND_PARAMETERS=5;var _TAILLE_MAX_EXTEND_PARAMETER_=100;function add_extend_parameters(p1,p2,p3,p4,p5){this.add_extend_parameter(1,p1);this.add_extend_parameter(2,p2);this.add_extend_parameter(3,p3);this.add_extend_parameter(4,p4);this.add_extend_parameter(5,p5);}
function add_extend_parameter(numero,valeur){numero=parseInt(numero,10);if((numero<1)||(numero>_NB_MAX_EXTEND_PARAMETERS))return-2;this.extend_parameters[--numero]=clean_extend_parameter(valeur);}
function clean_extend_parameter(s){if(s==null)return"";s=""+s;return s.substr(0,_TAILLE_MAX_EXTEND_PARAMETER_);}
function get_extend_parameters(){this.extendparameters='';for(var i=1;i<=_NB_MAX_EXTEND_PARAMETERS;i++){this.extendparameters+="&BI"+i+"="+encodeURIComponent(this.extend_parameters[i-1]);}}
function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)
endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}
function GetCookie(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)
return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}
return null;}
function SetCookie(name,value,expires,path,domain,secure){document.cookie=name+"="+escape(value)+
((expires)?"; expires="+expires.toGMTString():"")+
((path)?"; path="+path:"")+
((domain)?"; domain="+domain:"")+
((secure)?"; secure":"");}
function wreport(section,subsection,site,frame,content,channel){var w_compteur=new wreport_counter(section,subsection,site,frame,channel);w_compteur.add_content(content);w_compteur.count();}
function wreport_groupe(section,subsection,site,section_grp,subsection_grp,frame,content,channel){var w_compteur=new wreport_counter(section,subsection,site,frame,channel,section_grp,subsection_grp);w_compteur.add_content(content);w_compteur.count();}
function wreport_click(url,section,subsection,site,frame,content,channel){var w_compteur=new wreport_counter(section,subsection,site,frame,channel);w_compteur.add_content(content);w_compteur.count();w_compteur.counter.onload=function(){document.location=url;}}
function wreport_click_groupe(url,section,subsection,site,section_grp,subsection_grp,frame,content,channel){var w_compteur=new wreport_counter(section,subsection,site,frame,channel,section_grp,subsection_grp);w_compteur.add_content(content);w_compteur.count();w_compteur.counter.onload=function(){document.location=url;}}
wreport_ok=1;