// START OF SDC Basic SmartSource Data Collector Tracking Code var gService = false; var gTimeZone = 1; // Code section for Enable First-Party Cookie Tracking function dcsCookie(){ if (typeof(dcsOther)=="function"){ dcsOther(); } else if (typeof(dcsPlugin)=="function"){ dcsPlugin(); } else if (typeof(dcsFPC)=="function"){ dcsFPC(gTimeZone); } } function dcsGetCookie(name){ var pos=document.cookie.indexOf(name+"="); if (pos!=-1){ var start=pos+name.length+1; var end=document.cookie.indexOf(";",start); if (end==-1){ end=document.cookie.length; } return unescape(document.cookie.substring(start,end)); } return null; } function dcsGetCrumb(name,crumb){ var aCookie=dcsGetCookie(name).split(":"); for (var i=0;i(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){ WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000); dSes.setTime(dCur.getTime()); WT.vt_f_s="1"; } if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){ WT.vt_f_d="1"; } } WT.co_f=escape(WT.co_f); WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj); var expiry="; expires="+dExp.toGMTString(); document.cookie=name+"="+"id="+WT.co_f+":lv="+dCur.getTime().toString()+":ss="+dSes.getTime().toString()+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom):("")); if (!dcsIsFpcSet(name,WT.co_f,dCur.getTime().toString(),dSes.getTime().toString())){ WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv=""; WT.vt_f=WT.vt_f_a="2"; } } function dcsMultiTrack(){ if (arguments.length%2==0){ for (var i=0;i3){ if ((navigator.appName=="Microsoft Internet Explorer")&&document.body){ WT.bs=document.body.offsetWidth+"x"+document.body.offsetHeight; } else if (navigator.appName=="Netscape"){ WT.bs=window.innerWidth+"x"+window.innerHeight; } } WT.fi="No"; if (window.ActiveXObject){ for(var i=10;i>0;i--){ try{ var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i); WT.fi="Yes"; WT.fv=i+".0"; break; } catch(e){ } } } else if (navigator.plugins&&navigator.plugins.length){ for (var i=0;i0){ for (var i=0;i'); } } function dcsMeta(){ var elems; if (document.all){ elems=document.all.tags("meta"); } else if (document.documentElement){ elems=document.getElementsByTagName("meta"); } if (typeof(elems)!="undefined"){ var length=elems.length; for (var i=0;i0){ if (name.indexOf("WT.")==0){ WT[name.substring(3)]=content; } else if (name.indexOf("DCSext.")==0){ DCSext[name.substring(7)]=content; } else if (name.indexOf("DCS.")==0){ DCS[name.substring(4)]=content; } } else if (gI18n&&(equiv=="Content-Type")){ var pos=content.toLowerCase().indexOf("charset="); if (pos!=-1){ WT.mle=content.substring(pos+8); } } } } } function dcsTag(){ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){ return; } var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?"; for (var N in DCS){ if (DCS[N]){ P+=dcsA(N,DCS[N]); } } var keys=["co_f","vt_sid","vt_f_tlv"]; for (var i=0;i2048&&navigator.userAgent.indexOf('MSIE')>=0){ P=P.substring(0,2040)+"&WT.tu=1"; } dcsCreateImage(P); } function dcsJV(){ var agt=navigator.userAgent.toLowerCase(); var major=parseInt(navigator.appVersion); var mac=(agt.indexOf("mac")!=-1); var ff=(agt.indexOf("firefox")!=-1); var ff0=(agt.indexOf("firefox/0.")!=-1); var ff10=(agt.indexOf("firefox/1.0")!=-1); var ff15=(agt.indexOf("firefox/1.5")!=-1); var ff2up=(ff&&!ff0&&!ff10&!ff15); var nn=(!ff&&(agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1)); var nn4=(nn&&(major==4)); var nn6up=(nn&&(major>=5)); var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1)); var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1)); var ie5up=(ie&&!ie4); var op=(agt.indexOf("opera")!=-1); var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1); var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1); var op7up=(op&&!op5&&!op6); var jv="1.1"; if (ff2up){ jv="1.7"; } else if (ff15){ jv="1.6"; } else if (ff0||ff10||nn6up||op7up){ jv="1.5"; } else if ((mac&&ie5up)||op6){ jv="1.4"; } else if (ie5up||nn4||op5){ jv="1.3"; } else if (ie4){ jv="1.2"; } return jv; } function dcsFunc(func){ if (typeof(window[func])=="function"){ window[func](); } } dcsVar(); dcsMeta(); dcsFunc("dcsAdv"); dcsTag(); // END OF Basic SmartSource Data Collector TAG