// DO NOT EDIT! See ntpagetag.pre-yui-compress.readme 
var NTPT_IMGSRC="http://pt200251.unica.com/ntpagetag.gif";var NTPT_FLDS={};NTPT_FLDS.lc=true;NTPT_FLDS.rf=true;NTPT_FLDS.rs=true;NTPT_FLDS.cd=true;NTPT_FLDS.ln=true;NTPT_FLDS.tz=true;NTPT_FLDS.jv=true;NTPT_FLDS.ck=true;NTPT_FLDS.iv=true;var NTPT_MAXTAGWAIT=1;var NTPT_HTTPSIMGSRC="https://pt200251.unica.com/ntpagetag.gif";var NTPT_GLBLREFTOP=false;var NTPT_SET_IDCOOKIE=true;var NTPT_IDCOOKIE_NAME="UnicaNIODID";var NTPT_SET_SESSION_COOKIE=true;var NTPT_SESSION_COOKIE_NAME="NISess";var CURRENT_HOSTNAME=location.hostname;var VITERRA_HOSTNAME="viterra.com";if(CURRENT_HOSTNAME.match(VITERRA_HOSTNAME+"$")!=VITERRA_HOSTNAME){VITERRA_HOSTNAME="staging."+VITERRA_HOSTNAME}var NTPT_GLBLEXTRA="site="+VITERRA_HOSTNAME;var NTPT_IDCOOKIE_DOMAIN=".viterra.com";var NTPT_GLBLCOOKIES=["NISess"];var host=document.location.host.toString().toLowerCase();var ext=["mailto:",".pdf",".doc",".xls",".ppt",".mp3",".csv",".zip",".wav",".mov",".docx",".xlsx",".pptx"];(function(){var n=document,a=window;function j(h){return((typeof(h)==="string")&&(h!==""))}function o(h){return(encodeURIComponent?encodeURIComponent(h):escape(h))}function k(h){return(decodeURIComponent?decodeURIComponent(h):unescape(h))}function e(h,s,r,m){var q="",l;q=h+"="+o(s)+";";if(m){q+=" domain="+m+";"}if(r>0){l=new Date();l.setTime(l.getTime()+(r*1000));q+=" expires="+l.toGMTString()+";"}q+=" path=/";n.cookie=q}function f(l){var h,r,m,q;h=l+"=";q=n.cookie;if(q.length>0){m=q.indexOf(h);if(m!==-1){m+=h.length;r=q.indexOf(";",m);if(r===-1){r=q.length}return k(q.substring(m,r))}}return null}function c(m){var h="",l;for(l in m){if(j(m[l])){if(h!==""){h+=";"}h+=l+"="+m[l]}}return h}function p(l){var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";if(l<62){return h.charAt(l)}return(p(Math.floor(l/62))+h.charAt(l%62))}function d(){var h="",m=new Date(),l;for(l=0;l<11;l+=1){h+=p(Math.round(Math.random()*61))}return(h+"-"+p(m.getTime()))}function b(l,h){return(l+(((l==="")||((h==="")||(h.substring(0,1)==="&")))?"":"&")+h)}function g(){var h=new Date();return(h.getTime()+"."+Math.floor(Math.random()*1000))}function i(l,h){return(typeof(a[l])!=="undefined")?a[l]:h}(function(){var ai=i("NTPT_GLBLCOOKIES",null),af=i("NTPT_PGCOOKIES",null),F=i("NTPT_SET_IDCOOKIE",false),l=i("NTPT_IDCOOKIE_NAME","SaneID"),ad=i("NTPT_IDCOOKIE_DOMAIN",null),ae=i("NTPT_IDCOOKIE_EXPIRE",155520000),L=i("NTPT_SET_SESSION_COOKIE",false),h=i("NTPT_SESSION_COOKIE_NAME","NetInsightSessionID"),X=i("NTPT_SESSION_COOKIE_DOMAIN",null),t=i("NTPT_HTTPSIMGSRC",""),K=i("NTPT_PGREFTOP",i("NTPT_GLBLREFTOP",false)),s=i("NTPT_NOINITIALTAG",false),E=i("NTPT_MAXTAGWAIT",1),H=NTPT_IMGSRC,ak=NTPT_FLDS,aa=null,B=null,u=null,am=null,D=[],w={},Q=new Array(10),ab;for(ab=0;ab<Q.length;ab+=1){Q[ab]=null}function V(q,v){if(typeof(v)!=="undefined"){D[q]=v.toString()}}function aj(q){D[q]=""}function P(q){var A,z,v;if(j(q)){A=q.split("&");for(v=0;v<A.length;v+=1){z=A[v].split("=");if(z.length===2){V(z[0],k(z[1]))}}}}function m(v){var z="",q;P(i("NTPT_GLBLEXTRA",""));if(!u){P(i("NTPT_PGEXTRA",""))}P(v);for(q in D){if(j(D[q])){z=b(z,q+"="+o(D[q]))}}return z}function W(){var q;w.A=[];for(q in D){if(j(D[q])){w.A[q]=D[q]}}}function ah(){var q;D=[];for(q in w.A){if(j(w.A[q])){D[q]=w.A[q]}}}function al(z,v,q){if(Q[z]!==null){Q[z].onload=v;Q[z].onerror=v;Q[z].onabort=v}return setTimeout(v,(q*1000))}function C(v,q){if(!j(v)){return}ab=((ab+1)%Q.length);if(Q[ab]===null){Q[ab]=new Image(1,1)}Q[ab].src=v+"?"+q}function G(v){var z,q;if((t!=="")&&(n.location.protocol==="https:")){z=t}else{z=H}q=m(v);C(z,q);ah()}function y(q){V("ets",g());G(q);return true}function J(q){if(aa){clearTimeout(aa);aa=null}if(u){var v=u;u=null;if(q){v.click();v.onclick=v.UK}else{a.location.href=v.href}}}function r(z,A,q){var M,v;if(!z||!z.href){return true}if(u){return false}u=z;if(ak.lc){V("lc",z.href)}if(ak.rf){if(!K||!top||!top.document){V("rf",n.location)}}y(A);if(q){M=q}else{M=E}if(M>0){if(u.click){u.UK=u.onclick;u.onclick=null;v=true}else{v=false}aa=al(ab,function(){J(v)},M);return false}u=null;return true}function ac(){if(B){clearTimeout(B);B=null}if(am){var q=am;am=null;q.submit();q.onsubmit=q.TJ}}function O(z,v,q){var A;if(!z||!z.submit){return true}if(am){return false}am=z;y(v);if(q){A=q}else{A=E}if(A>0){z.TJ=z.onsubmit;z.onsubmit=null;B=al(ab,function(){ac()},A);return false}am=null;return true}function I(){var q;if(K&&top&&top.document){q=top.document.referrer}else{q=n.referrer}V("rf",q)}function x(){var q;if(navigator.language){q=navigator.language}else{if(navigator.userLanguage){q=navigator.userLanguage}else{q=""}}if(q.length>2){q=q.substring(0,2)}q=q.toLowerCase();V("ln",q)}function U(){var A,z=new Date(),v=z.getTimezoneOffset(),q;A="GMT";if(v!==0){if(v>0){A+=" -"}else{A+=" +"}v=Math.abs(v);q=Math.floor(v/60);v-=q*60;if(q<10){A+="0"}A+=q+":";if(v<10){A+="0"}A+=v}V("tz",A)}function T(){var S=[],N=false,M="ck",q,A,v,z;V("js","1");V("ts",g());if(ak.lc){V("lc",n.location)}if(ak.rf){I()}if(self.screen){if(ak.rs){V("rs",self.screen.width+"x"+self.screen.height)}if(ak.cd){V("cd",self.screen.colorDepth)}}if(ak.ln){x()}if(ak.tz){U()}if(ak.jv){V("jv",navigator.javaEnabled()?"1":"0")}if(L&&!f(h)){e(h,1,0,X);if(ak.iv&&f(h)){V("iv","1")}}if(ak.ck){if(ai){for(q=0;q<ai.length;q+=1){S[ai[q]]=""}}if(af){for(q=0;q<af.length;q+=1){S[af[q]]=""}}for(z in S){if(typeof(S[z])==="string"){A=f(z);if(A){S[z]=A}}}if(F){A=f(l);if(A){S[l]=A;N=true}}v=c(S);if(v!==""){V(M,v)}}W();if(!s){G("")}aj("iv");W();if(F&&!N){A=f(l);if(!A){A=d();e(l,A,ae,ad);if(ak.ck&&f(l)){S[l]=A;v=c(S);if(v!==""){V(M,v);W()}}}}}function ag(z,M){var A,v,q,N;A=n.location.search.substring(1);N=z+"="+M;v=A.split("&");for(q=0;q<v.length;q+=1){if(v[q]===N){return true}}return false}function Z(){var A=i("NTPT_EM_COOKIE_PREFIX","NetInsightEM"),z=A+"Session",q=A,S=i("NTPT_EM_COOKIE_TIMEOUT",1800),N="emsgpcat",M="1",v="1";if(f(z)||f(q)||ag(N,M)){e(z,v,0,ad);e(q,v,S,ad);V(N,M);return true}return false}function R(){if(ak.gsme){return Z()}return true}if(R()){a.ntptAddPair=function(v,q){return V(v,q)};a.ntptDropPair=function(q){return aj(q)};a.ntptEventTag=function(q){return y(q)};a.ntptLinkTag=function(z,v,q){return r(z,v,q)};a.ntptSubmitTag=function(z,v,q){return O(z,v,q)};T()}else{a.ntptAddPair=a.ntptDropPair=a.ntptEventTag=a.ntptLinkTag=a.ntptSubmitTag=function(){return true}}}())}());function autotag(){for(var b=0;b<document.links.length;b++){iLink=document.links[b];extExists=false;for(var a=0;a<ext.length;a++){if(iLink.href.toLowerCase().indexOf(ext[a])>-1){extExists=true}}if((iLink.href.toLowerCase().indexOf(host)==-1)&&!(extExists)){if(iLink.target=="_blank"||popUp(iLink)){if(iLink.onclick==""||iLink.onclick==null){iLink.onclick=function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location))}}else{if(window.attachEvent){iLink.tmpclick=iLink.onclick;iLink.onclick=function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location));return this.tmpclick()}}else{EV(iLink,"click",function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location))
})}}}else{if(iLink.onclick==""||iLink.onclick==null){iLink.onclick=function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location));nipause(500)}}else{if(window.attachEvent){iLink.tmpclick=iLink.onclick;iLink.onclick=function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location));return this.tmpclick();nipause(500)}}else{EV(iLink,"click",function(){ntptEventTag("lk=1&lc="+encodeURIComponent(this.href)+"&rf="+encodeURIComponent(document.location));nipause(500)})}}}}else{if(extExists){if(iLink.target=="_blank"||popUp(iLink)){if(iLink.onclick==""||iLink.onclick==null){if(iLink.href.toLowerCase().indexOf(ext[0])>-1){iLink.onclick=function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href))}}else{iLink.onclick=function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href))}}}else{if(window.attachEvent){iLink.tmpclick=iLink.onclick;if(iLink.href.toLowerCase().indexOf(ext[0])>-1){iLink.onclick=function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href));return this.tmpclick()}}else{iLink.onclick=function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href));return this.tmpclick()}}}else{if(iLink.href.toLowerCase().indexOf(ext[0])>-1){EV(iLink,"click",function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href))})}else{EV(iLink,"click",function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href))})}}}}else{if(iLink.onclick==""||iLink.onclick==null){if(iLink.href.toLowerCase().indexOf(ext[0])>-1){iLink.onclick=function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href));nipause(500)}}else{iLink.onclick=function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href));nipause(500)}}}else{if(window.attachEvent){iLink.tmpclick=iLink.onclick;if(iLink.href.toLowerCase().indexOf(ext[0])>-1){iLink.onclick=function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href));return this.tmpclick();nipause(500)}}else{iLink.onclick=function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href));return this.tmpclick();nipause(500)}}}else{if(iLink.href.toLowerCase().indexOf(ext[0])>-1){EV(iLink,"click",function(){ntptEventTag("ev=email&evdetail="+encodeURIComponent(this.href));nipause(500)})}else{EV(iLink,"click",function(){ntptEventTag("ev=download&evdetail="+encodeURIComponent(this.href));nipause(500)})}}}}}}}}function popUp(a){if(a.onclick!=undefined){if(a.onclick.toString().toLowerCase().indexOf("window.open")>-1){return true}else{return false}}else{return false}}function EV(f,e,h,g){if(f.addEventListener){f.addEventListener(e,h,false)}else{if(f.attachEvent){f.attachEvent(((g==1)?"":"on")+e,h)}}}function nipause(c){var b=new Date();var a=null;do{a=new Date()}while(a-b<c)}function autotagforbillboard(){ntptEventTag("ev=billboardclick&evdetail="+encodeURIComponent(this.href));nipause(500)}EV(window,"load",autotag);
