function WebTrends(){var a=this;this.dcsid="";this.dcsID="";this.domain="sdc.sageportal.com";this.timezone=-5;this.fpcdom="";this.onsitedoms="";this.downloadtypes="arc, arj, bin, com, dll, doc, exe, gz, mp3, mpeg, pdf, ppt, rar, rpm, rpt, sit, tar, zip, wmv, mp4";this.navigationtag="div,table";this.trackevents=true;this.enabled=true;this.i18n=false;this.fpc="WT_FPC";this.paidsearchparams="gclid";this.splitvalue="";this.preserve=true;this.DCS={};this.WT={};this.DCSext={};this.images=[];this.index=0;this.exre=(function(){return(window.RegExp?new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"):"")})();this.re=(function(){return(window.RegExp?(a.i18n?{"%25":/\%/g,"%26":/\&/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(){if(this.dcsid==""){this.dcsid=this.dcsID}if(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(m){var f=document.cookie.split("; ");var d=[];var k=0;var j=0;var n=m.length;var b=f.length;for(j=0;j<b;j++){var a=f[j];if((a.substring(0,n+1))==(m+"=")){d[k++]=a}}var e=d.length;if(e>0){k=0;if((e>1)&&(m==this.fpc)){var g=new Date(0);for(j=0;j<e;j++){var l=parseInt(this.dcsGetCrumb(d[j],"lv"));var h=new Date(l);if(h>g){g.setTime(h.getTime());k=j}}}return unescape(d[k].substring(n+1))}else{return null}};WebTrends.prototype.dcsGetCrumb=function(d,c,f){var a=d.split(f||":");for(var e=0;e<a.length;e++){var b=a[e].split("=");if(c==b[0]){return b[1]}}return null};WebTrends.prototype.dcsGetIdCrumb=function(c,b){var e=c.substring(0,c.indexOf(":lv="));var a=e.split("=");for(var d=0;d<a.length;d++){if(b==a[0]){return a[1]}}return null};WebTrends.prototype.dcsIsFpcSet=function(e,b,d,f){var a=this.dcsGetCookie(e);if(a){return((b==this.dcsGetIdCrumb(a,"id"))&&(d==this.dcsGetCrumb(a,"lv"))&&(f==this.dcsGetCrumb(a,"ss")))?0:3}return 2};WebTrends.prototype.dcsFPC=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return}var s=this.WT;var o=this.fpc;var f=new Date();var a=(f.getTimezoneOffset()*60000)+(this.timezone*3600000);f.setTime(f.getTime()+a);var g=new Date(f.getTime()+315360000000);var j=new Date(f.getTime());s.co_f=s.vtid=s.vtvs=s.vt_f=s.vt_f_a=s.vt_f_s=s.vt_f_d=s.vt_f_tlh=s.vt_f_tlv="";if(document.cookie.indexOf(o+"=")==-1){if((typeof(gWtId)!="undefined")&&(gWtId!="")){s.co_f=gWtId}else{if((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){s.co_f=gTempWtId;s.vt_f="1"}else{s.co_f="2";var e=f.getTime().toString();for(var l=2;l<=(32-e.length);l++){s.co_f+=Math.floor(Math.random()*16).toString(16)}s.co_f+=e;s.vt_f="1"}}if(typeof(gWtAccountRollup)=="undefined"){s.vt_f_a="1"}s.vt_f_s=s.vt_f_d="1";s.vt_f_tlh=s.vt_f_tlv="0"}else{var b=this.dcsGetCookie(o);var m=this.dcsGetIdCrumb(b,"id");var n=parseInt(this.dcsGetCrumb(b,"lv"));var r=parseInt(this.dcsGetCrumb(b,"ss"));if((m==null)||(m=="null")||isNaN(n)||isNaN(r)){return}s.co_f=m;var h=new Date(n);s.vt_f_tlh=Math.floor((h.getTime()-a)/1000);j.setTime(r);if((f.getTime()>(h.getTime()+1800000))||(f.getTime()>(j.getTime()+28800000))){s.vt_f_tlv=Math.floor((j.getTime()-a)/1000);j.setTime(f.getTime());s.vt_f_s="1"}if((f.getDay()!=h.getDay())||(f.getMonth()!=h.getMonth())||(f.getYear()!=h.getYear())){s.vt_f_d="1"}}s.co_f=escape(s.co_f);s.vtid=(typeof(this.vtid)=="undefined")?s.co_f:(this.vtid||"");s.vtvs=(j.getTime()-a).toString();var k="; expires="+g.toGMTString();var d=f.getTime().toString();var q=j.getTime().toString();document.cookie=o+"=id="+s.co_f+":lv="+d+":ss="+q+k+"; path=/"+(((this.fpcdom!=""))?("; domain="+this.fpcdom):(""));var p=this.dcsIsFpcSet(o,s.co_f,d,q);if(p!=0){s.co_f=s.vtvs=s.vt_f_s=s.vt_f_d=s.vt_f_tlh=s.vt_f_tlv="";if(typeof(this.vtid)=="undefined"){s.vtid=""}s.vt_f=s.vt_f_a=p}};WebTrends.prototype.dcsTP=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return}var c="WT_DC";var b="; expires=Thu, 31-Dec-2020 08:00:00 GMT";var d="; path=/";var a="";if(document.cookie.indexOf(c+"=tsp=1")!=-1){this.WT.ttp="1"}if(this.dcsGetMeta("SmartView_Page")=="1"){this.WT.tsp="1";document.cookie=c+"=tsp=1"+b+d+a}else{document.cookie=c+"=; expires=Sun, 1-Jan-1995 00:00:00 GMT;"+d+a}};WebTrends.prototype.dcsGetMeta=function(d){var a;if(document.documentElement){a=document.getElementsByTagName("meta")}else{if(document.all){a=document.all.tags("meta")}}if(typeof(a)!="undefined"){for(var b=1;b<=a.length;b++){var c=a.item(b-1);if(c.name&&(c.name.indexOf(d)==0)){return c.content;break}}}return null};WebTrends.prototype.dcsIsOnsite=function(b){if(b.length>0){b=b.toLowerCase();if(b==window.location.hostname.toLowerCase()){return true}if(typeof(this.onsitedoms.test)=="function"){return this.onsitedoms.test(b)}else{if(this.onsitedoms.length>0){var a=this.dcsSplit(this.onsitedoms);var d=a.length;for(var c=0;c<d;c++){if(b==a[c]){return true}}}}}return false};WebTrends.prototype.dcsTypeMatch=function(b,e){var d=b.toLowerCase().substring(b.lastIndexOf(".")+1,b.length);var f=this.dcsSplit(e);var c=f.length;for(var a=0;a<c;a++){if(d==f[a]){return true}}return false};WebTrends.prototype.dcsEvt=function(b,c){var a=b.target||b.srcElement;while(a.tagName&&(a.tagName.toLowerCase()!=c.toLowerCase())){a=a.parentElement||a.parentNode}return a};WebTrends.prototype.dcsNavigation=function(g){var j="";var a="";var d=this.dcsSplit(this.navigationtag);var f=d.length;var h,b,c;for(h=0;h<f;h++){c=d[h];if(c.length){b=this.dcsEvt(g,c);j=(b.getAttribute&&b.getAttribute("id"))?b.getAttribute("id"):"";a=b.className||"";if(j.length||a.length){break}}}return j.length?j:a};WebTrends.prototype.dcsBind=function(a,b){if((typeof(b)=="function")&&document.body){if(document.body.addEventListener){document.body.addEventListener(a,b.wtbind(this),true)}else{if(document.body.attachEvent){document.body.attachEvent("on"+a,b.wtbind(this))}}}};WebTrends.prototype.dcsET=function(){var a=(navigator.appVersion.indexOf("MSIE")!=-1)?"click":"mousedown";this.dcsBind(a,this.dcsDownload);this.dcsBind(a,this.dcsMailTo);this.dcsBind(a,this.dcsFormButton);this.dcsBind(a,this.dcsAnchor);this.dcsBind(a,this.dcsImageMap)};WebTrends.prototype.dcsMultiTrack=function(){var a=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments;if(a.length%2==0){this.dcsSaveProps(a);this.dcsSetProps(a);var b=new Date();this.DCS.dcsdat=b.getTime();this.dcsFPC();this.dcsTag();this.dcsRestoreProps()}};WebTrends.prototype.dcsCleanUp=function(){this.DCS={};this.WT={};this.DCSext={};if(arguments.length%2==0){this.dcsSetProps(arguments)}};WebTrends.prototype.dcsSetProps=function(a){for(var b=0;b<a.length;b+=2){if(a[b].indexOf("WT.")==0){this.WT[a[b].substring(3)]=a[b+1]}else{if(a[b].indexOf("DCS.")==0){this.DCS[a[b].substring(4)]=a[b+1]}else{if(a[b].indexOf("DCSext.")==0){this.DCSext[a[b].substring(7)]=a[b+1]}}}}};WebTrends.prototype.dcsSaveProps=function(a){var b,c,d;if(this.preserve){this.args=[];for(b=0;b<a.length;b+=2){d=a[b];if(d.indexOf("WT.")==0){c=d.substring(3);this.args[b]=d;this.args[b+1]=this.WT[c]||""}else{if(d.indexOf("DCS.")==0){c=d.substring(4);this.args[b]=d;this.args[b+1]=this.DCS[c]||""}else{if(d.indexOf("DCSext.")==0){c=d.substring(7);this.args[b]=d;this.args[b+1]=this.DCSext[c]||""}}}}}};WebTrends.prototype.dcsRestoreProps=function(){if(this.preserve){this.dcsSetProps(this.args);this.args=[]}};WebTrends.prototype.dcsSplit=function(d){var b=d.toLowerCase().split(",");var c=b.length;for(var a=0;a<c;a++){b[a]=b[a].replace(/^\s*/,"").replace(/\s*$/,"")}return b};WebTrends.prototype.dcsDownload=function(b){b=b||(window.event||"");if(b&&((typeof(b.which)!="number")||(b.which==1))){var a=this.dcsEvt(b,"A");if(a.href){var c=a.hostname?(a.hostname.split(":")[0]):"";if(this.dcsIsOnsite(c)&&this.dcsTypeMatch(a.pathname,this.downloadtypes)){var g=a.search?a.search.substring(a.search.indexOf("?")+1,a.search.length):"";var f=a.pathname?((a.pathname.indexOf("/")!=0)?"/"+a.pathname:a.pathname):"/";var i="";var h=document.all?a.innerText:a.text;var d=this.dcsEvt(b,"IMG");if(d.alt){i=d.alt}else{if(h){i=h}else{if(a.innerHTML){i=a.innerHTML}}}this.dcsMultiTrack("DCS.dcssip",c,"DCS.dcsuri",f,"DCS.dcsqry",a.search||"","WT.ti","Download:"+i,"WT.dl","20","WT.nv",this.dcsNavigation(b))}}}};WebTrends.prototype.dcsMailTo=function(b){b=b||(window.event||"");if(b&&((typeof(b.which)!="number")||(b.which==1))){var a=this.dcsEvt(b,"A");if(a.href&&a.protocol){var c=a.search?a.search.substring(a.search.indexOf("?")+1,a.search.length):"";if(a.protocol.toLowerCase()=="mailto:"){this.dcsMultiTrack("DCS.dcssip",window.location.hostname,"DCS.dcsuri",a.href,"WT.ti","MailTo:"+a.innerHTML,"WT.dl","23","WT.nv",this.dcsNavigation(b))}}}};WebTrends.prototype.dcsFormButton=function(b){b=b||(window.event||"");if(b&&((typeof(b.which)!="number")||(b.which==1))){var f=["INPUT","BUTTON"];for(var d=0;d<f.length;d++){var a=this.dcsEvt(b,f[d]);var h=a.type||"";if(h&&((h=="submit")||(h=="image")||(h=="button")||(h=="reset"))||((h=="text")&&((b.which||b.keyCode)==13))){var i="";var g="";var c=0;if(a.form){i=a.form.action||window.location.pathname;g=a.form.id||a.form.name||a.form.className||"Unknown";c=(a.form.method&&(a.form.method.toLowerCase()=="post"))?"27":"26"}else{i=window.location.pathname;g=a.name||a.id||"Unknown";c=(f[d].toLowerCase()=="input")?"28":"29"}if(i&&g&&(b.keyCode!=9)){this.dcsMultiTrack("DCS.dcsuri",i,"WT.ti","FormButton:"+g,"WT.dl",c,"WT.nv",this.dcsNavigation(b))}break}}}};WebTrends.prototype.dcsAnchor=function(b){b=b||(window.event||"");if(b&&((typeof(b.which)!="number")||(b.which==1))){var a=this.dcsEvt(b,"A");if(a.href){var c=a.hostname?(a.hostname.split(":")[0]):"";if(this.dcsIsOnsite(c)&&a.hash&&(a.hash!="")&&(a.hash!="#")){var f=a.search?a.search.substring(a.search.indexOf("?")+1,a.search.length):"";var d=a.pathname?((a.pathname.indexOf("/")!=0)?"/"+a.pathname:a.pathname):"/";this.dcsMultiTrack("DCS.dcssip",c,"DCS.dcsuri",d+a.hash,"WT.ti","Anchor:"+a.hash,"WT.dl","21","WT.nv",this.dcsNavigation(b))}}}};WebTrends.prototype.dcsImageMap=function(b){b=b||(window.event||"");if(b){var a=this.dcsEvt(b,"AREA");if(a.href){var c=a.hostname?(a.hostname.split(":")[0]):"";if((c!="")&&a.protocol&&(a.protocol.indexOf("http")!=-1)){var g="";var d=this.dcsEvt(b,"MAP");if(d){if(d.name){g=d.name}else{if(d.id){g=d.id}}}var f=a.pathname?((a.pathname.indexOf("/")!=0)?"/"+a.pathname:a.pathname):"/";this.dcsMultiTrack("DCS.dcssip",c,"DCS.dcsuri",f,"DCS.dcsqry",a.search||"","WT.ti","ImageMap:"+g,"WT.dl","30","WT.nv",this.dcsNavigation(b))}}}};WebTrends.prototype.dcsAdv=function(){if(this.trackevents&&(typeof(this.dcsET)=="function")){if(window.addEventListener){window.addEventListener("load",this.dcsET.wtbind(this),false)}else{if(window.attachEvent){window.attachEvent("onload",this.dcsET.wtbind(this))}}}this.dcsFPC();this.dcsTP()};WebTrends.prototype.dcsVar=function(){var c=new Date();var j=this.WT;var a=this.DCS;j.tz=parseInt(c.getTimezoneOffset()/60*-1)||"0";j.bh=c.getHours()||"0";j.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;if(typeof(screen)=="object"){j.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;j.sr=screen.width+"x"+screen.height}if(typeof(navigator.javaEnabled())=="boolean"){j.jo=navigator.javaEnabled()?"Yes":"No"}if(document.title){if(window.RegExp){var h=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s");j.ti=document.title.replace(h,"")}else{j.ti=document.title}}j.js="Yes";j.jv=(function(){var e=navigator.userAgent.toLowerCase();var u=parseInt(navigator.appVersion);var t=(e.indexOf("mac")!=-1);var i=(e.indexOf("firefox")!=-1);var k=(e.indexOf("firefox/0.")!=-1);var l=(e.indexOf("firefox/1.0")!=-1);var m=(e.indexOf("firefox/1.5")!=-1);var n=(e.indexOf("firefox/2.0")!=-1);var o=(i&&!k&&!l&!m&!n);var v=(!i&&(e.indexOf("mozilla")!=-1)&&(e.indexOf("compatible")==-1));var w=(v&&(u==4));var x=(v&&(u>=5));var p=((e.indexOf("msie")!=-1)&&(e.indexOf("opera")==-1));var q=(p&&(u==4)&&(e.indexOf("msie 4")!=-1));var r=(p&&!q);var y=(e.indexOf("opera")!=-1);var z=(e.indexOf("opera 5")!=-1||e.indexOf("opera/5")!=-1);var A=(e.indexOf("opera 6")!=-1||e.indexOf("opera/6")!=-1);var B=(y&&!z&&!A);var s="1.1";if(o){s="1.8"}else{if(n){s="1.7"}else{if(m){s="1.6"}else{if(k||l||x||B){s="1.5"}else{if((t&&r)||A){s="1.4"}else{if(r||w||z){s="1.3"}else{if(q){s="1.2"}}}}}}}return s})();j.ct="unknown";if(document.body&&document.body.addBehavior){try{document.body.addBehavior("#default#clientCaps");j.ct=document.body.connectionType||"unknown";document.body.addBehavior("#default#homePage");j.hp=document.body.isHomePage(location.href)?"1":"0"}catch(d){}}if(document.all){j.bs=document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown"}else{j.bs=window.innerWidth+"x"+window.innerHeight}j.fv=(function(){var m,l;if(window.ActiveXObject){for(m=15;m>0;m--){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+m);return m+".0"}catch(k){}}}else{if(navigator.plugins&&navigator.plugins.length){for(m=0;m<navigator.plugins.length;m++){if(navigator.plugins[m].name.indexOf("Shockwave Flash")!=-1){return navigator.plugins[m].description.split(" ")[2]}}}}return"Not enabled"})();j.slv=(function(){var r="Not enabled";try{if(navigator.userAgent.indexOf("MSIE")!=-1){var q=new ActiveXObject("AgControl.AgControl");if(q){r="Unknown"}}else{if(navigator.plugins["Silverlight Plug-In"]){r="Unknown"}}}catch(k){}if(r!="Not enabled"){var n,o,p,l;if((typeof(Silverlight)=="object")&&(typeof(Silverlight.isInstalled)=="function")){for(n=9;n>0;n--){p=n;if(Silverlight.isInstalled(p+".0")){break}if(r==p){break}}for(o=9;o>=0;o--){l=p+"."+o;if(Silverlight.isInstalled(l)){r=l;break}if(r==l){break}}}}return r})();if(this.i18n){if(typeof(document.defaultCharset)=="string"){j.le=document.defaultCharset}else{if(typeof(document.characterSet)=="string"){j.le=document.characterSet}else{j.le="unknown"}}}j.tv="9.3.0";j.sp=this.splitvalue;j.dl="0";j.ssl=(window.location.protocol.indexOf("https:")==0)?"1":"0";a.dcsdat=c.getTime();a.dcssip=window.location.hostname;a.dcsuri=window.location.pathname;j.es=a.dcssip+a.dcsuri;if(window.location.search){a.dcsqry=window.location.search}if(a.dcsqry){var b=a.dcsqry.toLowerCase();var g=this.paidsearchparams.length?this.paidsearchparams.toLowerCase().split(","):[];for(var f=0;f<g.length;f++){if(b.indexOf(g[f]+"=")!=-1){j.srch="1";break}}}if((window.document.referrer!="")&&(window.document.referrer!="-")){if(!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){a.dcsref=window.document.referrer}}};WebTrends.prototype.dcsEscape=function(c,b){if(b!=""){c=c.toString();for(var a in b){if(b[a]instanceof RegExp){c=c.replace(b[a],a)}}return c}else{return escape(c)}};WebTrends.prototype.dcsA=function(c,h){if(this.i18n&&(this.exre!="")&&!this.exre.test(c)){if(c=="dcsqry"){var d="";var f=h.substring(1).split("&");for(var a=0;a<f.length;a++){var e=f[a];var g=e.indexOf("=");if(g!=-1){var b=e.substring(0,g);var j=e.substring(g+1);if(a!=0){d+="&"}d+=b+"="+this.dcsEncode(j)}}h=h.substring(0,1)+d}else{h=this.dcsEncode(h)}}return"&"+c+"="+this.dcsEscape(h,this.re)};WebTrends.prototype.dcsEncode=function(a){return(typeof(encodeURIComponent)=="function")?encodeURIComponent(a):escape(a)};WebTrends.prototype.dcsCreateImage=function(a){if(document.images){this.images[this.index]=new Image();this.images[this.index].src=a;this.index++}else{document.write('<img alt="" border="0" name="DCSIMG" width="1" height="1" src="'+a+'">')}};WebTrends.prototype.dcsMeta=function(){var b;if(document.documentElement){b=document.getElementsByTagName("meta")}else{if(document.all){b=document.all.tags("meta")}}if(typeof(b)!="undefined"){var e=b.length;for(var d=0;d<e;d++){var f=b.item(d).name;var a=b.item(d).content;var c=b.item(d).httpEquiv;if(f.length>0){if(f.toUpperCase().indexOf("WT.")==0){this.WT[f.substring(3)]=a}else{if(f.toUpperCase().indexOf("DCSEXT.")==0){this.DCSext[f.substring(7)]=a}else{if(f.toUpperCase().indexOf("DCS.")==0){this.DCS[f.substring(4)]=a}}}}}}};WebTrends.prototype.dcsTag=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return}var f=this.WT;var a=this.DCS;var b=this.DCSext;var c=this.i18n;var e="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+(this.dcsid==""?"":"/"+this.dcsid)+"/dcs.gif?";if(c){f.dep=""}for(var d in a){if(a[d]&&(typeof a[d]!="function")){e+=this.dcsA(d,a[d])}}for(d in f){if(f[d]&&(typeof f[d]!="function")){e+=this.dcsA("WT."+d,f[d])}}for(d in b){if(b[d]&&(typeof b[d]!="function")){if(c){f.dep=(f.dep.length==0)?d:(f.dep+";"+d)}e+=this.dcsA(d,b[d])}}if(c&&(f.dep.length>0)){e+=this.dcsA("WT.dep",f.dep)}if(e.length>2048&&navigator.userAgent.indexOf("MSIE")>=0){e=e.substring(0,2040)+"&WT.tu=1"}this.dcsCreateImage(e);this.WT.ad=""};WebTrends.prototype.dcsDebug=function(){var e=this;var a=e.images[0].src;var c=a.indexOf("?");var d=a.substring(0,c).split("/");var b="<b>Protocol</b><br><code>"+d[0]+"<br></code>";b+="<b>Domain</b><br><code>"+d[2]+"<br></code>";b+="<b>Path</b><br><code>/"+d[3]+"/"+d[4]+"<br></code>";b+="<b>Query Params</b><code>"+a.substring(c+1).replace(/\&/g,"<br>")+"</code>";b+="<br><b>Cookies</b><br><code>"+document.cookie.replace(/\;/g,"<br>")+"</code>";if(e.w&&!e.w.closed){e.w.close()}e.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes");e.w.document.write(b);e.w.focus()};WebTrends.prototype.dcsCollect=function(){if(this.enabled){this.dcsVar();this.dcsMeta();this.dcsAdv();if(typeof(this.dcsCustom)=="function"){this.dcsCustom()}this.dcsTag()}};function dcsMultiTrack(){if(typeof(_tag)!="undefined"){return(_tag.dcsMultiTrack())}}function dcsDebug(){if(typeof(_tag)!="undefined"){return(_tag.dcsDebug())}}Function.prototype.wtbind=function(b){var a=this;var c=function(){return a.apply(b,arguments)};return c};