(function(){var k="stat.sputnik.ru",c;function d(m,l,n){if(m.addEventListener){m.addEventListener(l,n,false)}else{if(m.attachEvent){m.attachEvent("on"+l,n)}}}function f(){var m=new Date().getTime(),l="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var n=(m+Math.random()*16)%16|0;m=Math.floor(m/16);return(o==="x"?n:(n&3|8)).toString(16)});return l}function b(){var o="",m=window,q=navigator,l;o+=m.HTMLCanvasElement?"1":"0";o+=(q&&q.geolocation)?"1":"0";l=false;try{l=m.localStorage}catch(p){}o+=l?"1":"0";o+=m.HTMLVideoElement?"1":"0";o+=m.HTMLAudioElement?"1":"0";o+=m.performance?"1":"0";return o}function e(){var p={},l=window,q=document,s=navigator,m,o;p.location=l.location.href;p.title=q.title;p.timezone=(new Date()).getTimezoneOffset();p.java=s.javaEnabled();p.html5=b();if(parent!==l){try{p.referrer=parent.document.referrer||""}catch(r){}}if(p.referrer||p.referrer===""){p.frameReferrer=q.referrer||""}else{p.referrer=q.referrer||""}if(q.cookie){p.cookie=true}else{q.cookie="sp_test=1; path=/";p.cookie=!!q.cookie}if(screen.width&&screen.height){p.screen=screen.width+"x"+screen.height}if(screen.colorDepth){p.colorDepth=screen.colorDepth}else{if(screen.pixelDepth){p.colorDepth=screen.pixelDepth}}if(s.plugins&&s.plugins["Shockwave Flash"]){p.flash=s.plugins["Shockwave Flash"].description.split(" ")[2]}else{if(l.ActiveXObject){for(m=19;m>=2;m-=1){try{o=new l.ActiveXObject("ShockwaveFlash.ShockwaveFlash."+m);if(o){p.flash=m+".0";break}}catch(r){}}}}return p}function j(){var n={},m=window.performance.timing,p=m.navigationStart,o,l;o={ues:m.unloadEventStart,uee:m.unloadEventEnd,rds:m.redirectStart,rde:m.redirectEnd,fs:m.fetchStart,dls:m.domainLookupStart,dle:m.domainLookupEnd,cs:m.connectStart,ce:m.connectEnd,rqs:m.requestStart,rss:m.responseStart,rse:m.responseEnd,dl:m.domLoading,di:m.domInteractive,dcs:m.domContentLoadedEventStart,dce:m.domContentLoadedEventEnd,dc:m.domComplete,les:m.loadEventStart,lee:m.loadEventEnd};for(l in o){if(o.hasOwnProperty(l)){if(o[l]>0){o[l]-=p}else{delete o[l]}}}n.performance=o;n.location=window.location.href;return n}function g(o){var l=new Image(),n,m;n=(document.location.protocol==="https:"?"https:":"http:")+"//"+k+"/cnt?";for(m in o){if(o.hasOwnProperty(m)){n+=m+"="+encodeURIComponent(o[m])+"&"}}if(window._sputnikCounter&&window._sputnikCounter.brand){n+="brand="+encodeURIComponent(window._sputnikCounter.brand)+"&"}n+="rn="+Math.random();l.src=n;l.onload=function(){return}}function i(l){var m={pg:l.location,r:l.referrer,title:l.title,t:l.timezone,wh:l.screen,px:l.colorDepth,h5:l.html5};if(l.frameReferrer){m.r1=l.frameReferrer}if(l.cookie){m.c=1}if(l.java){m.j="Y"}if(l.flash){m.fl=l.flash}g(m)}function a(m){var n={p:7,pg:m.location},o=m.performance,l;for(l in o){if(o.hasOwnProperty(l)){n["p"+l]=o[l]}}g(n)}function h(l){var m={p:8,pg:l.location,pvid:l.pageview};g(m)}c=e();i(c);if(window.performance&&window.performance.timing){d(window,"load",function(){setTimeout(function(){var l=j();a(l)},0)})}(function(){var o=f(),n=["keyup","mousedown","mousemove","scroll"],q,m;function l(){h({location:c.location,pageview:o});q=undefined}function p(){if(q===undefined){q=window.setTimeout(l,500)}}for(m=0;m<n.length;m+=1){d(document,n[m],p)}}())}());