/*-------------------------------------------*/ /* Last update : 2009-06-25 Raynald Bertrand */ /* - update engine to version H.20.2 */ /* - add google fix for long google search url */ /* - add eVar5 */ /*-------------------------------------------*/ var s_account = CheckProperties(MyOmnitureVariables,'s_account'); //------------------------- // Vérification Dev Ou Prod //------------------------- if (isDev()) { s_account = 'cnocanoeglobaldev,cnotvadev'; } /* --------------------------------------- --------------------------------------- | | --------------------------------------- --------------------------------------- */ /* SiteCatalyst code version: H.20.2. Copyright 1997-2007 Omniture, Inc. More info available at http://www.omniture.com */ /* Specify the Report Suite ID(s) to track here */ /* Specify the Report Suite ID(s) to track here */ var s=s_gi(s_account); /* Omniture support gave us to fix a the problem with long google search generated URLs */ function s_rf(s){s._rf_f=new Function('t','l','var s=this,i=t?t.indexOf("="):-1,n=(l.substring(0,1)=="!");l=n?l.substring(1):l;if(t){if(i>0){if((","+l+",").indexOf(","+t.substring(0,i)+",")>=0)t=n?""' +':t;else t=n?t:""}if(t)s._rf_b+=(s._rf_b?"&":"")+t}');s._rf=new Function('x','var y,i,h,a,b,l="q,ie,start,search_key,word,kw,cd";y=x=""+x;i=y.indexOf("?");if(i>=0){a="&"+y.substring(i+1)+"&";y=y.sub' +'string(0,i);h=y.toLowerCase();i=0;if(h.substring(0,7)=="http://")i+=7;else if(h.substring(0,8)=="https://")i+=8;h=h.substring(i);i=h.indexOf("/");if(i>0){h=h.substring(0,i);if(h.indexOf("google")>=' +'0&&(a.indexOf("&q=")>=0||a.indexOf("&ie=")>=0||a.indexOf("&start=")>=0||a.indexOf("&search_key=")>=0||a.indexOf("&word=")>=0||a.indexOf("&kw=")>=0||a.indexOf("&cd=")>=0)){s._rf_b="";s.pt(a,"&","_rf' +'_f",l);s.pt(a,"&","_rf_f","!"+l);b=s._rf_b;if(b!=a)return y+"?"+b}}}return x');s._rf_fl=s.fl;s.fl=new Function('x','l','var s=this;if(x&&l==255)x=s._rf(x);return s._rf_fl(x,l)');s._rf_hav=s.hav; s.hav=new Function('var s=this,x=s.referrer;if(x)s.referrer=s.fl(x,255);return s._rf_hav()')}s_rf(s); /************************** CONFIG SECTION **************************/ /* You may add or alter any code config here. */ /* E-commerce Config */ s.currencyCode="CAD"; /* Link Tracking Config */ s.trackDownloadLinks=true; //s.trackExternalLinks=CheckProperties(MyOmnitureVariables,'trackExternalLinks'); //true s.trackExternalLinks=true; s.trackInlineStats=true; s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"; s.linkLeaveQueryString=CheckProperties(MyOmnitureVariables,'linkLeaveQueryString'); //false s.linkTrackVars="server"; s.linkTrackEvents="None"; /* WARNING: Changing any of the below variables will cause drastic changes to how your visitor data is collected. Changes should only be made when instructed to do so by your account manager.*/ //s.trackingServer="met.canoe.ca" //s.trackingServerSecure="smet.canoe.ca" s.visitorNamespace="canoe"; s.dc=112; /* Plugin Config */ s.usePlugins=true; function s_doPlugins(s) { /* Set campaign if cid is found */ s.campaign=s.getQueryParam('cid,mid'); /* getValOnce used to deflate campaign click-throughs */ s.campaign=s.getValOnce(s.campaign,"ctc",0); /* Set event 1 (page view) on every page */ if(s.events){if(s.events.indexOf("event1")==-1){s.events=s.events + ',event1'}}else{s.events='event1'} /* Set days since last visit */ s.prop21=s.getDaysSinceLastVisit(); s.eVar6=s.prop21; /* Set days since last visit on all pages if found */ s.prop21=s.getAndPersistValue(s.prop21,'o_dslv',0); /* Set event for unique searches if prop31 is found */ var temp=s.getValOnce(s.prop31,'ust',0); if(temp){s.events=s.apl(s.events,'event2',',','1')} /* Set Channel,pageName & Content Hierarchy - eVar2 & eVar3 */ s.eVar2=s.pageName; s.eVar3=s.channel; s.eVar4=s.hier1; s.eVar5=s.prop31; //RayBert s.prop22=window.location.host; /* Plugin Example: timeparting */ var curdate = new Date(); var year = curdate.getFullYear(); s.prop8=s.getTimeParting('h','-5', year); s.prop9=s.getTimeParting('d','-5', year); s.prop10=s.getTimeParting('w','-5', year); /* Plugin Example: manageQueryParam */ if(s.getQueryParam('s_kwcid')) s.pageURL=s.manageQueryParam('s_kwcid',1,1); } s.doPlugins=s_doPlugins; /************************** PLUGINS SECTION *************************/ /* You may insert any plugins you wish to use here. */ /****************************** MODULES *****************************/ /* Module: Media */ s.m_Media_c="='s_media_'+m._in+'_~=new Function(~m.ae(mn,l,\"'+p+'\",~;`H~o.'+f~o.Get~=function(~){var m=this~}^9 p');p=tcf(o)~setTimeout(~x,x!=2?p:-1,o)}~=parseInt(~m.s.d.getElementsByTagName~ersion" +"Info~'`z_c_il['+m._in+'],~'o','var e,p=~QuickTime~if(~}catch(e){p=~s.wd.addEventListener~m.s.rep(~=new Object~layState~||^D~m.s.wd[f1]~Media~.name~Player '+~s.wd.attachEvent~'a','b',c~;o[f1]~tm.get" +"Time()/1~m.s.isie~.current~,tm=new Date,~p5)~m.e(n,1,o^F~m.close~i.lx~=v+',n,~){this.e(n,~MovieName()~);o[f~i.lo~m.ol~o.controls~load',m.as~==3)~script';x.~,t;try{t=~Version()~else~o.id~)" +"{mn=~1;o[f7]=~Position~);m.~(x==~)};m.~&&m.l~l[n])~var m=s~!p){tcf~xc=m.s.~Title()~();~7+'~)}};m.a~\"'+v+';~3,p,o);~5000~return~i.lt~';c2='~Change~n==~',f~);i.~==1)~{p='~4+'=n;~()/t;p~.'+n)}~~`z.m_" +"i('`P'`uopen`6n,l,p,b`7,i`L`Ya='',x;l`Bl)`3!l)l=1`3n&&p){`H!m.l)m.l`L;n=`Km.s.rep(`Kn,\"\\n\",''),\"\\r\",''),'--**--','')`3m.`y`b(n)`3b&&b.id)a=b.id;for (x in m.l)`Hm.l[x]`x[x].a==a)`b(m.l[x].n^Fn" +"=n;i.l=l;i.p=p;i.a=a;i.t=0;i.s`B`V000);`c=0;^A=0;`h=0;i.e='';m.l[n]=i}};`b`6n`e0,-1`wplay`6n,o`7,i;i=`am`1`Ei`3m.l){i=m.l[\"'+`Ki.n,'\"','\\\\\"')+'\"]`3i){`H`c^Gm.e(i.n,3,-1^Fmt=`9i.m,^8)}}'^Fm(`w" +"stop`6n,o`e2,o`we`6n,x,o`7,i=n`x&&m.l[n]?m.l[n]:0`Yts`B`V000),d='--**--'`3i){if `v3||(x!=`c&&(x!=2||`c^G)) {`Hx){`Ho<0&&^A>0){o=(ts-^A)+`h;o=o=0)`2`A}';c=c1+c2`3`W&&xc){x=m.s.d.createElement" +"('script');x.language='j`mtype='text/java`mhtmlFor=i;x.event='P`M^C(NewState)';x.defer=true;x.text=c;xc.appendChild(x`g6]`1c1+'`Hn`l{x=3;'+c2+'}`9`46+',^8)'`g6]()}}`Hp==2)^H`G `R(`5Is`GRegistered()" +"?'Pro ':'')+`5`G`o;f1=f2;c`dx,t,l,p,p2,mn`3o`r`5`f?`5`f:`5URL^3n=`5Rate^3t=`5TimeScale^3l=`5Duration^J=`5Time^J2=`45+'`3n!=`44+'||`Z{x=2`3n!=0)x=1;`p `Hp>=l)x=0`3`Z`22,p2,o);`2`A`Hn>0&&`4^4>=10){`2" +"^7`4^4=0}`4^4++;`4^I`45+'=p;`9^6`42+'(0,0)\",500)}'`U`1`T`g4]=-`s0`U(0,0)}`Hp`l^HReal`R`5V`D^3f1=n+'_OnP`M^C';c1`dx=-1,l,p,mn`3o`r`5^2?`5^2:`5Source^3n=`5P`M^3l=`5Length()/1000;p=`5`t()/1000`3n!=`4" +"4+'){`Hn`lx=1`3^D0`N2`N4`N5)x=2`3^D0&&(p>=l||p==0))x=0`3x>=0)`2`A`H^D3&&(`4^4>=10||!`43+')){`2^7`4^4=0}`4^4++;`4^I^B`H`42+')`42+'(o,n)}'`3`O)o[f2]=`O;`O`1`T1+c2)`U`1`T1+'`9^6`41+'(0,0)\",`43+'?500:" +"^8);'+c2`g4]=-1`3`W)o[f3]=`s0`U(0,0^5s`1'e',`El,n`3m.autoTrack&&`C){l=`C(`W?\"OBJECT\":\"EMBED\")`3l)for(n=0;n-1){pn=v.subs" +"tring(0,d);oid=v.substring(d+1);}cv='&pid='+s.ape(s.fl(pn,255))+'&pi" +"dt=1&oid='+s.ape(s.fl(oid,100))+'&oidt=1&ot='+ot+'&oi=1';s.sq(cv);"); /* * Plugin: manageQueryParam 1.1 - swap parameters in query string */ s.manageQueryParam=new Function("p","w","e","u","" +"var s=this,x,y,i,qs,qp,qv,f,b;u=u?u:(s.pageURL?s.pageURL:''+s.wd.lo" +"cation);u=u=='f'?''+s.gtfs().location:u+'';x=u.indexOf('?');qs=x>-1" +"?u.substring(x,u.length):'';u=x>-1?u.substring(0,x):u;x=qs.indexOf(" +"'?'+p+'=');if(x>-1){y=qs.indexOf('&');f='';if(y>-1){qp=qs.substring" +"(x+1,y);b=qs.substring(y+1,qs.length);}else{qp=qs.substring(1,qs.le" +"ngth);b='';}}else{x=qs.indexOf('&'+p+'=');if(x>-1){f=qs.substring(1" +",x);b=qs.substring(x+1,qs.length);y=b.indexOf('&');if(y>-1){qp=b.su" +"bstring(0,y);b=b.substring(y,b.length);}else{qp=b;b='';}}}if(e&&qp)" +"{y=qp.indexOf('=');qv=y>-1?qp.substring(y+1,qp.length):'';qv=s.epa(" +"qv);qv=unescape(qv);qv=unescape(qv);i=qv.indexOf('|');if(i>-1){x=qv" +".substring(0,i);qv=escape(x)+qv.substring(i);}else{qv=escape(qv)}qp" +"=qp.substring(0,y+1)+qv;}if(w&&qp){if(f)qs='?'+qp+'&'+f+b;else if(b" +")qs='?'+qp+'&'+b;else qs='?'+qp}else if(f)qs='?'+f+'&'+qp+b;else if" +"(b)qs='?'+qp+'&'+b;else qs='?'+qp;return u+qs"); /* * Plugin: Days since last Visit 1.1.H - capture time from last visit */ s.getDaysSinceLastVisit=new Function("c","" +"var s=this,e=new Date(),es=new Date(),cval,cval_s,cval_ss,ct=e.getT" +"ime(),day=24*60*60*1000,f1,f2,f3,f4,f5;e.setTime(ct+3*365*day);es.s" +"etTime(ct+30*60*1000);f0='Cookies Not Supported';f1='First Visit';f" +"2='More than 30 days';f3='More than 7 days';f4='Less than 7 days';f" +"5='Less than 1 day';cval=s.c_r(c);if(cval.length==0){s.c_w(c,ct,e);" +"s.c_w(c+'_s',f1,es);}else{var d=ct-cval;if(d>30*60*1000){if(d>30*da" +"y){s.c_w(c,ct,e);s.c_w(c+'_s',f2,es);}else if(d<30*day+1 && d>7*day" +"){s.c_w(c,ct,e);s.c_w(c+'_s',f3,es);}else if(d<7*day+1 && d>day){s." +"c_w(c,ct,e);s.c_w(c+'_s',f4,es);}else if(d-1){q=u.substring(i+1);v" +"=s.pt(q,'&','p_gvf',k)}return v"); s.p_gvf=new Function("t","k","" +"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T" +"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s." +"epa(v)}return ''"); /* * Plugin Utility: apl v1.1 */ s.apl=new Function("L","v","d","u","" +"var s=this,m=0;if(!L)L='';if(u){var i,n,a=s.split(L,d);for(i=0;i-1?i:l.length;a[x" +"++]=l.substring(0,i);l=l.substring(i+d.length);}return a"); /* * Plugin: getTimeParting 1.4 - Set timeparting values based on time zone (15 min) */ s.getTimeParting=new Function("t","z","y","" +"dc=new Date('1/1/2000');var f=15;var ne=8;if(dc.getDay()!=6||" +"dc.getMonth()!=0){return'Data Not Available'}else{;z=parseInt(z);" +"if(y=='2009'){f=8;ne=1};gmar=new Date('3/1/'+y);dsts=f-gmar.getDay(" +");gnov=new Date('11/1/'+y);dste=ne-gnov.getDay();spr=new Date('3/'" +"+dsts+'/'+y);fl=new Date('11/'+dste+'/'+y);cd=new Date();" +"if(cd>spr&&cd1" +"5&&thismin<30){mint='15'}if(thismin>30&&thismin<45){mint='30'}if(th" +"ismin>45&&thismin<60){mint='45'}" +"if(thish>=12){ap='PM';thish=thish-12};if (thish==0){th" +"ish=12};if(thisd==6||thisd==0){dt='Weekend'};var timestring=thish+'" +":'+mint+ap;var daystring=dow;var endstring=dt;if(t=='h'){return tim" +"estring}if(t=='d'){return daystring};if(t=='w'){return en" +"dstring}}};" ); /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code='',s_objectID;function s_gi(un,pg,ss){var c="=fun`o(~){`Ps=^O~.substring(~#1 ~.indexOf(~;@z~`e@z~=new Fun`o(~.length~.toLowerCase()~`Ps#7c_il['+s^Zn+'],~=new Object~};s.~`YMigrationServer~" +".toUpperCase~){@z~','~s.wd~);s.~')q='~=new Array~ookieDomainPeriods~.location~^LingServer~dynamicAccount~var ~link~s.m_~s.apv~BufferedRequests~=='~Element~)@zx^a!Object#VObject.prototype#VObject.pr" +"ototype[x])~etTime~visitor~$u@a(~referrer~s.pt(~s.maxDelay~}c#D(e){~else ~.lastIndexOf(~^xc_i~.protocol~=new Date~^xobjectID=s.ppu=$E=$Ev1=$Ev2=$Ev3=~#e+~=''~}@z~@ji=~ction~javaEnabled~onclick~Name" +"~ternalFilters~javascript~s.dl~@6s.b.addBehavior(\"# default# ~=parseFloat(~typeof(v)==\"~window~cookie~while(~s.vl_g~Type~;i#T{~tfs~s.un~;v=^sv,255)}~&&s.~o^xoid~browser~.parent~document~colorDept" +"h~String~.host~s.rep(~s.eo~'+tm@R~s.sq~parseInt(~t=s.ot(o)~track~nload~j='1.~this~#OURL~}else{~s.vl_l~lugins~'){q='~dynamicVariablePrefix~');~Sampling~s.rc[un]~Event~._i~&&(~loadModule~resolution~s" +".c_r(~s.c_w(~s.eh~s.isie~\"m_\"+n~;@jx in ~Secure~Height~tcf~isopera~ismac~escape(~'s_~.href~screen.~s.fl(~s#7gi(~Version~harCode~variableProvider~.s_~)s_sv(v,n[k],i)}~){s.~)?'Y':'N'~u=m[t+1](~i)cl" +"earTimeout(~e&&l$YSESSION'~name~home#O~;try{~,$k)~s.ssl~s.oun~s.rl[u~Width~o.type~s.vl_t~Lifetime~s.gg('objectID~sEnabled~')>=~'+n+'~.mrq(@uun+'\"~ExternalLinks~charSet~lnk~onerror~currencyCode~.sr" +"c~disable~.get~MigrationKey~(''+~&&!~f',~r=s[f](~u=m[t](~Opera~Math.~s.ape~s.fsg~s.ns6~conne~InlineStats~&&l$YNONE'~Track~'0123456789~true~for(~+\"_c\"]~s.epa(~t.m_nl~s.va_t~m._d~=s.sp(~n=s.oid(o)~" +",'sqs',q);~LeaveQuery~n){~\"'+~){n=~){t=~'_'+~\",''),~if(~vo)~s.sampled~=s.oh(o);~+(y<1900?~n]=~&&o~:'';h=h?h~;'+(n?'o.~sess~campaign~lif~'http~s.co(~ffset~s.pe~'&pe~m._l~s.c_d~s.brl~s.nrs~s[mn]~,'" +"vo~s.pl~=(apn~space~\"s_gs(\")~vo._t~b.attach~2o7.net'~Listener~Year(~d.create~=s.n.app~)}}}~!='~'=')~1);~'||t~)+'/~s()+'~){p=~():''~'+n;~a['!'+t]~){v=s.n.~channel~100~rs,~.target~o.value~s_si(t)~'" +")dc='1~\".tl(\")~etscape~s_')t=t~omePage~='+~l&&~&&t~[b](e);~\"){n[k]~';s.va_~a+1,b):~return~mobile~height~events~random~code~=s_~=un~,pev~'MSIE ~'fun~floor(~atch~transa~s.num(~m._e~s.c_gd~,'lt~tm." +"g~.inner~;s.gl(~,f1,f2~',s.bc~page~Group,~.fromC~sByTag~')<~++)~)){~||!~?'&~+';'~[t]=~[i]=~[n];~' '+~'+v]~>=5)~:'')~+1))~!a[t])~~s._c=^pc';`H=`y`5!`H`g@t`H`gl`K;`H`gn=0;}s^Zl=`H`gl;s^Zn=`H`gn;s^Zl[" +"s^Z$4s;`H`gn++;s.an#7an;s.cls`0x,c){`Pi,y`l`5!c)c=^O.an;`n0;i=0)y+=n}`3y`Cfl`0x,l){`3x?@Tx)`20,l):x`Cco`0o`F!o)`3o;`Pn`B,x^io)@zx`4'select#S0&&x`4'filter#S0)n[x]=o[x];`3n`C" +"num`0x){x`l+x;@j`Pp=0;p127){l=0;e`l;^0n||l<4){e=h`2n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}`6c`U+')y+='%2B';`ey+=^oc)}x=y^Qx=x?^F^o''+x),'+`G%2B'):x`5x&&c^7em==1&&x`4'%u#S0&&x`4'%U#S0){i=x`4'%^V^0i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ra(\"@I" +"\",@ug+'@u(e?',@ue+'\"'`k')}';f2=b+'o.c++`5!`c)`c=250`5!o.l$5.c<(`c*2)/$k)o.i=s`Xout(o.f2@7}';f1`7'e',b+'}^V^l`7's`Gc`Gi`Gu`Gf1`Gf2`G`Pe,o=0@6o=s.$V`V(\"script\")`5o){@C=\"text/`t\"$7id=i;o.defer=@" +"i;o.o^M=o.onreadystatechange=f1;o.f2=f2;o.l=0;'`k'o@P=u;c.appendChild(o)$7c=0;o.i=s`Xout(f2@7'`k'}`do=0}`3o^Vo=^l(s,c,i,u#M)^Qo`B;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=`Rdl`5!g)g=`Rdl`K;i=0;^0i=`c){`ul#Z0;s.t($0" +"}`ef=1}`m`u@2`ui`Idli=0`5f`F!`ui)`ui=s`Xout(`ut,`c)}`e`ul=0'`Idl`0vo`1,d`i`5!$0vo`B;`b^1,`G$L2',$0;$Q=d.g`X()`5!`ul)`ul`K;`ul[`ul`8]=vo`5!`c)`c=250;`ut()`Ct`0vo,id`1,trk=1,tm`i,sed=Math&&@Z#5?@Z#C@" +"Z#5()*$k00000000000):#J`X(),$8='s'+@Z#C#J`X()/10800000)%10+sed,y=tm@R$U),vt=tm@RDate($c^HMonth($c'$3y+1900:y)+' ^HHour$d:^HMinute$d:^HSecond$d ^HDay()+#b#J`XzoneO$D(),^l,^4=s.g^4(),ta`l,q`l,qs`l,#6" +"`l,vb`B#L^1`Iuns(`Im_ll()`5!s.td){`Ptl=^4`M,a,o,i,x`l,c`l,v`l,p`l,bw`l,bh`l,^N0',k=^e^pcc`G@i',0@0,hp`l,ct`l,pn=0,ps`5^D&&^D.prototype){^N1'`5j.m#D){^N2'`5tm.setUTCDate){^N3'`5^g^7^n&&`S#d^N4'`5pn." +"toPrecisio@t^N5';a`K`5a.forEach){^N6';i=0;o`B;^l`7'o`G`Pe,i=0@6i=new Iterator(o)`d}`3i^Vi=^l(o)`5i&&i.next)^N7'}}}}`m`S>=4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,server,#O^2,#E`oID,purchaseID,$9,state,zip,#4,products,`Q`r,`Q^2';@j`Pn=1;n<51;n#T@D+=',prop@I,eVar@I,hier@I,l" +"ist$g^R2=',tnt,pe#91#92#93,^c,^C,`t^u,`p,`z@G,^9@B,^9^k,@d`o^2,@5,p^S';@D+=^R2;@n@p@D,`G`Ivl_g=@D+',`N,`N^j,`NBase,fpC`L,@Q`T,#2,`Y^W,`Y^W#P`OSele`o,`OList,`OM#D,^LDow^MLinks,^L@K,^L@e,`Q@s^D,`QDow" +"^MFile^2s,`QEx`s,`QIn`s,`Q@gVa$l`Q@g^Ys,`Q`rs,@M,eo,_1_`a$zg@p^1,`G`Ipg=pg#L^1)`5!ss)`Hs()", w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(un){un=un.toLowerCase();if(l)for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.subst" +"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a"); w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d" +"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x"); w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")"); w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i" +"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")" +"'+c.substring(e+1);s=c.indexOf('=function(')}return c;"); c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a>=5&&v.indexOf('Opera')<0&&u.indexOf('Opera')<0){w.s_c=new Function("un","pg","ss","var s=this;"+c);return new s_c(un,pg,ss)}else s=new Function("un","pg","ss","var s=new Object;"+s_ft(c)+";return s");return s(un,pg,ss)} /* --------------------------------------- --------------------------------------- | | --------------------------------------- --------------------------------------- */ /* add all urls which should be considered interal to report suite */ //s.linkInternalFilters = 'javascript:,'+MyMetricObj.X_link_internal_filters; ??? /* METRICS VARIABLES */ //function call to fix the Unspecified items in hiearchy and section level reports checkhomepage(MyOmnitureVariables); s.pageName = CheckProperties(MyOmnitureVariables,'pageName'); s.account = s_account; s.channel = CheckProperties(MyOmnitureVariables,'mainsection'); s.server = CheckProperties(MyOmnitureVariables,'server'); s.srcsite = CheckProperties(MyOmnitureVariables,'srcsite'); s.linkInternalFilters = CheckProperties(MyOmnitureVariables,'linkInternalFilters'); s.pageType = CheckProperties(MyOmnitureVariables,'pageType'); s.prop1 = CheckProperties(MyOmnitureVariables,'prop1'); s.prop2 = CheckProperties(MyOmnitureVariables,'prop2'); s.prop3 = CheckProperties(MyOmnitureVariables,'sectionLevel2'); s.prop4 = CheckProperties(MyOmnitureVariables,'sectionLevel3'); s.prop5 = CheckProperties(MyOmnitureVariables,'sectionLevel4'); s.prop6 = CheckProperties(MyOmnitureVariables,'sectionLevel5'); s.prop7 = CheckProperties(MyOmnitureVariables,'division'); s.prop11 = CheckProperties(MyOmnitureVariables,'prop11'); s.prop12 = CheckProperties(MyOmnitureVariables,'prop12'); s.prop13 = CheckProperties(MyOmnitureVariables,'prop13'); s.prop14 = CheckProperties(MyOmnitureVariables,'prop14'); s.prop15 = CheckProperties(MyOmnitureVariables,'prop15'); s.prop16 = CheckProperties(MyOmnitureVariables,'prop16'); s.prop17 = CheckProperties(MyOmnitureVariables,'prop17'); s.prop18 = CheckProperties(MyOmnitureVariables,'prop18'); s.prop19 = CheckProperties(MyOmnitureVariables,'prop19'); s.prop20 = CheckProperties(MyOmnitureVariables,'prop20'); s.prop22 = CheckProperties(MyOmnitureVariables,'prop22'); s.prop23 = CheckProperties(MyOmnitureVariables,'language'); s.prop24 = CheckProperties(MyOmnitureVariables,'prop24'); s.prop25 = CheckProperties(MyOmnitureVariables,'prop25'); s.prop26 = CheckProperties(MyOmnitureVariables,'prop26'); s.prop27 = CheckProperties(MyOmnitureVariables,'prop27'); s.prop28 = CheckProperties(MyOmnitureVariables,'prop28'); s.prop29 = CheckProperties(MyOmnitureVariables,'prop29'); s.prop30 = CheckProperties(MyOmnitureVariables,'prop30'); s.prop31 = CheckProperties(MyOmnitureVariables,'prop31'); s.prop32 = CheckProperties(MyOmnitureVariables,'prop32'); s.prop33 = CheckProperties(MyOmnitureVariables,'prop33'); s.prop34 = CheckProperties(MyOmnitureVariables,'prop34'); s.prop35 = CheckProperties(MyOmnitureVariables,'prop35'); //s.prop36 = CheckProperties(MyOmnitureVariables,'prop36'); s.prop36 = CheckProperties(MyOmnitureVariables,'sectionLevel6'); s.prop37 = CheckProperties(MyOmnitureVariables,'prop37'); s.prop38 = CheckProperties(MyOmnitureVariables,'prop38'); s.prop39 = CheckProperties(MyOmnitureVariables,'prop39'); s.prop40 = CheckProperties(MyOmnitureVariables,'prop40'); s.prop41 = CheckProperties(MyOmnitureVariables,'prop41'); s.prop42 = CheckProperties(MyOmnitureVariables,'prop42'); //s.prop43 = CheckProperties(MyOmnitureVariables,'prop43'); if(s.getQueryParam('canoerid')) { //s.prop43 = s.getQueryParam('rid') + ":" + s.prop23 + ":" + s.prop22 + ":" + s.channel + ":" + s.prop11 + ":" + s.prop20 + ":" + s.prop12; s.prop43 = s.getQueryParam('canoerid') + ":" + s.prop23 + ":" + s.prop22 + ":" + s.channel + ":" + s.prop20 + ":" + s.prop12 + ":" + s.pageName; } else { s.prop43 = CheckProperties(MyOmnitureVariables,'prop43'); } s.prop44 = CheckProperties(MyOmnitureVariables,'prop44'); s.prop45 = CheckProperties(MyOmnitureVariables,'prop45'); s.prop46 = CheckProperties(MyOmnitureVariables,'prop46'); s.prop47 = CheckProperties(MyOmnitureVariables,'prop47'); s.prop48 = CheckProperties(MyOmnitureVariables,'prop48'); s.prop49 = CheckProperties(MyOmnitureVariables,'prop49'); s.prop50 = CheckProperties(MyOmnitureVariables,'prop50'); //--------------------- // hierarchy handling //--------------------- //var sectionConCat = '|' + CheckProperties(MyOmnitureVariables,'sectionLevel2') + '|' + CheckProperties(MyOmnitureVariables,'sectionLevel3') + '|' + CheckProperties(MyOmnitureVariables,'sectionLevel4') + '|' + CheckProperties(MyOmnitureVariables,'sectionLevel5') + '|' + CheckProperties(MyOmnitureVariables,'sectionLevel6'); //var sectionConCat = ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel2'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel3'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel4'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel5'),'|') + CheckProperties(MyOmnitureVariables,'sectionLevel6'); var sectionConCat = ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel2'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel3'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel4'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel5'),'|') + ConcatWB(CheckProperties(MyOmnitureVariables,'sectionLevel6'),'|'); //var sectionConCat = GetPath('|'); s.hier1 = FormatHierarchy( CheckProperties(MyOmnitureVariables,'mainsection'), sectionConCat ); s.hier2 = FormatHierarchy( CheckProperties(MyOmnitureVariables,'division') + '|' + CheckProperties(MyOmnitureVariables,'language') + '|' + CheckProperties(MyOmnitureVariables,'prop22'), sectionConCat ); s.hier3 = CheckProperties(MyOmnitureVariables,'prop22') + '|' + CheckProperties(MyOmnitureVariables,'language') + '|' + CheckProperties(MyOmnitureVariables,'division'); //s.hier4 = FormatHierarchy( CheckProperties(MyOmnitureVariables,'division') + '|' + CheckProperties(MyOmnitureVariables,'language') + '|' + CheckProperties(MyOmnitureVariables,'prop22') + '|' + CheckProperties(MyOmnitureVariables,'mainsection'), sectionConCat ); /* s.hier1 = CheckProperties(MyOmnitureVariables,'hier1'); s.hier2 = CheckProperties(MyOmnitureVariables,'hier2'); s.hier3 = CheckProperties(MyOmnitureVariables,'hier3'); */ // s.hier5 = [nom de domaine du site courant] + ',' + [premier niveau de l'URL] + ',' + [deuxième niveau de l'URL] + [...] // Exemple : http://tva.canoe.com/emissions/lecoeurasesraisons/histoire.html -> s.hier5 = tva.canoe.com,emissions,lecoeurasesraisons s.hier5 = FormatHier5(','); /* E-commerce Variables */ s.campaign = CheckProperties(MyOmnitureVariables,'campaign'); s.eVar1 = CheckProperties(MyOmnitureVariables,'eVar1'); s.eVar5 = CheckProperties(MyOmnitureVariables,'eVar5'); s.eVar7 = CheckProperties(MyOmnitureVariables,'eVar7'); s.eVar8 = CheckProperties(MyOmnitureVariables,'eVar8'); s.eVar9 = CheckProperties(MyOmnitureVariables,'eVar9'); s.eVar10 = CheckProperties(MyOmnitureVariables,'eVar10'); s.eVar11 = CheckProperties(MyOmnitureVariables,'eVar11'); s.eVar12 = CheckProperties(MyOmnitureVariables,'eVar12'); s.eVar13 = CheckProperties(MyOmnitureVariables,'eVar13'); s.eVar14 = CheckProperties(MyOmnitureVariables,'eVar14'); s.eVar15 = CheckProperties(MyOmnitureVariables,'eVar15'); s.eVar16 = CheckProperties(MyOmnitureVariables,'eVar16'); s.eVar17 = CheckProperties(MyOmnitureVariables,'eVar17'); s.eVar18 = CheckProperties(MyOmnitureVariables,'eVar18'); s.eVar19 = CheckProperties(MyOmnitureVariables,'eVar19'); s.eVar20 = CheckProperties(MyOmnitureVariables,'eVar20'); s.eVar21 = CheckProperties(MyOmnitureVariables,'eVar21'); s.eVar22 = CheckProperties(MyOmnitureVariables,'eVar22'); s.eVar23 = CheckProperties(MyOmnitureVariables,'eVar23'); s.eVar24 = CheckProperties(MyOmnitureVariables,'eVar24'); s.eVar25 = CheckProperties(MyOmnitureVariables,'eVar25'); s.eVar26 = CheckProperties(MyOmnitureVariables,'eVar26'); s.eVar27 = CheckProperties(MyOmnitureVariables,'eVar27'); s.eVar28 = CheckProperties(MyOmnitureVariables,'eVar28'); s.eVar29 = CheckProperties(MyOmnitureVariables,'eVar29'); s.eVar30 = CheckProperties(MyOmnitureVariables,'eVar30'); s.eVar31 = CheckProperties(MyOmnitureVariables,'eVar31'); s.eVar32 = CheckProperties(MyOmnitureVariables,'eVar32'); s.eVar33 = CheckProperties(MyOmnitureVariables,'eVar33'); s.eVar34 = CheckProperties(MyOmnitureVariables,'eVar34'); s.eVar35 = CheckProperties(MyOmnitureVariables,'eVar35'); s.eVar36 = CheckProperties(MyOmnitureVariables,'eVar36'); s.eVar37 = CheckProperties(MyOmnitureVariables,'eVar37'); s.eVar38 = CheckProperties(MyOmnitureVariables,'eVar38'); s.eVar39 = CheckProperties(MyOmnitureVariables,'eVar39'); s.eVar40 = CheckProperties(MyOmnitureVariables,'eVar40'); s.eVar41 = CheckProperties(MyOmnitureVariables,'eVar41'); s.eVar42 = CheckProperties(MyOmnitureVariables,'eVar42'); s.eVar43 = CheckProperties(MyOmnitureVariables,'eVar43'); s.eVar44 = CheckProperties(MyOmnitureVariables,'eVar44'); s.eVar45 = CheckProperties(MyOmnitureVariables,'eVar45'); s.eVar46 = CheckProperties(MyOmnitureVariables,'eVar46'); s.eVar47 = CheckProperties(MyOmnitureVariables,'eVar47'); s.eVar48 = CheckProperties(MyOmnitureVariables,'eVar48'); s.eVar49 = CheckProperties(MyOmnitureVariables,'eVar49'); s.eVar50 = CheckProperties(MyOmnitureVariables,'eVar50'); s.products = CheckProperties(MyOmnitureVariables,'products'); s.purchaseID = CheckProperties(MyOmnitureVariables,'purchaseID'); s.state = CheckProperties(MyOmnitureVariables,'state'); s.zip = CheckProperties(MyOmnitureVariables,'zip'); s.events = CheckProperties(MyOmnitureVariables,'events'); s.prodView = CheckProperties(MyOmnitureVariables,'prodView'); s.scAdd = CheckProperties(MyOmnitureVariables,'scAdd'); s.scCheckout = CheckProperties(MyOmnitureVariables,'scCheckout'); s.purchase = CheckProperties(MyOmnitureVariables,'purchase'); s.loadModule("Media"); s.Media.autoTrack=true; s.Media.trackVars="None"; s.Media.trackEvents="None"; s.Media.playerName = "wmp"; /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code); function GetPath (strdele) { //--------------------------------------------------- // Retourne tout les répertoires avec un delemiteur //--------------------------------------------------- var doc_pathname = document.location.pathname.toLowerCase().split('/'); doc_pathname.splice(doc_pathname.length ,1); return doc_pathname.join(strdele); } //function FormatHier5(strdele) { // return document.location.host.toLowerCase() + GetPath(strdele); //} function FormatHier5(strdele) { //------------------------------------------------------------------- // Règle : // 1- Strip www. // 2- replace .com par .ca // 3- split les paths with delimiter (strdele) // 4- finaly, concatene domaine,path,pagename // ex. http://tva.canoe.com/emissions/banquier/archive/2007/index.html // return "tva.canoe.ca,emission,banquier,archive,2007,index.html // ** if no page name then add the word : index //-------------------------------------------------------------------- var regWWW = new RegExp("www.", "g"); var regCA = new RegExp("canoe.com$", "g"); var NewHier5 = document.location.host.toLowerCase().replace(regWWW,"").replace(regCA,"canoe.ca") + GetPath(strdele); if (NewHier5.charAt(NewHier5.length-1)==','){ NewHier5 = NewHier5+'index' } return NewHier5; } function FormatHierarchy( roothier, endhier ) { var lastSeparatorIndex = endhier.length; if( endhier == '|homepage' ) return roothier; while( lastSeparatorIndex[ lastSeparatorIndex ] == '|' && lastSeparatorIndex >= 0 ) lastSeparatorIndex--; return roothier + endhier.substring( 0, lastSeparatorIndex ); } function isDev() { //----------------------- // Liste des sites de DEV //----------------------- var SiteDeDev = new Array( '[devtva.canoe.ca]', '[devrefontetva.canoe.ca]', '[www.devrefontetva.canoe.ca]', '[devtva.canoe.com]', '[devmystere.canoe.com]', '[devtva-01.dev.canoe.com]', '[devtva-02.dev.canoe.com]', '[devtva-03.dev.canoe.com]', '[refontetva-prod-01.dmz1.in.canoe.com]', '[devprise2.canoe.com]', '[vraidev.staracademie.ca]' ); if (SiteDeDev.toString().indexOf('['+document.location.host.toLowerCase()+']') >=0 ) { return true; } else { return false; } } function TrackPhotoAlbum(albumID,picID) { var s=s_gi(s_account); s.linkTrackVars='eVar16,eVar17,events'; s.linkTrackEvents='event36'; s.events='event36'; s.eVar17=albumID; //album name s.eVar16=picID; //picture ID s.tl(this,'o','Slideshow Picture View'); //this function doesn't count as a page view } function ButtonClick(buttonName) { var s=s_gi(s_account); s.linkTrackVars='eVar14,events'; s.linkTrackEvents='event37'; s.events='event37'; s.eVar14=buttonName; //button name s.tl(this,'o','Button clicking'); } function checkhomepage(obj) { var isSetMain = false; for (i=2; i<=5; i++) { if (obj['sectionLevel'+i] == "" || obj['sectionLevel'+i] == undefined ) { if (!isSetMain){ isSetMain = true; obj['sectionLevel'+i] = "main"; } else { obj['sectionLevel'+i] = ''; } } } } //comscore beging document.write(""); document.getElementById("img1").src="https://beacon.scorecardresearch.com/scripts/beacon.dll?C1=2&C2=3005667&C3=3005667&C4=" + window.location.hostname + "&C5=" +s.prop22 + "&C6=&C7=" + escape(window.location.href) + "&C8=" + escape(document.title) + "&C9=" + escape(document.referrer) + "&rn=" + Math.floor(Math.random()*99999999); //comscore end