!function(e){function o(e,o){for(var r=[],t=new RegExp("(^| )"+o+"( |$)"),n=e.getElementsByTagName("*"),l=0,i=n.length;l<i;l++)!/^#/.test(o)&&t.test(n[l].className)?r.push(n[l]):/^#/.test(o)&&t.test("#"+n[l].id)&&r.push(n[l]);return r}function t(e,t){return n(e)&&f.test(t)?e.getElementById(RegExp.$1)?[e.getElementById(RegExp.$1)]:[]:1!==e.nodeType&&9!==e.nodeType?[]:(!m.test(t)||/MSIE\s8\.\d+/gi.test(navigator.userAgent)||/MSIE\s7\.\d+/gi.test(navigator.userAgent)?g.test(t)?r=e.getElementsByTagName(t):/MSIE\s7\.\d+/gi.test(navigator.userAgent)?r=o(e,t.replace(/^\./,"")):r=e.querySelectorAll(t):r=e.getElementsByClassName(RegExp.$1),r)}function n(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function l(o,r,n){var l=document.getElementById(e.cont);if(void 0!==t(l,o)[0])for(var i=0,a=t(l,o).length;i<a;i++)void 0!==t(l,o)[i]&&(t(l,o)[i].style[r]=n)}function i(e,o,r){e.addEventListener?e.addEventListener(o,function(e){"function"==typeof r&&r(e)},!1):e.attachEvent("on"+o,function(e){"function"==typeof r&&r(e)})}function a(e){var o=document,r=window,n=o.getElementById(e.cont),a=t(n,".gsLinks")[0],d=t(n,".gsIContent")[0],c="";if(e.w&&(n.style.width=e.w+"px"),e.h&&(n.style.height=e.h+"px"),e.d){var u=o.createElement("div"),m="#fff";if(void 0!==e.d.city_id&&a){n.style.fontFamily=e.d.fontFace,n.style.height="auto",d.innerHTML=e.d.informer,e.d.borderRadio?(n.style.border="1px solid #"+e.d.borderColor,n.style.width=e.w-2+"px"):n.style.border="0px";var f=e.d.informerOneBGColor,g=e.d.informerTwoBGColor;if(void 0!==e.d.informerTransparentBGOne&&"1"===e.d.informerTransparentBGOne&&(f="transparent"),void 0!==e.d.informerTransparentBGTwo&&"1"===e.d.informerTransparentBGTwo&&(g="transparent"),e.d.current){var T=t(n,"#gs-moduleCurrentBlock")[0];T.innerHTML=e.d.current,l(".secondaryWrap","backgroundColor",f),l(".secondaryWrap","color",e.d.informerOneTextColor),l(".head","backgroundColor",g),l(".head","color",e.d.informerTwoTextColor),l(".gsAddInfo2","backgroundColor",g),l(".gsAddInfo2","color",e.d.informerTwoTextColor),c=t(n,"#gs-moduleCurrentBlock")[0],i(c,"click",s)}if(e.d.forecast){var y=t(n,"#gs-moduleForecastBlock")[0];y.innerHTML=e.d.forecast.tpl.table,l(".gsCityF","backgroundColor",g),l(".gsCityF","color",e.d.informerTwoTextColor),l("#colsDays","backgroundColor",f),l("#colsDays","color",e.d.informerOneTextColor),l("#colsData","backgroundColor",f),l("#colsData","color",e.d.informerOneTextColor),c=t(n,"#gs-moduleForecastBlock")[0],i(c,"click",s)}if(e.d.tourism){var C=t(n,"#gs-moduleTourismBlock")[0];C.innerHTML=e.d.tourism,l(".tr-1","backgroundColor",f),l(".tr-1","color",e.d.informerOneTextColor),l(".tr-2","backgroundColor",g),l(".tr-2","color",e.d.informerTwoTextColor),l(".link-a-1","color",e.d.informerOneTextColor),l(".link-a-2","color",e.d.informerTwoTextColor),void 0!==e.d.informerTourismTextColor&&l("#tHead","color",e.d.informerTourismTextColor);for(var v=0,p=t(n,".link-a-1").length;v<p;v++)void 0!==t(n,".link-a-1")[v]&&(c=t(n,".link-a-1")[v],i(c,"mouseenter",function(o){o.srcElement.style.color=e.d.moduleTourism.moduleTourismTextHoverColorOne}),c=t(n,".link-a-1")[v],i(c,"mouseleave",function(o){o.srcElement.style.color=e.d.informerOneTextColor}),c=t(n,".link-a-1")[v],i(c,"click",s)),void 0!==t(n,".link-a-2")[v]&&(c=t(n,".link-a-2")[v],i(c,"mouseenter",function(o){o.srcElement.style.color=e.d.moduleTourism.moduleTourismTextHoverColorTwo}),c=t(n,".link-a-2")[v],i(c,"mouseleave",function(o){o.srcElement.style.color=e.d.informerTwoTextColor}),c=t(n,".link-a-2")[v],i(c,"click",s))}"transparent"===f&&"transparent"===g&&(l("#tHead","backgroundColor","transparent"),m="transparent")}else n.style.textAlign="center",i(d,"click",function(e){s(e),r.open("","_blank").location.href="https://www.gismeteo.ru/"}),u.innerHTML=e.d.html,d.insertBefore(u.firstChild,a);l(".gsLinks","backgroundColor",m);var k=t(n,".leftCol > a > span")[0];if(void 0!==k){var h=k.innerText||null;null!==h&&(k.innerHTML='<b class="gis-blue">'+h.substr(0,3)+"</b><b>"+h.substr(3,h.length)+"</b>")}}}function d(e){function o(){r||(delete T[t],document.body.removeChild(n))}var r=!1,t="f"+String(Math.random()).slice(2);e+=~e.indexOf("?")?"&":"?",e+="callback=_registry"+t,T[t]=function(e){r=!0,delete T[t],document.body.removeChild(n)};var n=document.createElement("script");n.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,setTimeout(o,0))},n.onload=n.onerror=o,n.src=e,document.body.appendChild(n)}function s(o){d("https://www.gismeteo.ru/ajax/constructor/informer-setClick/?hash="+e.hash)}var c=[],u=(c.slice,/complete|loaded|interactive/),m=/^\.([\w-]+)$/,f=/^#([\w-]*)$/,g=/^[\w-]+$/;u.test(document.readyState)?a(e):document.addEventListener("DOMContentLoaded",function(){a(e)},!1);var T={}}({"hash":"34k0l3VmmwfYAw","cont":"gsInformerID-34k0l3VmmwfYAw","w":"125","h":"101","d":{"informer":"<a alt=\"\u041f\u043e\u0433\u043e\u0434\u0430 \u0432 \u0414\u0430\u0433\u043e\u043c\u044b\u0441\u0435\" title=\"\u041f\u043e\u0433\u043e\u0434\u0430 \u0432 \u0414\u0430\u0433\u043e\u043c\u044b\u0441\u0435\" target=\"_blank\" href=\"https:\/\/www.gismeteo.ru\/weather-dagomys-11422\/\" class=\"nolink\"><div id=\"gs-moduleCurrentBlock\"><\/div><\/a><div class=\"gsLinks\"><table><tr><td><div class=\"leftCol leftColCenter\"><a href=\"https:\/\/www.gismeteo.ru\/weather-dagomys-11422\/2-weeks\/\" target=\"_blank\"><img alt=\"Gismeteo\" src=\"https:\/\/ost1.gismeteo.ru\/assets\/flat-ui\/img\/logo-mini2.png\" align=\"middle\" border=\"0\" width=\"11\" height=\"16\" \/><span>Gismeteo<\/span><\/a><\/div><\/td><\/tr><\/table><\/div>","current":"<div class=\"head\"><div id=\"gsCityHead\" class=\"padding\">\u0414\u0430\u0433\u043e\u043c\u044b\u0441<\/div><\/div><div class=\"gsInfoWrapper\"><div class=\"main_wrap\" id=\"main_wrap\"><div class=\"secondaryWrap\"><table><tr><td align=\"center\" style=\"text-align:center\" width=\"100%\"><div class=\"gsWeatherIcon  display\"><img src=\"https:\/\/ost1.gismeteo.ru\/assets\/flat-ui\/img\/icons\/weather\/clip_art\/n1.png\" \/><\/div><div class=\"gsTemp display\"><span>+11<span class=\"tsp\">&nbsp;<\/span>&deg;C<\/span><\/div><\/td><\/tr><\/table><\/div><\/div><\/div><div class=\"gsAddInfo2 padding3\"><div class=\"gsAddInfo3\"><\/div><\/div>","forecast":"","tourism":"","tpl":"standart","city_id":"11422","borderRadio":null,"borderColor":"d2e8ff","informerTransparentBGOne":"1","informerTransparentBGTwo":"1","informerTourismTextColor":"#7a7a7a","informerOneBGColor":"#d2e8ff","informerOneTextColor":"#000000","informerTwoBGColor":"#ffffff","informerTwoTextColor":"#000000","fontFace":"Arial","width":"125","height":"101","heightGraph":null,"widthRadio":"undefined","moduleTourism":{"moduleTourismTextHoverColorOne":"#ff0000","moduleTourismTextHoverColorTwo":"#ff0000"},"tplModule":"single","lang_ver":"ru","dom_ver":"ru","domain":"www.gismeteo.ru"}});