
var OldNetscope={};(function(module){var _NB_MAX_CONTENU_=1;var _TAILLE_MAX_CONTENU_=100;var _TAILLE_MAX_CHAINE_=50;var _TAILLE_MAX_ALPHANUM_=30;var WEBO_ID_GROUPE=312222;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.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.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();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://netscope.secure.marktest.pt";}else{this.url="http://netscope.data.marktest.pt";}
this.url+="/fcgi-bin/comptage_wreport.fcgi?WRP_ID="+this.site;if(this.profiles!=null)this.url+="&WRP_PFL="+this.profiles;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();var urlToUse=this.url;var _this_counter=this.counter;setTimeout(function(){_this_counter.src=urlToUse;},0);return 1;}
function add_channel(chaine){if(chaine==null)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)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(s,taille_max){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=escape(returnString);return returnString;}
function wf_uaO(c){var wf_ual=navigator.userAgent.toLowerCase();return(wf_ual.indexOf(c))}
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;}}
OldNetscope.wreport_counter=wreport_counter;})(OldNetscope);(function(){'use strict';if(typeof(window.SAPO)==='undefined'){window.SAPO={};}else{window.SAPO=window.SAPO;}
if(typeof(window.SAPO.WebAnalytics)!=='undefined'){return;}
var WebAnalytics={gemiusLoaded:false,init:function(){this.now=new Date();var options=this.extend({vtimeout:(30*60*1000),uvtimeout:(2147385600000-this.now.getTime()),gifpath:"http://wa.sl.pt/wa.gif",sgifpath:"https://ssl.sapo.pt/wa.sl.pt/wa.gif",hostname:window.location.hostname,swasite:'',swasection:'',swasubsection:'',swasectiongrp:'',swasubsectiongrp:'',swacontent:'',swachannel:'',swagoal:'(none)',swametadata:{},etype:"page-view",cname:'',csource:'',cmedium:'',nuv:'',ngv:'',nhuv:'',nhv:''},arguments[0]||{});this.swakt=options.swakt;this.vtimeout=options.vtimeout;this.uvtimeout=options.uvtimeout;this.gifpath=options.gifpath;this.sgifpath=options.sgifpath;this.host=options.hostname;this.swasite=options.swasite;this.swasection=options.swasection;this.swasubsection=options.swasubsection;this.swasectiongrp=options.swasectiongrp;this.swasubsectiongrp=options.swasubsectiongrp;this.swacontent=options.swacontent;this.swachannel=options.swachannel;this.swagoal=options.swagoal;this.swametadata=options.swametadata;this.etype=options.etype;this.cname=options.cname;this.csource=options.csource;this.cmedium=options.cmedium;this.mkt_v3_id=options.mkt_v3_id;this.mkt_v3_ishp=options.mkt_v3_ishp;},extend:function(destination,source){for(var property in source){if((typeof(source[property])==='undefined')||(source[property]===null)){continue;}
destination[property]=source[property];}
return destination;},swfver:function(){var f="-",n=window.navigator;if(n.plugins&&n.plugins.length){for(var ii=0;ii<n.plugins.length;ii++){if(n.plugins[ii].name.indexOf('Shockwave Flash')!==-1){f=n.plugins[ii].description.split('Shockwave Flash ')[1];break;}}}else if(window.ActiveXObject){for(var jj=10;jj>=2;jj--){try{var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+jj+"');");if(fl){f=jj+'.0';break;}}catch(e){}}}
return f;},es:function(s,u){if(typeof(encodeURIComponent)=='function'){if(u){return encodeURI(s);}else{return encodeURIComponent(s);}}else{return escape(s);}},des:function(s){if(typeof(decodeURIComponent)=='function'){return decodeURIComponent(s);}else{return unescape(s);}},binfo:function(){var bsr="-",bsc="-",bul="-",bfl="-",bcs="-",bje=1;var n=window.navigator;if(window.self.screen){bsr=window.self.screen.width+"x"+window.self.screen.height;bsc=window.self.screen.colorDepth+"-bit";}
if(n.language){bul=n.language.toLowerCase();}else if(n.browserLanguage){bul=n.browserLanguage.toLowerCase();}
bje=n.javaEnabled()?1:0;bfl=this.swfver();if(document.characterSet){bcs=this.es(document.characterSet);}else if(document.charset){bcs=this.es(document.charset);}
return"&bcs="+bcs+"&bsr="+bsr+"&bsc="+bsc+"&bul="+bul+"&bje="+bje+"&bfl="+bfl;},sck:function(name,value,expires,domain){var path="/";var s=name+"="+this.es(value);if(expires){var td=new Date();td.setTime(td.getTime()+expires);s+=";expires="+td.toGMTString();}
s+=";path="+path;s+=";domain="+domain;document.cookie=s;},gck:function(ckn){var name=ckn+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1,c.length);}
if(c.indexOf(name)===0){return this.des(c.substring(name.length,c.length));}}
return null;},ckid:function(){var maxid=Number("9223372036854775807");var svalue=Math.round(Math.random()*2147483648)+''+Math.round(this.now.getTime()/1000);var bi=Number(svalue);var l=svalue.length;var ix=0;while(bi>maxid){bi=Number(String(svalue).substring(++ix,l));}
var s=String(svalue).substring(ix,l);while(s.substr(0,1)=='0'&&s.length>1){s=s.substr(1,l);}
return s;},ckdm:function(){var ad=location.hostname.split("."),al=ad.length;return"."+ad[al-2]+"."+ad[al-1];},exkw:function(href){var params=this.urlvars(href),q=['q','query','qs','qt','rdata','search_word','szukaj','terms','text','wd','encquery','k','p'],kw='';for(var i=0;i<q.length;i++){if(typeof(params[q[i]])!='undefined'){var k=this.des(params[q[i]]);if(!this.isBlank(k)){kw=this.es(k);break;}}}
return kw;},urlvars:function(href){var vars=[],hash,qs=href.replace(/.*?\?/,'').replace(/#.*$/,''),hashes=qs.split('&');for(var i=0;i<hashes.length;i++){hash=hashes[i].split('=');vars.push(hash[0]);vars[hash[0]]=hash[1];}
return vars;},queryParams:function(href){var qs=window.top.location.search.split("+").join(" ");var params={},tokens,re=/[?&]?([^=]+)=([^&]*)/g;while(tokens=re.exec(qs)){params[decodeURIComponent(tokens[1])]=decodeURIComponent(tokens[2]);}
if(this.isBlank(params._swa_cname)||this.isBlank(params._swa_csource)||this.isBlank(params._swa_cmedium)){params._swa_cname=params.swa_campaign;params._swa_csource=params.swa_source;params._swa_cmedium=params.swa_medium;}
if(this.isBlank(params._swa_cname)||this.isBlank(params._swa_csource)||this.isBlank(params._swa_cmedium)){params._swa_cname=params.utm_campaign;params._swa_csource=params.utm_source;params._swa_cmedium=params.utm_medium;}
return params;},isBlank:function(str){return(!str||/^\s*$/.test(str));},coalesce:function(){for(var i=0,j=arguments.length;i<j;i++){if(!this.isBlank(arguments[i]))return arguments[i];}},ref:function(){var ref=document.referrer;try{ref=top.document.referrer;}catch(ex){}
return ref;},attrs:function(){if(arguments.length>0){this.init(arguments[0]);}else{this.init();}
var queryParams=this.queryParams(),cname,csource,cmedium,_swa_uv=this.gck("_swa_uv"),_swa_gv=this.gck("_swa_gv"),_swa_huv=this.gck("_swa_huv"),_swa_hv=this.gck("_swa_hv"),_swa_lpvts=this.gck("_swa_lpvts"),is_new_uv=false,is_new_gv=false,is_new_huv=false,is_new_hv=false;var time_since_last_pv=undefined;if(_swa_lpvts!==null){time_since_last_pv=(new Date().getTime())-_swa_lpvts;}
this.sck("_swa_lpvts",(new Date()).getTime(),this.vtimeout,this.host);if(_swa_uv===null){_swa_uv=this.ckid();this.sck("_swa_uv",_swa_uv,this.uvtimeout,this.ckdm());is_new_uv=true;}
if(_swa_huv===null){_swa_huv=this.ckid();this.sck("_swa_huv",_swa_huv,this.uvtimeout,this.host);is_new_huv=true;}
if(_swa_gv===null){_swa_gv=this.ckid();this.sck("_swa_gv",_swa_gv,this.vtimeout,this.ckdm());is_new_gv=true;}
_swa_uv=this.gck("_swa_uv")===null?0:this.gck("_swa_uv");_swa_huv=this.gck("_swa_huv")===null?0:this.gck("_swa_huv");if(!this.isBlank(queryParams._swa_cname)&&!this.isBlank(queryParams._swa_csource)&&!this.isBlank(queryParams._swa_cmedium)){cname=queryParams._swa_cname;csource=queryParams._swa_csource;cmedium=queryParams._swa_cmedium;}
if(this.isBlank(_swa_hv)){var ref=this.ref();var kw=this.exkw(ref),hv_type=is_new_huv?'new':'returning',k=this.isBlank(kw)?'(none)':kw,r=this.isBlank(ref)?'(none)':ref,hv_source_type='direct';if(!this.isBlank(queryParams._swa_cname)&&!this.isBlank(queryParams._swa_csource)&&!this.isBlank(queryParams._swa_cmedium)){hv_source_type='campaign';}
else if(!this.isBlank(kw)){hv_source_type='organic';}
else if(!this.isBlank(ref)){hv_source_type='referral';}
_swa_hv=this.ckid();_swa_hv+='|'+(new Date()).getTime();_swa_hv+='|'+hv_type;_swa_hv+='|'+hv_source_type;_swa_hv+='|'+k;_swa_hv+='|'+r;this.sck("_swa_hv",_swa_hv,this.vtimeout,this.host);is_new_hv=true;}
_swa_hv=this.gck("_swa_hv")===null?'':this.gck("_swa_hv");var _pg="/";try{_pg=this.es(window.top.location.pathname+window.top.location.search);}catch(ex){}
var mkt_v3_id=this.mkt_v3_id,mkt_v3_ishp=this.mkt_v3_ishp;return{swa_uv:_swa_uv,swa_gv:_swa_gv,swa_huv:_swa_huv,swa_hv:_swa_hv,lpvd:time_since_last_pv,pg:_pg,nuv:(is_new_uv?'1':'0'),ngv:(is_new_gv?'1':'0'),nhuv:(is_new_huv?'1':'0'),nhv:(is_new_hv?'1':'0'),cname:cname,csource:csource,cmedium:cmedium,mkt_v3_id:mkt_v3_id,mkt_v3_ishp:mkt_v3_ishp};},event:function(action,wa_options,event_attributes,isSync){try{if((arguments.length>=2)&&(!this.isBlank(action))){var wa_ev_opts=this.extend({etype:"action"},wa_options||{});var ev_attr=this.extend({action:action},event_attributes||{});if(isSync){this.doTrackSync(wa_ev_opts,ev_attr);}else{this.doTrack(wa_ev_opts,ev_attr);}}}catch(ex){this.handleError(ex);}},perf:function(){var ti;var p=window.performance||window.msPerformance||window.webkitPerformance||window.mozPerformance;if(p&&p.timing){ti=p.timing;var data={serverTime:ti.responseEnd-ti.requestStart,processingTime:ti.domComplete-ti.domLoading,totalTime:ti.domComplete-ti.requestStart};return[data.serverTime,data.processingTime,data.totalTime];}else{return null;}},track:function(){if(document.readyState==='complete'){this.doTrack.apply(this,arguments);}else{var args=arguments,self=this;var callback=function(){self.doTrack.apply(self,args);};if(window.addEventListener){window.addEventListener("load",callback,false);}else if(window.attachEvent){window.attachEvent("onload",callback);}}},_proccessToTrack:function(obj,perf,ev_attr,isSync)
{isSync=!!isSync;var qr="?s="+this.host;qr+="&etype="+this.etype;qr+="&pg="+obj.pg;qr+="&swauv="+obj.swa_uv;qr+="&swagv="+obj.swa_gv;qr+="&swahuv="+obj.swa_huv;qr+="&swahv="+this.es(obj.swa_hv);qr+="&ngv="+obj.ngv;qr+="&nuv="+obj.nuv;qr+="&nhuv="+obj.nhuv;qr+="&nhv="+obj.nhv;if(typeof(obj.lpvd)!=='undefined'){qr+="&lpvd="+obj.lpvd;}
qr+="&hti="+(perf!==null?"1":"0");if(perf!==null){qr+="&ti="+perf.join('|');}
qr+=this.binfo();qr+="&swasite="+this.swasite;qr+="&swasection="+this.swasection;qr+="&swasubsection="+this.swasubsection;qr+="&swasectiongrp="+this.swasectiongrp;qr+="&swasubsectiongrp="+this.swasubsectiongrp;qr+="&swacontent="+this.swacontent;qr+="&swachannel="+this.swachannel;qr+="&dc="+this.es(document.title);qr+="&ref="+this.es(this.ref());if(!this.isBlank(this.swakt)){qr+="&swakt="+this.swakt;}
if("action"==this.etype){var aStr=[];var action_attr=arguments[2];if(typeof(action_attr)=='object'){for(var prop in action_attr){aStr.push(prop+':'+action_attr[prop]);}}
qr+="&swaactiondata="+encodeURIComponent(aStr.join('|'));}
if(!this.isBlank(obj.cname)){qr+="&cname="+encodeURIComponent(obj.cname);}
if(!this.isBlank(obj.csource)){qr+="&csource="+encodeURIComponent(obj.csource);}
if(!this.isBlank(obj.cmedium)){qr+="&cmedium="+encodeURIComponent(obj.cmedium);}
qr+="&swagoal="+this.es(this.swagoal);qr+="&r="+Math.random();qr+="&v=3.2";return qr;},doTrack:function(){try{if(document.location.protocol=="file:"){return;}
var obj=this.attrs(arguments[0]);var perf=this.perf();var qr=this._proccessToTrack(obj,perf,arguments[1],false);var _uripath=this.gifpath+qr;if(location.protocol=='https:'){_uripath=this.sgifpath+qr;}
var img=new Image(1,1);setTimeout(function(){img.src=_uripath;},0);this.doTrackOldNetscope(arguments[0]);this.doTrackGemius(arguments[0]);}catch(ex){this.handleError(ex);}},doTrackSync:function(){try{if(document.location.protocol=="file:"){return;}
var obj=this.attrs(arguments[0]);var perf=this.perf();var qr=this._proccessToTrack(obj,perf,arguments[1],true);var _uripath=this.gifpath+qr;if(location.protocol=='https:'){_uripath=this.sgifpath+qr;}
var img=new Image(1,1);img.src=_uripath;this.doTrackGemius(arguments[0]);this.doTrackOldNetscope(arguments[0]);}catch(ex){this.handleError(ex);}},doTrackOldNetscope:function(obj){if(!OldNetscope)return;if(obj.mkt_v3_id){var map={'03895727-e59e-3d91-a072-84a95ec972f9':323397,'070e01d3-a479-3f37-bd14-e5d68ca95692':319613,'18aafb02-d176-31c9-b99f-95f16aa02401':312252,'28fc698d-2338-355d-81cd-5acdb3fd8ac1':312249,'3a91aaff-7a40-31d5-8987-cef125f3726a':312230,'44755c27-6203-3ed1-ad93-82bb750853d3':312245,'526efa09-2680-3892-8cbc-f09b1b75cdb4':454671,'58939308-d927-31b8-9900-17182d50ea51':312239,'6b2e0c42-e126-34b6-a0d0-eab843ecb325':459625,'6e0cb332-feab-3ee6-9c74-af9396c104f0':312233,'7aac8083-c759-3035-9dc2-5b29ef6461a2':312253,'898e01c3-fe71-347c-b318-6c5260f290f3':312500,'a6faeea7-72a7-338a-95db-3f9625a4cbe5':312256,'ad5c188c-1b6f-39da-a11d-48a6b054e943':312223,'af66c161-2ebb-3b40-9917-95eb0351e6ea':312268,'b45dddd7-0dbc-398c-a285-a94d8e99249a':319600,'bed3d325-8963-3350-b7e3-7b4db7f7db00':454766,'c480dff2-8e75-3480-a996-013881078494':312232,'d9ec394e-0ffc-3bac-a624-ede0c3594047':403897,'dc2e6834-0145-3dac-9638-b8c39dc21765':312234,'ef03e73c-c657-378e-80bb-b250e44a1e28':349136,'f00304d8-48f5-3450-8383-807ae49d8d03':312262,'f6c6785f-697f-377a-afa1-0a83b295d274':312275,'ec83ca83-e801-30da-8be6-9948ba2812bb':368577,'a6c022e4-c911-331f-a9a6-c265e4e04a25':312238,'118d1f87-7dbe-38ec-9281-a9c59aa73a8f':312286,'d7d9d33d-4acf-3c19-a9e5-ae756ddcec15':312244,'a7ee114e-1897-3033-838e-5f4b5dde12f7':332678,'3af9df14-c4a6-3a5f-98cd-226c23d6d455':312241,'06b8f0c1-67d1-4651-ab5b-dff1a77135f0':453851,'ec316113-ad98-35e9-a124-5194fba51a05':335216};var id=map[(obj.swakt||'').toLowerCase()];if(!id)return;var opts={swasite:id,swasection:obj.swasection,swasubsection:obj.swasubsection,swasectiongrp:obj.swasectiongrp,swasubsectiongrp:obj.swasubsectiongrp,swacontent:obj.swacontent,swachannel:obj.swachannel};var acc;var w_counter=new OldNetscope.wreport_counter(opts.swasection,opts.swasubsection,opts.swasite,acc,opts.swachannel,opts.swasectiongrp,opts.swasubsectiongrp);w_counter.add_content(opts.swacontent);w_counter.count();}},callGemiusEvent:function(id){if(typeof(window.pp_gemius_event)!=='undefined'){var longId=id;window.pp_gemius_event(longId);}},doTrackGemius:function(obj){if(obj.mkt_v3_id){if(SAPO.WebAnalytics.gemiusLoaded){this.callGemiusEvent(obj.mkt_v3_id);}
else{window.pp_gemius_identifier=obj.mkt_v3_id;window.pp_gemius_extraparameters=new Array('gA=Homepage_do_site');if(typeof(obj.mkt_v3_ishp)!='undefined'&&obj.mkt_v3_ishp!==true){window.pp_gemius_extraparameters=new Array('gA='+this.coalesce(obj.swasection,'--')+'/'+this.coalesce(obj.swasubsection,'--')+'/'+this.coalesce(obj.swacontent,'--'));}
var gt=document.createElement('script'),s=document.getElementsByTagName('script')[0],l='http'+((location.protocol=='https:')?'s://secure':'://data');gt.async='true';gt.src=l+'.netscope.marktest.pt/netscope-gemius.js';s.parentNode.appendChild(gt);SAPO.WebAnalytics.gemiusLoaded=true;}}},registerClick:function()
{if(!this._clickTrackerActive){this._clickTrackerActive=true;this._clickTrackerTimerActive=false;this._clickTrackerTimerSetTo=false;this._clickTrackerQueue=[];this._addEventClickTracker();}},_addEventClickTracker:function()
{var _self=this;if(document.addEventListener){document.addEventListener('mouseup',function(event){_self._onTrackerClick(event);},false);window.addEventListener('unload',function(event){_self._onTrackerUnload(event);},false);}else if(document.attachEvent){document.attachEvent('onmouseup',function(event){_self._onTrackerClick(event);});window.attachEvent('onunload',function(event){_self._onTrackerUnload(event);});}},_onTrackerClick:function(event)
{if(typeof(event)==='object'){var target=event.target||event.srcElement||null;if(target===null){return;}
target=(target.nodeType==3||target.nodeType==4)?target.parentNode:target;if(target!==null&&target.nodeType===1){var tgtNodeName=target.nodeName.toLowerCase();var i=0;while(i<=5){if(tgtNodeName==='body'||target===window.document){return;}
if(tgtNodeName==='a'){if(target.getAttribute('href')!==null&&target.getAttribute('data-trackerlink')!==null){this._clickTrackerQueue.push(target);this._timerRegisterQueue(2);}
return;}
target=target.parentNode;tgtNodeName=target.nodeName.toLowerCase();i++;}}}},_onTrackerUnload:function(event,isOnBefore)
{if(this._clickTrackerQueue){var curLink;var dataTracker;var aData;var event_attrs;for(var i=0,tQueue=this._clickTrackerQueue.length;i<tQueue;i++){curLink=this._clickTrackerQueue[i];dataTracker=curLink.getAttribute('data-trackerlink');aData=dataTracker.split('|');event_attrs={linktype:aData[0]||0,mainzone:aData[1]||0,zone:aData[2]||0};this.event("tracker_link",{swakt:this.swakt},event_attrs,true);}
if(typeof(isOnBefore)!=='undefined'&&isOnBefore===true){this._clickTrackerQueue=[];}}},_timerRegisterQueue:function(timerSec)
{var timerMiliSec=(1000*20);if(typeof(timerSec)==='number'){timerMiliSec=1000*timerSec;}
if(this._clickTrackerTimerSetTo){clearTimeout(this._clickTrackerTimerSetTo);this._clickTrackerTimerSetTo=false;}
var _self=this;this._clickTrackerTimerSetTo=setTimeout(function(){_self._onTrackerUnload(null,true);_self._timerRegisterQueue();},timerMiliSec);},handleError:function(ex){var errorDetail='';if(typeof(ex)!='undefined'&&typeof(ex)=='object'){if(typeof(ex.name)!='undefined'){errorDetail+=ex.name+'|';}
if(typeof(ex.message)!='undefined'){errorDetail+=ex.message+'|';}}
var img=new Image(1,1);var _uripath;if(location.protocol=='https:'){_uripath=this.sgifpath+'?error='+errorDetail;}else{_uripath=this.gifpath+'?error='+errorDetail;}
setTimeout(function(){img.src=_uripath;},0);}};window.SAPO.WebAnalytics=WebAnalytics;})();var _NB_MAX_CONTENU_=1;var _TAILLE_MAX_CONTENU_=100;var _TAILLE_MAX_CHAINE_=50;var _TAILLE_MAX_ALPHANUM_=30;var WEBO_ID_GROUPE=312222;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.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.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(){this.url="http://localhost/void";}
function count(SAPOWA_TRACKER){try{if((typeof(SAPOWA_TRACKER)!='object')||(SAPOWA_TRACKER==null)){SAPOWA_TRACKER={};}
SAPOWA_TRACKER.swasite=this.site;SAPOWA_TRACKER.swasection=this.section;SAPOWA_TRACKER.swasubsection=this.subsection;SAPOWA_TRACKER.swasectiongrp=this.sectiongrp;SAPOWA_TRACKER.swasubsectiongrp=this.subsectiongrp;SAPOWA_TRACKER.swacontent=this.content;SAPOWA_TRACKER.swachannel=this.channel;SAPO.WebAnalytics.track(SAPOWA_TRACKER);}catch(e){}
return 1;}
function add_channel(chaine){if(chaine==null)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)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(s,taille_max){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=escape(returnString);return returnString;}
function wf_uaO(c){var wf_ual=navigator.userAgent.toLowerCase();return(wf_ual.indexOf(c))}
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;