d = document;dc = d.cookie; nrid = null; if(dc && (dc.length > 0)) { var ca = dc.split(';'); for(var i=0;i < ca.length;i++) { x=ca[i].indexOf('='); k = ca[i].substring(0, x); v =ca[i].substring(x+1); if(k == ' nrid' || k == 'nrid') { nrid = v; } } } if(nrid === null) { nrid =Math.floor(Math.random(1218969577)*1000000000000); var date = new Date(); date.setTime(date.getTime()+(999*24*60*60*1000)); var expires = '; expires='+date.toGMTString(); document.cookie = 'nrid='+nrid+expires+'; path=/'; } d=document; i=new Image(1,1); i.src="http"+(d.URL.indexOf('https:')==0?'s://':'://')+'nr7.us'+'/c.php?u='+escape(d.location)+'&r='+escape(d.referrer)+'&c=53&v=26871340&nrid='+nrid; ot_d=document; ot_b="http"+(ot_d.URL.indexOf('https:')==0?'s://':'://')+'capture.net-results.com'; if(typeof(top.document)=="object") ot_r=top.document;else ot_r=ot_d; ot_c=ot_r; mj=parseInt(navigator.appVersion); if(mj>=5) { if(ot_d.referrer.indexOf(ot_r.location.hostname)==-1)ot_r=ot_d;}else{ot_r=document; } rc=f_rc("machine-id");lc=escape(ot_d.location);t0=1139622856124; ot_im=new Image(1,1); ot_im.src=ot_b+'/collect.php?request_uri='+lc +'&remote_host=72.167.255.233' +'&referrer='+escape(ot_r.referrer) +'&virtual_host=www.encision.com' ; function f_sc(n,v,h,p,d,s) { fv=true; ot_c.cookie=n+'='+escape(v)+((h)?(';expires='+h):'')+((p)?';path='+p:'')+((d)?';domain='+d:'')+((s && (s==true))?'; secure':''); } function f_rc(n){ if(ot_c.cookie=='')return false;else{ var fc,lc;var tbc=ot_c.cookie;fc=tbc.indexOf(n);var NN2Hack=fc+n.length; if((fc != -1) && (tbc.charAt(NN2Hack)=='=')){ fc += n.length+1;lc=tbc.indexOf(';',fc); if(lc==-1)lc=tbc.length;return unescape(tbc.substring(fc,lc)); }else{return false;} } } function _j(ms){ n=new Date();et=n.getTime()+ms; while(true){n=new Date();if(n.getTime()>et)return;} } function ot_f(e) { pn1=e.target.parentNode; pn2=pn1.parentNode; ot_l=""; if(pn1.toString().indexOf("://")!=-1)ot_l=pn1.toString(); if(pn2.toString().indexOf("://")!=-1)ot_l=pn2.toString(); if(ot_l.indexOf(ot_d.domain) == -1) if(ot_l!=""){ ot_im=new Image(1,1); ot_im.src=ot_b+'/collect.php?p=3&mid='+rc+'&t0='+t0+'&ms='+escape(ot_l)+'&lc='+lc+'&si=www.test.com'; } } function _bye(){ if(navigator.userAgent.toLowerCase().indexOf('safari') != -1) return; ot_im=new Image(1,1); ot_im.src=ot_b+'/collect.php?p=2&mid='+rc+'&t0='+t0+'&ms=gone&lc='+lc+'&si=www.test.com'; _j(250); } if (ot_d.getElementById && ot_d.createElement){ if (window.addEventListener){ window.addEventListener("unload",_bye,true); self.addEventListener("click",ot_f,true); } }