(function(e,t){var a=604,n=604,s=8e3,r="//an.yandex.ru/",i=r+"resource/",c=e.Ya=e.Ya||{};e.yandex_ad_is_displayed=!1;var o,d=function(){e.name||(e.name='{"yandex_timeout":'+new Date+"}")},y=function(){var t=(e.name+"").match(/"yandex_timeout":(\d+)/);return t?t[1]+1>new Date-9e5:undefined};if(c.jsVer||(c.isTestVersion=!1,c.jsVer=c.isTestVersion?a:n),o=i+"context_static_r"+c.jsVer+".js",e.yandex_context_callbacks||e.yandexContextAsyncCallbacks){var l=t.createElement("script"),m=t.getElementsByTagName("script")[0];l.type="text/javascript",l.src=o,m.parentNode.insertBefore(l,m)}else setTimeout(function(){var a=t.getElementsByTagName("script"),n=a?a[a.length-1]:null;!n||e.Ya&&e.Ya.Context||"yes"!=n.getAttribute("yandex_load_check")||(n.parentNode.removeChild(n),d())},s),y()||t.write('<script type="text/javascript" src="'+o+'" yandex_load_check="yes"></sc'+"ript>")})(this,this.document);