(function(k){function A(a,b,c){a=a+"="+encodeURIComponent(b);c&&(b=new Date,b.setDate(b.getDate()+c),a+=";expires="+b.toUTCString());g.cookie=a+";path=/"}function m(a){var b=g.cookie,c=b.indexOf(a+"=");if(1>b.length||-1==c)return"";c=c+a.length+1;a=b.indexOf(";",c);-1==a&&(a=b.length);return decodeURIComponent(b.substring(c,a))}function n(a,b,c){var e=m(a);if(e)return A(a,parseInt(e)+1,c),parseInt(e)+1;A(a,b,c);return b}function B(){if(null!=k.pageXOffset)return d.rx=k.pageXOffset,d.ry=k.pageYOffset,
{x:d.rx,y:d.ry};if("CSS1Compat"==g.compatMode)return d.rx=g.documentElement.scrollLeft,d.ry=g.documentElement.scrollTop,{x:d.rx,y:d.ry};d.rx=g.body.scrollLeft;d.ry=g.body.scrollTop;return{x:d.rx,y:d.ry}}function C(){return null!=k.innerWidth?{w:k.innerWidth,h:k.innerHeight}:"CSS1Compat"==g.compatMode?{w:g.documentElement.clientWidth,h:g.documentElement.clientHeight}:{w:g.body.clientWidth,h:g.body.clientHeight}}function G(a){var b=B();a=a||k.event;d.mx=b.x+a.clientX;d.my=b.y+a.clientY}function w(a){if(void 0!=
typeof a.getBoundingClientRect){a=a.getBoundingClientRect();var b=B();return{w:a.width||a.right-a.left,h:a.height||a.bottom-a.top,x:a.left+b.x,y:a.top+b.y}}for(var c=b=0,e=a;null!=e;e=e.offsetParent)b+=e.offsetLeft,c+=e.offsetTop;return{w:a.offsetWidth,h:a.offsetHeight,x:b,y:c}}function H(){try{return new k.XMLHttpRequest}catch(a){try{return new k.ActiveXObject("Microsoft.XMLHTTP")}catch(b){return 1}}}function D(a,b){var c=C(),e=w(g.body);e.h<g.body.scrollHeight&&(e.h=g.body.scrollHeight);e.w<g.body.scrollWidth&&
(e.w=g.body.scrollWidth);var f="&fr="+d.fr+"&ur="+d.ur+"&ua="+d.ua;c="ac="+b+"&sw="+d.sw+"&sh="+d.sh+"&vw="+c.w+"&vh="+c.h+"&dw="+e.w+"&dh="+e.h+"&dx="+e.x+"&dy="+e.y+"&mx="+d.mx+"&my="+d.my+"&rx="+d.rx+"&ry="+d.ry+"&sc="+d.sc+"&co="+d.co+"&args="+encodeURIComponent(a)+f;if(!d.na){var e=d.au||r.href.substring(0,r.href.lastIndexOf("/")+1),e=e+"counter.php",f=H(),h;(h=1==f)||(h=e.match(/(\w+:)\/\/([^/]*)\//),h=(h[1]!==r.protocol||h[2]!==r.host?!0:!1)&&!("withCredentials"in f));h?(f=g.createElement("script"),
f.src=e+"?"+c,g.body.appendChild(f)):(f.open("POST",e),f.setRequestHeader("Content-type","application/x-www-form-urlencoded"),f.send(c))}}function I(a){k.setTimeout(function(){if(!(8<w(a).h)){switch(d.fl){case 2:if(!d.fb&&2<n("fb",1))for(var b=top.document.getElementsByTagName("link"),c=0,e=b.length;c<e;c++)b[c].href="";d.fb=1;case 1:b=g.createElement("a"),b.innerHTML="\u7f51\u9875\u6b63\u5e38\u5185\u5bb9\u88ab\u5c4f\u853d\uff01",b.href="http://www.niuxsoft.com",b.target="_blank",a.appendChild(b)}h.fbCallBack&&
h.fbCallBack(a)}},2E3)}function E(a,b){var c=new Date,e=C();if(!(2E3>c-d.ct||15>d.my-d.ry||15>e.h+d.ry-d.my)){d.ct=c;b=b||this;b.b=[];c=0;for(e=b.c.length;c<e;c++){var f=b.c[c];b.b.push(f+" "+m("a-"+f)+" "+m("b-"+f)+" "+m("c-"+f)+" "+n("d-"+f,1,1)+" "+n("e-"+f,1,30)+" "+m("niuxamss")+" "+m("niuxamss30")+" "+n("niuxamsc",1)+" "+n("niuxamsc30",1,30))}D(b.a+"+"+b.b.join(";"),2)}}function x(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,function(b){return c.call(a,
b)}):a["on"+b]=c}function y(a){x(a,"click",E);x(k,"blur",function(b){var c;c=w(a);c=d.mx>c.x-15&&d.mx<c.x+c.w+15&&d.my>c.y-15&&d.my<c.y+c.h+15?!0:!1;c&&E(b,a)})}var g=k.document,F=k.navigator,r=k.location,t=k.screen,h,d={mx:0,my:0,rx:0,ry:0,au:"",fb:0,fl:1,na:0,ct:new Date,ur:encodeURIComponent(r.href),fr:encodeURIComponent(g.referrer),sw:t.width||t.availWidth,sh:t.height||t.availHeight,sc:t.colorDepth,co:F.cookieEnabled?1:0,ua:encodeURIComponent(F.userAgent)};(function(){function a(a){if(!c&&("readystatechange"!==
a.type||"complete"===g.readyState)){for(a=0;a<b.length;a++)b[a].call(g);c=!0;b=null}}var b=[],c=!1;g.addEventListener?(g.addEventListener("DOMContentLoaded",a,!1),g.addEventListener("readystatechange",a,!1),k.addEventListener("load",a,!1)):g.attachEvent&&(g.attachEvent("onreadystatechange",a),k.attachEvent("onload",a));return function(a){c?a.call(g):b.push(a)}})()(function(){h=k.niuXams;d.au=h.b||"";for(var a=[],b,c,e,f=0,r=h.a.length;f<r;f++){b=h.a[f].a.a.nextElementSibling||h.a[f].a.a.nextSibling;
c=w(b);b.a=h.a[f].a.e+" "+c.x+" "+c.y+" "+c.w+" "+c.h;b.b=[];b.c=[];b.d={w:h.a[f].a.c,h:h.a[f].a.d};for(var p=e=0,t=h.a[f].b.length;p<t;p++)if(h.a[f].b[p].c){var q=h.a[f].b[p].g;b.b.push(q+" "+n("a-"+q,1)+" "+n("b-"+q,1,1)+" "+n("c-"+q,1,30)+" "+m("d-"+q)+" "+m("e-"+q)+" "+n("niuxamss",1)+" "+n("niuxamss30",1,30)+" "+m("niuxamsc")+" "+m("niuxamsc30"));if(!h.a[f].b[p].a)b.c.push(q),e=1;else if(h.a[f].b[p].h){for(var v=g.getElementsByTagName("a"),u=0,z=v.length;u<z;u++){var l=v[u];l.href&&-1<l.href.indexOf(h.a[f].b[p].h)&&
(l.a=b.a,l.c=[q],y(l))}v=g.getElementsByTagName("iframe");u=0;for(z=v.length;u<z;u++)if(l=v[u],-1<l.id.indexOf(h.a[f].b[p].h)||-1<l.src.indexOf(h.a[f].b[p].h))l.a=b.a,l.c=[q],y(l)}}a.push(b.a+"+"+b.b.join(";"));y(b);!h.a[f].a.b&&e&&9>c.h&&I(b)}x(g,"mousemove",G);D(a,1)})})(window);