Custom

Coding Games

e.indexOf(.contextData.))switch(k=m.substring(0,4),w=m.substring(4),m)case transactionID:m=xact;break;case channel:m=ch;break;case campaign:m=v0;break;default:a.za(w)&&(prop== k?m=c+w:eVar==k?m=v+w:list==k?m=l+w:hier==k&&(m=h+w,p=p.substring(0,255)))g+=&+a.escape(m)+=+a.escape(p)!=g&&(g+=&.+c)return g;a.hb=function()var c=,b,d,f,e,g,m,p,k,n=,r=,s=e=;if(a.lightProfileID)b=a.K,(n=a.lightTrackVars)&&(n=,+n+,+a.ga.join(,)+,);elseb=a.c;if(a.pea.linkType)n=a.linkTrackVars,r=a.linkTrackEvents,a.pe&&(e=a.pe.substring(0,1).toUpperCase()+a.pe.substring(1),a[e]&&(n=a[e].yb,r=a[e].xb));n&&(n=,+n+,+a.A.join(,)+,);r&&(r=,+r+,, n&&(n+=,events,));a.events2&&(s+=(!=s?,:)+a.events2)if(a.visitor&&1.5

g?1900:0))));return c&&NONE!=e?(a.d.cookie=c+=+a.escape(!=b?b:[[B]])+; path=/;+(d&&SESSION!=e? expires=+d.toGMTString()+;:)+(f? domain=+f+;:),a.cookieRead(c)==b):0;a.G=[];a.ba=function(c,b,d)if(a.ta)return 0;a.maxDelay(a.maxDelay=250);var f=0,e=(new Date).getTime()+a.maxDelay,g=a.d.visibilityState,m=[webkitvisibilitychange,visibilitychange]; g(g=a.d.webkitVisibilityState);if(g&&prerender==g)if(!a.ca)for(a.ca=1,d=0;d

n&&(a.c.push(prop+n),a.K.push(prop+n)),a.c.push(eVar+n),a.K.push(eVar+n),6

a.J&&a.Da(a.g),a.ma(500);elsevar c=a.Va();if(0

d?d:b.indexOf(;,d);c=0

0 ) s.linkTrackVars=; s.linkTrackEvents=; s.tl(false, o, videoEvent, overrides); window.analytics.map = [ event: page.view, engine: name: omniture, variable: s, function: name: t, arguments: [] , arguments: pageName: cnet: + window.document.location.pathname, channel: custom_fields.siteSection, hier1: cnet: + custom_fields.siteHier, products: custom_fields.productId, eVar1: custom_fields.brand, eVar2: custom_fields.siteEdition, eVar3: desktop: responsive webdesktop, mobile: responsive webmobile , eVar5: cbsicnetglobalsite, eVar6: D=h1, eVar7: window.document.location.href, eVar8: window.document.title, eVar10: custom_fields.pageType, eVar20: custom_fields.assetTitle, eVar22: storied_article, eVar23: custom_fields.topicId, eVar24: context.attributes.uuid, eVar27: custom_fields.collectionId, eVar30: custom_fields.assetId, eVar37: context.author, eVar56: custom_fields.productMfg, eVar64: custom_fields.productTitle, list3: context.author_id , event: article.scroll, engine: name: omniture, variable: om, function: name: trackArticleScroll, arguments: [ context.progress ] , arguments: , event: video.play, engine: name: omniture, variable: om, function: name: trackVideoEvent, arguments: [ video.play, context.attributes.video-id, context.attributes.name, context.attributes.length, context.attributes.id, context.attributes.src ] , arguments: , event: video.progress.25, engine: name: omniture, variable: om, function: name: trackVideoEvent, arguments: [ video.progress.25, context.attributes.video-id, context.attributes.name, context.attributes.length ] , arguments: , event: video.progress.50, engine: name: omniture, variable: om, function: name: trackVideoEvent, arguments: [ video.progress.50, context.attributes.video-id, context.attributes.name, context.attributes.length, ] , arguments: , event: video.progress.75, engine: name: omniture, variable: om, function: name: trackVideoEvent, arguments: [ video.progress.75, context.attributes.video-id, context.attributes.name, context.attributes.length ] , arguments: , event: video.progress.100, engine: name: omniture, variable: om, function: name: trackVideoEvent, arguments: [ video.progress.100, context.attributes.video-id, context.attributes.name, context.attributes.length ] , arguments: ]; catch(e) console.error(Exception inside custom.js: , e);

a.J&a.Z();a.ma(500);b.onreadystatechange=function()4==b.readyState&& (200==b.status?b.ub():b.bb());a.Ca=a.r();if(1==d2==d)var e=c.indexOf(?);f=c.substring(0,e);e=c.substring(e+1);e=e.replace(/&callback=[a-zA-Z0-9_.\[\]]+/,);1==d?(b.open(POST,f,!0),b.send(e)):2==d&&(b.open(POST,f),b.send(e))else if(b.src=c,3==d)if(a.Aa)tryf.removeChild(a.Aa)catch(g)f.firstChild?f.insertBefore(b,f.firstChild):f.appendChild(b);a.Aa=a.Yab.abort&&(a.la=setTimeout(b.abort,5E3));a.Za=c;a.Ya=k[s_i_+a.replace(a.account,,,_)]=b;if(a.useForcedLinkTracking&&a.Fa.q)a.forcedLinkTrackingTimeout (a.forcedLinkTrackingTimeout=250),a.aa=setTimeout(a.Z,a.forcedLinkTrackingTimeout);a.$a=function()if(a.ka()&&!(a.Ba

c;c++)f=Math.floor(Math.random()*f),b+=0123456789ABCDEF.substring(f,f+1),f=Math.floor(Math.random()*e),d+=0123456789ABCDEF.substring(f,f+1),f=e=16;c=b+-+da.cookieWrite(s_fid,c,1)(c=0);return c;a.t=a.track=function(c,b)var d,f=new Date,e=s+Math.floor(f.getTime()/108E5)%10+Math.floor(1E13*Math.random()),g=f.getYear(),g=t=+a.escape(f.getDate()+/+f.getMonth()+ /+(1900

v)return 0return 1;a.M=function(c,b)var d,f,e,g,m,k;for(d=0;2

d.toLowerCase().indexOf(javascript))?f?(e=a.replace(a.replace(a.replace(a.replace(+f,\r,),\n,),\t,), ,),g=2):INPUT==bSUBMIT==b?(c.value?e=c.value:c.innerText?e=c.innerText:c.textContent&&(e=c.textContent),g=3):c.src&&IMAGE==b&&(e=c.src):e=a.va(c),e)?id:e.substring(0,100),type:g:0;a.Ab=function(c)for(var b=a.u(c),d=a.H(c);c&&!d&)if(c=c.parentElement?c.parentElement:c.parentNode)b=a.u(c),d=a.H(c); d&&BODY!=b(c=0);c&&(b=c.onclick?+c.onclick:,0

n&&a.c.push(list+n);n=latitude longitude resolution colorDepth javascriptVersion javaEnabled cookiesEnabled browserWidth browserHeight connectionType homepage.split( );a.c=a.c.concat(n);a.A=a.A.concat(n);a.ssl=0

this.LIMIT);a++);this.errorMessage=1

0) events.push(event57= + videoTime); var overrides = eVar7: window.document.location.href, eVar8: window.document.title, eVar31: videoId, eVar25: videoTitle, events: events.join(), eVar38: video, eVar39: videoSegment, eVar32: storied if (events.length

a.indexOf(b)?a:a.split(b).join(d);a.escape=function(c)var b,d;if(!c)return c;c=encodeURIComponent(c);for(b=0;7

d?0:d)+/:)+b);return b;a.H=function(c)var b=a.u(c),d,f,e=,g=0;return b&& (d=c.protocol,f=c.onclick,!c.hrefA!=b&&AREA!=bf&&d&&!(0

g?g+1900:g)+ +f.getHours()+:+f.getMinutes()+:+f.getSeconds()+ +f.getDay()+ ePlugins&&a.doPlugins&& a.doPlugins(a),a.account&&(a.abort(a.trackOffline&&!a.timestamp&&(a.timestamp=Math.floor(f.getTime()/1E3)),f=k.location,a.pageURL(a.pageURL=f.href?f.href:f),a.referrera.Ha(a.referrer=r.document.referrer),a.Ha=1,a.referrer=a.cb(a.referrer),a.l(_g)),a.ib()&&!a.abort&&(a.jb(),g+=a.hb(),a.qb(e,g),a.l(_t),a.referrer=))),c&a.abort=a.supplementalDataID=a.timestamp=a.pageURLRest=a.linkObject=a.clickObject=a.linkURL=a.linkName=a.linkType=k.s_objectID=a.pe=a.pev1=a.pev2=a.pev3=a.e= a.lightProfileID=0;a.tl=a.trackLink=function(c,b,d,f,e)a.linkObject=c;a.linkType=b;a.linkName=d;e&&(a.j=c,a.q=e);return a.track(f);a.trackLight=function(c,b,d,f)a.lightProfileID=c;a.lightStoreForSeconds=b;a.lightIncrementBy=d;return a.track(f);a.clearVars=function()var c,b;for(c=0;c

(+f[b]).indexOf(s_c_il))&&(c[b]=f[b]);if(d.mmq)for(b=0;b

f?b.length:f));return[[B]]!=c?c:;a.c_w=a.cookieWrite=function(c,b,d)var f=a.fb(),e=a.cookieLifetime,g;b=+b;e=e?(+e).toUpperCase():;d&&SESSION!= e&&NONE!=e&&((g=!=b?parseInt(e?e:0):-60)?(d=new Date,d.setTime(d.getTime()+1E3*g)):1==d&&(d=new Date,g=d.getYear(),d.setYear(g+5+(1900

n&&a.c.push(hier+n),4

=a.offlineThrottleDelay)return 0;c=a.r()-a.Ca;return a.offlineThrottleDelay

c.indexOf(-))for(c=0;16

a.J))tryk.localStorage.removeItem(a.ia()),a.Ba=a.r()catch(c);a.Da=function(c)if(a.ka())a.Fa();tryk.localStorage.setItem(a.ia(),k.JSON.stringify(c)),a.J=a.r()catch(b);a.Fa=function()if(a.trackOffline)if(!a.offlineLimit0

=n;n++)76

c)a.G.unshift(d);setTimeout(a.delayReady, parseInt(a.maxDelay/2));breaka.ta=1;a[d.m].apply(a,d.a);a.ta=0;a.setAccount=a.sa=function(c)var b,d;if(!a.ba(setAccount,arguments))if(a.account=c,a.allAccounts)for(b=a.allAccounts.concat(c.split(,)),a.allAccounts=[],b.sort(),d=0;d

0) events.push(event57= + videoTime); else if (videoEvent == video.progress.75) events.push(event55); events.push(event59); videoSegment=3:M:50-75; videoTime = Math.floor(videoLength / 4); if (videoTime

d?:a.unescape(b.substring(d+2+c.length,0

0) events.push(event57= + videoTime); else if (videoEvent == video.progress.100) events.push(event58); events.push(event59); videoSegment=4:M:75-100; videoTime = Math.floor(videoLength / 4); if (videoTime

a.offlineLimit;)a.ua();a.forceOffline=function()a.ja=!0;a.forceOnline=function()a.ja=!1;a.ia= function()return a.offlineFilename+-+a.visitorNamespace+a.account;a.r=function()return(new Date).getTime();a.ya=function(a)a=a.toLowerCase();return 0!=a.indexOf()&&0!=a.indexOf(about:)&&0!=a.indexOf(opera:)&&0!=a.indexOf(javascript:)?!0:!1;a.setTagContainer=function(c)var b,d,f;a.vb=c;for(b=0;b

0) events.push(event57= + videoTime); else if (videoEvent == video.progress.50) events.push(event54); events.push(event59); videoSegment=2:M:25-50; videoTime = Math.floor(videoLength / 4); if (videoTime

=a.offlineLimit)a.offlineLimit=10;for(;a.g.length

Leave a Reply