function WebTrends(){this.dcsid="dcsncwimc10000kzgoor3wv9x_3f2v";this.domain="statse.webtrendslive.com";this.timezone=0;this.fpcdom="";this.evi=[{cookie:"autorefresh",qp:"DCSext.AutoRefresh",crumb:"",sep:""},{cookie:"geoRedirector",qp:"DCSext.GeoRedirectUrl",crumb:"origurl",sep:"&"},{cookie:"geoRedirector",qp:"DCSext.GeoRedirectEnabled",crumb:"enabled",sep:"&"}];this.enabled=true;this.i18n=false;this.fpc="WT_FPC";this.DCS={};this.WT={};this.DCSext={};this.images=[];this.index=0;this.exre=window.RegExp?
/dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)/i:"";this.re=window.RegExp?this.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(){this.enabled&&document.cookie.indexOf(this.fpc+"=")==-1&&document.cookie.indexOf("WTLOPTOUT=")==-1&&document.write("<script type='text/javascript' src='http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+"/"+this.dcsid+"/wtid.js'><\/script>")};
WebTrends.prototype.dcsGetCookie=function(a){for(var b=document.cookie.split("; "),c=[],d=0,f=0,e=a.length,g=b.length,f=0;f<g;f++){var h=b[f];h.substring(0,e+1)==a+"="&&(c[d++]=h)}b=c.length;if(b>0){d=0;if(b>1&&a==this.fpc){a=new Date(0);for(f=0;f<b;f++)g=parseInt(this.dcsGetCrumb(c[f],"lv")),g=new Date(g),g>a&&(a.setTime(g.getTime()),d=f)}return unescape(c[d].substring(e+1))}return null};
WebTrends.prototype.dcsGetCrumb=function(a,b,c){a=a.split(c||":");for(c=0;c<a.length;c++){var d=a[c].split("=");if(b==d[0])return d[1]}return null};WebTrends.prototype.dcsGetIdCrumb=function(a,b){for(var c=a.substring(0,a.indexOf(":lv=")).split("="),d=0;d<c.length;d++)if(b==c[0])return c[1];return null};WebTrends.prototype.dcsIsFpcSet=function(a,b,c,d){return(a=this.dcsGetCookie(a))?b==this.dcsGetIdCrumb(a,"id")&&c==this.dcsGetCrumb(a,"lv")&&d==this.dcsGetCrumb(a,"ss")?0:3:2};
WebTrends.prototype.dcsFPC=function(){if(document.cookie.indexOf("WTLOPTOUT=")==-1){var a=this.WT,b=this.fpc,c=new Date,d=c.getTimezoneOffset()*6E4+this.timezone*36E5;c.setTime(c.getTime()+d);var f=new Date(c.getTime()+31536E7),e=new Date(c.getTime());a.co_f=a.vtid=a.vtvs=a.vt_f=a.vt_f_a=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(document.cookie.indexOf(b+"=")==-1){if(typeof gWtId!="undefined"&&gWtId!="")a.co_f=gWtId;else{if(typeof gTempWtId!="undefined"&&gTempWtId!="")a.co_f=gTempWtId;else{a.co_f=
"2";for(var g=c.getTime().toString(),h=2;h<=32-g.length;h++)a.co_f+=Math.floor(Math.random()*16).toString(16);a.co_f+=g}a.vt_f="1"}if(typeof gWtAccountRollup=="undefined")a.vt_f_a="1";a.vt_f_s=a.vt_f_d="1";a.vt_f_tlh=a.vt_f_tlv="0"}else{var i=this.dcsGetCookie(b),g=this.dcsGetIdCrumb(i,"id"),h=parseInt(this.dcsGetCrumb(i,"lv")),i=parseInt(this.dcsGetCrumb(i,"ss"));if(g==null||g=="null"||isNaN(h)||isNaN(i))return;a.co_f=g;g=new Date(h);a.vt_f_tlh=Math.floor((g.getTime()-d)/1E3);e.setTime(i);if(c.getTime()>
g.getTime()+18E5||c.getTime()>e.getTime()+288E5)a.vt_f_tlv=Math.floor((e.getTime()-d)/1E3),e.setTime(c.getTime()),a.vt_f_s="1";if(c.getDay()!=g.getDay()||c.getMonth()!=g.getMonth()||c.getYear()!=g.getYear())a.vt_f_d="1"}a.co_f=escape(a.co_f);a.vtid=typeof this.vtid=="undefined"?a.co_f:this.vtid||"";a.vtvs=(e.getTime()-d).toString();d="; expires="+f.toGMTString();c=c.getTime().toString();e=e.getTime().toString();document.cookie=b+"=id="+a.co_f+":lv="+c+":ss="+e+d+"; path=/"+(this.fpcdom!=""?"; domain="+
this.fpcdom:"");b=this.dcsIsFpcSet(b,a.co_f,c,e);if(b!=0){a.co_f=a.vtvs=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(typeof this.vtid=="undefined")a.vtid="";a.vt_f=a.vt_f_a=b}}};WebTrends.prototype.dcsMultiTrack=function(){var a=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments;if(a.length%2==0)this.dcsSetProps(a),this.DCS.dcsdat=(new Date).getTime(),this.dcsFPC(),this.dcsTag()};WebTrends.prototype.dcsCleanUp=function(){this.DCS={};this.WT={};this.DCSext={};arguments.length%2==0&&this.dcsSetProps(arguments)};
WebTrends.prototype.dcsSetProps=function(a){for(var b=0;b<a.length;b+=2)a[b].indexOf("WT.")==0?this.WT[a[b].substring(3)]=a[b+1]:a[b].indexOf("DCS.")==0?this.DCS[a[b].substring(4)]=a[b+1]:a[b].indexOf("DCSext.")==0&&(this.DCSext[a[b].substring(7)]=a[b+1])};
WebTrends.prototype.dcsEvi=function(){for(var a=this.evi,b=0;b<a.length;b++){var c=a[b],d=c.qp,f=this.dcsGetCookie(c.cookie);f&&(c.crumb.length>0&&c.sep.length>0&&(f=this.dcsGetCrumb(f,c.crumb,c.sep)),f&&(d.indexOf("WT.")==0?this.WT[d.substring(3)]=f:d.indexOf("DCS.")==0?this.DCS[d.substring(4)]=f:d.indexOf("DCSext.")==0?this.DCSext[d.substring(7)]=f:this.DCSext[d]=f))}};WebTrends.prototype.dcsAdv=function(){this.dcsFPC();this.dcsEvi()};
WebTrends.prototype.dcsVar=function(){var a=new Date,b=this.WT,c=this.DCS;b.tz=parseInt(a.getTimezoneOffset()/60*-1)||"0";b.bh=a.getHours()||"0";b.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;if(typeof screen=="object")b.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth,b.sr=screen.width+"x"+screen.height;if(typeof navigator.javaEnabled()=="boolean")b.jo=navigator.javaEnabled()?"Yes":"No";if(document.title)b.ti=window.RegExp?document.title.replace(RegExp("^"+
window.location.protocol+"//"+window.location.hostname+"\\s-\\s"),""):document.title;b.js="Yes";b.jv=function(){var a=navigator.userAgent.toLowerCase(),c=parseInt(navigator.appVersion),b=a.indexOf("mac")!=-1,d=a.indexOf("firefox")!=-1,i=a.indexOf("firefox/0.")!=-1,m=a.indexOf("firefox/1.0")!=-1,n=a.indexOf("firefox/1.5")!=-1,o=a.indexOf("firefox/2.0")!=-1,q=d&&!i&&!m&!n&!o,l=!d&&a.indexOf("mozilla")!=-1&&a.indexOf("compatible")==-1,d=l&&c==4,l=l&&c>=5,k=a.indexOf("msie")!=-1&&a.indexOf("opera")==
-1,c=k&&c==4&&a.indexOf("msie 4")!=-1,k=k&&!c,r=a.indexOf("opera")!=-1,p=a.indexOf("opera 5")!=-1||a.indexOf("opera/5")!=-1,a=a.indexOf("opera 6")!=-1||a.indexOf("opera/6")!=-1,j="1.1";q?j="1.8":o?j="1.7":n?j="1.6":i||m||l||r&&!p&&!a?j="1.5":b&&k||a?j="1.4":k||d||p?j="1.3":c&&(j="1.2");return j}();b.ct="unknown";if(document.body&&document.body.addBehavior)try{document.body.addBehavior("#default#clientCaps"),b.ct=document.body.connectionType||"unknown",document.body.addBehavior("#default#homePage"),
b.hp=document.body.isHomePage(location.href)?"1":"0"}catch(d){}b.bs=document.all?document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown":window.innerWidth+"x"+window.innerHeight;b.fv=function(){var a;if(window.ActiveXObject)for(a=10;a>0;a--)try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+a),a+".0"}catch(c){}else if(navigator.plugins&&navigator.plugins.length)for(a=0;a<navigator.plugins.length;a++)if(navigator.plugins[a].name.indexOf("Shockwave Flash")!=-1)return navigator.plugins[a].description.split(" ")[2];
return"Not enabled"}();b.slv=function(){var a="Not enabled";try{navigator.userAgent.indexOf("MSIE")!=-1?new ActiveXObject("AgControl.AgControl")&&(a="Unknown"):navigator.plugins["Silverlight Plug-In"]&&(a="Unknown")}catch(c){}if(a!="Not enabled"){var b,d,i;if(typeof Silverlight=="object"&&typeof Silverlight.isInstalled=="function")for(d=9;d>=0;d--){for(b=3;b>0;b--)if(i=b+"."+d,Silverlight.isInstalled(i)){a=i;break}if(a==i)break}}return a}();if(this.i18n)b.le=typeof document.defaultCharset=="string"?
document.defaultCharset:typeof document.characterSet=="string"?document.characterSet:"unknown";b.tv="8.6.0";b.dl="0";b.ssl=window.location.protocol.indexOf("https:")==0?"1":"0";c.dcsdat=a.getTime();c.dcssip=window.location.hostname;c.dcsuri=window.location.pathname;b.es=c.dcssip+c.dcsuri;if(window.location.search)c.dcsqry=window.location.search;if(window.document.referrer!=""&&window.document.referrer!="-"&&!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4))c.dcsref=
window.document.referrer};WebTrends.prototype.dcsEscape=function(a,b){if(b!=""){var a=a.toString(),c;for(c in b)b[c]instanceof RegExp&&(a=a.replace(b[c],c));return a}return escape(a)};
WebTrends.prototype.dcsA=function(a,b){if(this.i18n&&this.exre!=""&&!this.exre.test(a))if(a=="dcsqry"){for(var c="",d=b.substring(1).split("&"),f=0;f<d.length;f++){var e=d[f],g=e.indexOf("=");if(g!=-1){var h=e.substring(0,g),e=e.substring(g+1);f!=0&&(c+="&");c+=h+"="+this.dcsEncode(e)}}b=b.substring(0,1)+c}else b=this.dcsEncode(b);return"&"+a+"="+this.dcsEscape(b,this.re)};WebTrends.prototype.dcsEncode=function(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)};
WebTrends.prototype.dcsCreateImage=function(a){document.images?(this.images[this.index]=new Image,this.images[this.index].src=a,this.index++):document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+a+'">')};
WebTrends.prototype.dcsMeta=function(){var a;document.all?a=document.all.tags("meta"):document.documentElement&&(a=document.getElementsByTagName("meta"));if(typeof a!="undefined")for(var b=a.length,c=0;c<b;c++){var d=a.item(c).name,f=a.item(c).content;a.item(c);d.length>0&&(d.toUpperCase().indexOf("WT.")==0?this.WT[d.substring(3)]=f:d.toUpperCase().indexOf("DCSEXT.")==0?this.DCSext[d.substring(7)]=f:d.toUpperCase().indexOf("DCS.")==0&&(this.DCS[d.substring(4)]=f))}};
WebTrends.prototype.dcsTag=function(){if(document.cookie.indexOf("WTLOPTOUT=")==-1){var a=this.WT,b=this.DCS,c=this.DCSext,d=this.i18n,f="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+(this.dcsid==""?"":"/"+this.dcsid)+"/dcs.gif?";if(d)a.dep="";for(var e in b)b[e]&&typeof b[e]!="function"&&(f+=this.dcsA(e,b[e]));for(var b=["co_f","vtid","vtvs","vt_f_tlv"],g=0;g<b.length;g++){var h=b[g];a[h]&&(f+=this.dcsA("WT."+h,a[h]),delete a[h])}for(e in a)a[e]&&typeof a[e]!="function"&&
(f+=this.dcsA("WT."+e,a[e]));for(e in c)if(c[e]&&typeof c[e]!="function"){if(d)a.dep=a.dep.length==0?e:a.dep+";"+e;f+=this.dcsA(e,c[e])}d&&a.dep.length>0&&(f+=this.dcsA("WT.dep",a.dep));f.length>2048&&navigator.userAgent.indexOf("MSIE")>=0&&(f=f.substring(0,2040)+"&WT.tu=1");this.dcsCreateImage(f);this.WT.ad=""}};
WebTrends.prototype.dcsDebug=function(){var a=this.images[0].src,b=a.indexOf("?"),c=a.substring(0,b).split("/"),d="<b>Protocol</b><br><code>"+c[0]+"<br></code>";d+="<b>Domain</b><br><code>"+c[2]+"<br></code>";d+="<b>Path</b><br><code>/"+c[3]+"/"+c[4]+"<br></code>";d+="<b>Query Params</b><code>"+a.substring(b+1).replace(/\&/g,"<br>")+"</code>";d+="<br><b>Cookies</b><br><code>"+document.cookie.replace(/\;/g,"<br>")+"</code>";this.w&&!this.w.closed&&this.w.close();this.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes");
this.w.document.write(d);this.w.focus()};WebTrends.prototype.dcsCollect=function(){this.enabled&&(this.dcsVar(),this.dcsMeta(),this.dcsAdv(),this.dcsTag(),typeof clearRefreshCookie=="function"&&clearRefreshCookie(),nielsenEventBeacon())};function clearRefreshCookie(){typeof Reuters.refresh!="undefined"&&Reuters.refresh.clearRefreshCookie()}function dcsMultiTrack(){if(typeof _tag!="undefined")return _tag.dcsMultiTrack()}function dcsDebug(){if(typeof _tag!="undefined")return _tag.dcsDebug()}
Function.prototype.wtbind=function(a){var b=this;return function(){return b.apply(a,arguments)}};function _f2void(){}function _f2sleep(a){for(var b=new Date,c=new Date;c.getTime()-b.getTime()<a;)c=new Date}
function f2convert(a,b){try{var c=new Image(1,1),d="//rd.clickshift.com/convert.gif?cid="+escape(a);try{location.protocol=="file:"&&(d="http:"+d)}catch(f){}d+="&pids="+escape(b);if(f2convert.arguments.length>2){var e=f2convert.arguments[2];d+="&conversion_id="+(e?escape(e):"")}f2convert.arguments.length>3&&f2convert.arguments[3]&&(d+="&pof=1");if(f2convert.arguments.length>4){var g=f2convert.arguments[4];d+="&cshift_ck="+(g?escape(g):"")}if(f2convert.arguments.length>5){var h=f2convert.arguments[5];
d+="&attribution="+(h?escape(h):"")}c.onload=function(){_f2void()};c.src=d}catch(i){}try{if(a==1E3||a==5031){java_script='<script language="javascript">var f2Params = new Array(); f2Params["pids"]="'+b+'";';f2convert.arguments.length>2&&(java_script=java_script+'f2Params["conversion_id"]="'+f2convert.arguments[2]+'";');f2convert.arguments.length>3&&(java_script=java_script+'f2Params["pof"]="'+f2convert.arguments[3]+'";');f2convert.arguments.length>4&&(java_script=java_script+'f2Params["cshift_ck"]="'+
f2convert.arguments[4]+'";');f2convert.arguments.length>5&&(java_script=java_script+'f2Params["attribution"]="'+f2convert.arguments[5]+'";');c="//rd.clickshift.com/js/";try{location.protocol=="file:"&&(c="http:"+c)}catch(m){}java_script=java_script+'<\/script><script language="javascript" src="'+c+a+'_custom_convert.js"><\/script>';document.write(java_script)}}catch(n){}return true}
function f2_onclick_convert(a,b){var c=new Image(1,1),d="//rd.clickshift.com/convert.gif?cid="+escape(a);try{location.protocol=="file:"&&(d="http:"+d)}catch(f){}d+="&pids="+escape(b);if(f2_onclick_convert.arguments.length>2){var e=f2_onclick_convert.arguments[2];d+="&conversion_id="+(e?escape(e):"")}f2_onclick_convert.arguments.length>3&&f2_onclick_convert.arguments[3]&&(d+="&pof=1");f2_onclick_convert.arguments.length>4&&(e=f2_onclick_convert.arguments[4],d+="&cshift_ck="+(e?escape(e):""));f2_onclick_convert.arguments.length>
5&&(e=f2_onclick_convert.arguments[5],d+="&attribution="+(e?escape(e):""));d+="&rnd="+escape(Math.round(1E10*Math.random()));c.onload=function(){_f2void()};c.src=d;try{navigator.appName!="Microsoft Internet Explorer"&&_f2sleep(500)}catch(g){}return true}
function DcsDynamicSearch(a){var b=typeof WT=="object"?WT:{};this.getClientId=function(){return a};this.getProductInfo=function(){var a="";try{var d=new WebTrends;d.dcsMeta();b=d.WT;cg=b.cg_n.replace(/\s/g,"_");for(var f=cg.split(";"),d=0;d<f.length;d++)a+=(d?",":"")+f[d]+"#2*1"}catch(e){}return a};this.getAdInfo=function(){return(new WebTrends).dcsGetCookie("WT_DSAI")||""};this.getIsNew=function(){return 1};(function(){var a;a:{a=window.location.search.substring(1);if(a.length>0){a=a.split("&");
for(var b=a.length,f=0;f<b;f++){var e=a[f].split("=");if(e[0]=="cshift_ck"){a=e[1];break a}}}a=""}if(a.length>0)(new Date).getTime(),document.cookie="WT_DSAI="+a+"; path=/"})()}var dcsDS=new DcsDynamicSearch(5358);dcsDS.getAdInfo()&&f2convert(dcsDS.getClientId(),dcsDS.getProductInfo(),"",dcsDS.getIsNew(),dcsDS.getAdInfo());
function nielsenEventBeacon(){var a=new Image(1,1);a.onerror=a.onload=function(){a.onerror=a.onload=null};a.src=["//secure-us.imrworldwide.com/cgi-bin/m?ci=us-602927h&cg=0&cc=1&si=",escape(window.location.href),"&rp=",escape(document.referrer),"&ts=compact&rnd=",(new Date).getTime()].join("")}
function dscQuantcast(a){a&&(typeof a.DCSext.VBC=="string"&&a.DCSext.VBC.length>0&&escape(a.DCSext.VBC),typeof a.DCSext.rCountry=="string"&&a.DCSext.rCountry.length>0&&escape(a.DCSext.rCountry),typeof a.DCSext.rChannel=="string"&&a.DCSext.rChannel.length>0&&escape(a.DCSext.rChannel),typeof a.WT.cg_n=="string"&&a.WT.cg_n.length>0&&escape(a.WT.cg_n),typeof a.WT.cg_s=="string"&&a.WT.cg_s.length>0&&escape(a.WT.cg_s))};

