
if(typeof czen=='undefined')window.czen={};czen.trackedLinkStore=[];czen.parseAdlobs=function(){if(!dojo){czenConfig.parseAdlobs='Can\'t parse adlobs without dojo, ensure dojo is loaded before czen.js';return;};var adlobs=dojo.query('div[czenSlot]');for(var i=0;i<adlobs.length;i++){var cta=dojo.query('a',adlobs[i]);cta=cta.concat(dojo.query('input[type="image"]',adlobs[i]));for(var j=0;j<cta.length;j++){czen.trackedLinkStore.push(new czen.TrackedLink(cta[j],adlobs[i]));}}};czen.TrackedLink=function(item,adlob){this.node=item;this.adlobNode=adlob;this.category='Adlob';this.action='Click';this.label=czen.buildEventLabel(item,adlob);dojo.connect(item,'onmousedown',dojo.hitch(this,function(){if(window.pageTracker)pageTracker._trackEvent(this.category,this.action,this.label);}));};czen.buildEventLabel=function(item,adlob){var memberType=adlob.getAttribute('czenMemberType')||'';var overallStatus=adlob.getAttribute('czenOverallStatus')||'';var page=window.location.pathname;var slotId=adlob.getAttribute('czenSlot')||'';var destination=item.href||item.form.action;return memberType+'!'+overallStatus+'!'+page+'!'+slotId+'!'+destination;};dojo.addOnLoad(function(){try{if(czenConfig.parseAdlobs){czen.parseAdlobs();}else{if(!czenConfig)czenConfig={};czenConfig.parseAdlobs='czenConfig.parseAdlobs was not set, or not set to true';}}catch(err){};});