(function(d,c,ja){function O(a,b){return function(){try{return a.apply(this,arguments)}catch(p){var c=["cp: "+b,p.name+": "+p.message,"debug: "+Ha,"code: "+Va,"stack: "+p.stack],d=new Image,h="//an.yandex.ru/jserr/"+counterId+"?",f,c={"cnt-class":100+counterType,errmsg:c.join("; ").replace(/\r?\n/g,"\\n")},q=[];for(f in c)c.hasOwnProperty(f)&&(q[q.length]=f+"="+encodeURIComponent(c[f]).replace(/\+/g,"%2B"));f=q.join("&");d.src=h+f}}}function R(a,b,p){return d.setTimeout(O(a,p||"setTimeout"),b)}function Q(a){for(var b= 1,p=a.length;b"+a.innerHTML+""}b&&(h="\n");return h+g}function Wa(a){for(var b=a.length,c=0,d=255,g=255;b;){var h=21>8,f=f&255,f=f^q;d+=f;g+=d}while(--h);d=(d&255)+(d>>8);g=(g&255)+(g>>8)}a=(d&255)+(d>>8)<<8|(g&255)+(g>>8);return 65535==a?0:a}function gb(a){for(var b=+new Date,c=1;0d)break;if(d-b>a)break}}function Ja(a){return-1!==(""+d.navigator.userAgent).toLowerCase().search(a)}function ka(a,b,p,d){/[^a-z0-9.-]/.test(d)&&(d=null);a=a+"="+encodeURIComponent(b);p&&(b=new Date,b.setTime(b.getTime()+6E4*p),a+=";expires="+b.toGMTString());d&&(a+=";domain="+ d);c.cookie=a+";path=/"}function la(a){return c.cookie.match(RegExp("(?:^|;\\s*)"+a+"=([^;]*)"))?decodeURIComponent(RegExp.$1):null}function hb(){ka("_metrika_enabled","1",60);var a=!!la("_metrika_enabled");ka("_metrika_enabled","",-1,void 0);return a}function ma(){var a=c.documentElement;return"CSS1Compat"==c.compatMode?a:c.body||a}function Xa(){var a=ma();return[a.clientWidth,a.clientHeight]}function yb(){var a=ma(),b=Xa();return[Math.max(a.scrollWidth,b[0]),Math.max(a.scrollHeight,b[1])]}function zb(){return[d.pageXOffset|| c.documentElement&&c.documentElement.scrollLeft||c.body&&c.body.scrollLeft||0,d.pageYOffset||c.documentElement&&c.documentElement.scrollTop||c.body&&c.body.scrollTop||0]}function Ab(a){if(!a.ownerDocument||"PARAM"==a.tagName||a==c.body||a==c.documentElement)return[0,0];if(a.getBoundingClientRect)return a=a.getBoundingClientRect(),[Math.round(a.left+U[0]),Math.round(a.top+U[1])];for(var b=0,p=0;a;)b+=a.offsetLeft,p+=a.offsetTop,a=a.offsetParent;return[b,p]}function Z(a,b){return a==c.documentElement? null:b?a.tagName.toLowerCase()===b?a:Z(a.parentNode,b):a==c.body?c.documentElement:a.parentNode}function Bb(a,b){var c=[];if(a)for(var d=a.childNodes,g=0,h=d.length;ga.selectedIndex:!0}function W(a,b,c,d){V[V.length]=[c,c];a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)}function La(a,b,c,d){for(var g=0;g';var b=a.firstChild;R(function(){function a(b,c,d,p,g){try{d.postMessage&&(b.onmessage=function(a){a=a||b.event;try{var d=JSON.parse(a.data)}catch(x){return}if(/(^|\.)yandex\.(ru|com|ua|kz|by|com\.tr)(:\d{4})?$/.test(a.origin)&&d&&"script"==d.name&& d.data){a=p.getElementsByTagName("head")[0];var h=p.createElement("base");h.href=d.data;a.appendChild(h);h=p.createElement("script");h.src=d.data;a.appendChild(h);-1