function WebTrends(){var a=this,b=a;a.dcsid="dcs1wotjh10000w0irc493s0e_6x1g";a.domain="m.webtrends.com";a.timezone=-8;a.fpcdom="";a.onsitedoms="";a.downloadtypes="xls,doc,pdf,txt,csv,zip.xlsx,ppt,pptx,docx,exe,wmv,mp4,zip,wma,mp3,asx";a.rightclicktypes="xls,doc,pdf,txt,csv,zip.xlsx,ppt,pptx,docx,exe,wmv,mp4,zip,wma,mp3";a.navigationtag="DIV";a.trackevents=true;a.trimoffsiteparams=true;a.enabled=true;a.i18n=false;a.fpc="WT_FPC";a.paidsearchparams="gclid";a.DCS={};a.WT={};a.DCSext={};a.images=[];a.index=0;a.exre=function(){return window.RegExp?new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"):""}();a.re=function(){return window.RegExp?b.i18n?{"%25":/\%/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g}:""}()}WebTrends.prototype.dcsGetId=function(b){var a=this;if(a.enabled&&document.cookie.indexOf(a.fpc+"=")==-1&&document.cookie.indexOf("WTLOPTOUT=")==-1)jQuery.getScript("http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+a.domain+"/"+a.dcsid+"/wtid.js",b);else b()};WebTrends.prototype.dcsGetCookie=function(e){var f=document.cookie.split("; "),b=[],c=0,a=0,h=e.length,k=f.length;for(a=0;a0){c=0;if(d>1&&e==this.fpc){var g=new Date(0);for(a=0;ag){g.setTime(i.getTime());c=a}}}return unescape(b[c].substring(h+1))}else return null};WebTrends.prototype.dcsGetCrumb=function(e,d,f){var b=e.split(f||":");for(var a=0;ag.getTime()+1800000||c.getTime()>e.getTime()+28800000){a.vt_f_tlv=Math.floor((e.getTime()-i)/1000);e.setTime(c.getTime());a.vt_f_s=d}if(c.getDay()!=g.getDay()||c.getMonth()!=g.getMonth()||c.getYear()!=g.getYear())a.vt_f_d=d}a.co_f=escape(a.co_f);a.vtid=typeof b.vtid==f?a.co_f:b.vtid||"";a.vtvs=(e.getTime()-i).toString();var s="; expires="+t.toGMTString(),m=c.getTime().toString(),n=e.getTime().toString();document.cookie=h+"="+"id="+a.co_f+":lv="+m+":ss="+n+s+"; path=/"+(b.fpcdom!=""?"; domain="+b.fpcdom:"");var p=b.dcsIsFpcSet(h,a.co_f,m,n);if(p!=0){a.co_f=a.vtvs=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(typeof b.vtid==f)a.vtid="";a.vt_f=a.vt_f_a=p}};WebTrends.prototype.dcsIsOnsite=function(a){var b=this;if(a.length>0){a=a.toLowerCase();if(a==window.location.hostname.toLowerCase())return true;if(typeof b.onsitedoms.test=="function")return b.onsitedoms.test(a);else if(b.onsitedoms.length>0){var d=b.dcsSplit(b.onsitedoms),e=d.length;for(var c=0;c0&&g.indexOf("http")==0&&!a.dcsIsOnsite(d)){var f=b.search?b.search.substring(b.search.indexOf("?")+1,b.search.length):"",e=b.pathname?b.pathname.indexOf("/")!=0?"/"+b.pathname:b.pathname:"/";a.dcsMultiTrack("DCS.dcssip",d,"DCS.dcsuri",e,"DCS.dcsqry",a.trimoffsiteparams?"":f,"DCS.dcsref",window.location,"WT.ti","Offsite:"+d+e+"?"+f,"WT.dl","24","WT.nv",a.dcsNavigation(c));a.DCS.dcssip=a.DCS.dcsuri=a.DCS.dcsqry=a.DCS.dcsref=a.WT.ti=a.WT.dl=a.WT.nv=""}}}};WebTrends.prototype.dcsAnchor=function(c){var b=this;c=c||(window.event||"");if(c&&(typeof c.which!="number"||c.which==1)){var a=b.dcsEvt(c,"A");if(a.href){var d=a.hostname?a.hostname.split(":")[0]:"";if(b.dcsIsOnsite(d)&&a.hash&&a.hash!=""&&a.hash!="#"){var f=a.search?a.search.substring(a.search.indexOf("?")+1,a.search.length):"",e=a.pathname?a.pathname.indexOf("/")!=0?"/"+a.pathname:a.pathname:"/";b.dcsMultiTrack("DCS.dcssip",d,"DCS.dcsuri",e+a.hash,"WT.ti","Anchor:"+a.hash,"WT.dl","21","WT.nv",b.dcsNavigation(c));b.DCS.dcssip=b.DCS.dcsuri=b.WT.ti=b.WT.dl=b.WT.nv=""}}}};WebTrends.prototype.dcsImageMap=function(c){var a=this;c=c||(window.event||"");if(c){var b=a.dcsEvt(c,"AREA");if(b.href){var f=b.hostname?b.hostname.split(":")[0]:"";if(f!=""&&b.protocol&&b.protocol.indexOf("http")!=-1){var e="",d=a.dcsEvt(c,"MAP");if(d)if(d.name)e=d.name;else if(d.id)e=d.id;var g=b.pathname?b.pathname.indexOf("/")!=0?"/"+b.pathname:b.pathname:"/";a.dcsMultiTrack("DCS.dcssip",f,"DCS.dcsuri",g,"DCS.dcsqry",b.search||"","WT.ti","ImageMap:"+e,"WT.dl","30","WT.nv",a.dcsNavigation(c));a.DCS.dcssip=a.DCS.dcsuri=a.DCS.dcsqry=a.WT.ti=a.WT.dl=a.WT.nv=""}}}};WebTrends.prototype.dcsAdv=function(){var a=this;if(a.trackevents&&typeof a.dcsET=="function")if(window.addEventListener)window.addEventListener("load",a.dcsET.wtbind(a),false);else if(window.attachEvent)window.attachEvent("onload",a.dcsET.wtbind(a));a.dcsFPC()};WebTrends.prototype.dcsVar=function(){var d=this,c="Not enabled",e="unknown",h="Netscape",f=new Date,a=d.WT,b=d.DCS;a.tz=parseInt(f.getTimezoneOffset()/60*-1)||"0";a.bh=f.getHours()||"0";a.ul=navigator.appName==h?navigator.language:navigator.userLanguage;if(typeof screen=="object"){a.cd=navigator.appName==h?screen.pixelDepth:screen.colorDepth;a.sr=screen.width+"x"+screen.height}if(typeof navigator.javaEnabled()=="boolean")a.jo=navigator.javaEnabled()?"Yes":"No";if(document.title)if(window.RegExp){var k=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s");a.ti=document.title.replace(k,"")}else a.ti=document.title;a.js="Yes";a.jv=function(){var a=navigator.userAgent.toLowerCase(),c=parseInt(navigator.appVersion),r=a.indexOf("mac")!=-1,l=a.indexOf("firefox")!=-1,h=a.indexOf("firefox/0.")!=-1,e=a.indexOf("firefox/1.0")!=-1,f=a.indexOf("firefox/1.5")!=-1,g=a.indexOf("firefox/2.0")!=-1,o=l&&!h&&!e&!f&!g,n=!l&&a.indexOf("mozilla")!=-1&&a.indexOf("compatible")==-1,s=n&&c==4,p=n&&c>=5,m=a.indexOf("msie")!=-1&&a.indexOf("opera")==-1,i=m&&c==4&&a.indexOf("msie 4")!=-1,d=m&&!i,t=a.indexOf("opera")!=-1,j=a.indexOf("opera 5")!=-1||a.indexOf("opera/5")!=-1,k=a.indexOf("opera 6")!=-1||a.indexOf("opera/6")!=-1,q=t&&!j&&!k,b="1.1";if(o)b="1.8";else if(g)b="1.7";else if(f)b="1.6";else if(h||e||p||q)b="1.5";else if(r&&d||k)b="1.4";else if(d||s||j)b="1.3";else if(i)b="1.2";return b}();a.ct=e;if(document.body&&document.body.addBehavior)try{document.body.addBehavior("#default#clientCaps");a.ct=document.body.connectionType||e;document.body.addBehavior("#default#homePage");a.hp=document.body.isHomePage(location.href)?"1":"0"}catch(l){}if(document.all)a.bs=document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:e;else a.bs=window.innerWidth+"x"+window.innerHeight;a.fv=function(){var a,b;if(window.ActiveXObject)for(a=10;a>0;a--)try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+a);return a+".0"}catch(c){}else if(navigator.plugins&&navigator.plugins.length)for(a=0;a=0;c--){for(b=3;b>0;b--){d=b+"."+c;if(Silverlight.isInstalled(d)){a=d;break}}if(a==d)break}}return a}();if(d.i18n)if(typeof document.defaultCharset=="string")a.le=document.defaultCharset;else if(typeof document.characterSet=="string")a.le=document.characterSet;else a.le=e;a.tv="8.6.1";a.dl="0";a.ssl=window.location.protocol.indexOf("https:")==0?"1":"0";b.dcsdat=f.getTime();b.dcssip=window.location.hostname;b.dcsuri=window.location.pathname;a.es=b.dcssip+b.dcsuri;if(window.location.search)b.dcsqry=window.location.search;if(b.dcsqry){var j=b.dcsqry.toLowerCase(),i=d.paidsearchparams.length?d.paidsearchparams.toLowerCase().split(","):[];for(var g=0;g')};WebTrends.prototype.dcsMeta=function(){var a;if(document.all)a=document.all.tags("meta");else if(document.documentElement)a=document.getElementsByTagName("meta");if(typeof a!="undefined"){var e=a.length;for(var c=0;c0)if(b.toUpperCase().indexOf("WT.")==0)this.WT[b.substring(3)]=d;else if(b.toUpperCase().indexOf("DCSEXT.")==0)this.DCSext[b.substring(7)]=d;else if(b.toUpperCase().indexOf("DCS.")==0)this.DCS[b.substring(4)]=d}}};WebTrends.prototype.dcsTag=function(){var b=this,h="function";if(document.cookie.indexOf("WTLOPTOUT=")!=-1)return;var c=b.WT,f=b.DCS,e=b.DCSext,i=b.i18n,d="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+b.domain+(b.dcsid==""?"":"/"+b.dcsid)+"/dcs.gif?";if(i)c.dep="";for(var a in f)if(f[a]&&typeof f[a]!=h)d+=b.dcsA(a,f[a]);var k=["co_f","vtid","vtvs","vt_f_tlv"];for(var j=0;j0)d+=b.dcsA("WT.dep",c.dep);if(d.length>2048&&navigator.userAgent.indexOf("MSIE")>=0)d=d.substring(0,2040)+"&WT.tu=1";b.dcsCreateImage(d);b.WT.ad=""};WebTrends.prototype.dcsDebug=function(){var d="
",a=this,e=a.images[0].src,f=e.indexOf("?"),c=e.substring(0,f).split("/"),b="Protocol
"+c[0]+d;b+="Domain
"+c[2]+d;b+="Path
/"+c[3]+"/"+c[4]+d;b+="Query Params"+e.substring(f+1).replace(/\&/g,"
")+"
";b+="
Cookies
"+document.cookie.replace(/\;/g,"
")+"
";if(a.w&&!a.w.closed)a.w.close();a.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes");a.w.document.write(b);a.w.focus()};WebTrends.prototype.dcsCollect=function(){var a=this;if(a.enabled){a.dcsVar();a.dcsMeta();a.dcsAdv();a.dcsTag()}};function dcsMultiTrack(){if(typeof _tag!="undefined")return _tag.dcsMultiTrack()}function dcsDebug(){if(typeof _tag!="undefined")return _tag.dcsDebug()}Function.prototype.wtbind=function(c){var a=this,b=function(){return a.apply(c,arguments)};return b};