(function(g){var p=[],m=p.slice,a=/complete|loaded|interactive/,k=/^\.([\w-]+)$/,h=/^#([\w-]*)$/,o=/^[\w-]+$/;if(a.test(document.readyState)){c(g)}else{document.addEventListener("DOMContentLoaded",function(){c(g)},false)}function n(w,x){var q=[];var v=new RegExp("(^| )"+x+"( |$)");var u=w.getElementsByTagName("*");for(var t=0,s=u.length;t<s;t++){if(!/^#/.test(x)&&v.test(u[t].className)){q.push(u[t])}else{if(/^#/.test(x)&&v.test("#"+u[t].id)){q.push(u[t])}}}return q}function i(s,q){if(f(s)&&h.test(q)){if(s.getElementById(RegExp.$1)){return[s.getElementById(RegExp.$1)]}else{return[]}}else{if(s.nodeType!==1&&s.nodeType!==9){return[]}else{if(k.test(q)&&!/MSIE\s8\.\d+/gi.test(navigator.userAgent)&&!/MSIE\s7\.\d+/gi.test(navigator.userAgent)){r=s.getElementsByClassName(RegExp.$1)}else{if(o.test(q)){r=s.getElementsByTagName(q)}else{if(/MSIE\s7\.\d+/gi.test(navigator.userAgent)){r=n(s,q.replace(/^\./,""))}else{r=s.querySelectorAll(q)}}}return r}}}function f(q){return q!=null&&q.nodeType==q.DOCUMENT_NODE}function e(t,v,u){var w=document.getElementById(g.cont);if(i(w,t)[0]!==undefined){for(var s=0,q=i(w,t).length;s<q;s++){i(w,t)[s]!==undefined?i(w,t)[s].style[v]=u:false}}}function j(s,q,t){if(!s.addEventListener){s.attachEvent("on"+q,function(u){typeof t==="function"?t(u):false})}else{s.addEventListener(q,function(u){typeof t==="function"?t(u):false},false)}}function c(H){var G=document,z=window;var v=G.getElementById(H.cont);var u=i(v,".gsLinks")[0];var t=i(v,".gsIContent")[0];var s="";if(H.w){v.style.width=H.w+"px"}if(H.h){v.style.height=H.h+"px"}if(H.d){var B=G.createElement("div");var A="#fff";if(H.d.city_id!==undefined&&u){v.style.fontFamily=H.d.fontFace;v.style.height="auto";B.innerHTML=H.d.informer;t.insertBefore(B.firstChild,u);if(H.d.borderRadio){v.style.border="1px solid #"+H.d.borderColor;v.style.width=(H.w-2)+"px"}else{v.style.border="0px"}if(H.d.widthRadio==="100%"){v.style.width="100%";v.style.boxSizing="border-box"}var x=H.d.informerOneBGColor;var I=H.d.informerTwoBGColor;if(H.d.informerTransparentBGOne!==undefined&&H.d.informerTransparentBGOne==="1"){x="transparent"}if(H.d.informerTransparentBGTwo!==undefined&&H.d.informerTransparentBGTwo==="1"){I="transparent"}if(H.d.current){var q=i(v,"#gs-moduleCurrentBlock")[0];q.innerHTML=H.d.current;e(".secondaryWrap","backgroundColor",x);e(".secondaryWrap","color",H.d.informerOneTextColor);e(".head","backgroundColor",I);e(".head","color",H.d.informerTwoTextColor);e(".gsAddInfo2","backgroundColor",I);e(".gsAddInfo2","color",H.d.informerTwoTextColor);s=i(v,"#gs-moduleCurrentBlock")[0];j(s,"click",l)}if(H.d.forecast){var J=i(v,"#gs-moduleForecastBlock")[0];J.innerHTML=H.d.forecast.tpl.table;e(".gsCityF","backgroundColor",I);e(".gsCityF","color",H.d.informerTwoTextColor);e("#colsDays","backgroundColor",x);e("#colsDays","color",H.d.informerOneTextColor);e("#colsData","backgroundColor",x);e("#colsData","color",H.d.informerOneTextColor);s=i(v,"#gs-moduleForecastBlock")[0];j(s,"click",l)}if(H.d.tourism){var D=i(v,"#gs-moduleTourismBlock")[0];D.innerHTML=H.d.tourism;e(".tr-1","backgroundColor",x);e(".tr-1","color",H.d.informerOneTextColor);e(".tr-2","backgroundColor",I);e(".tr-2","color",H.d.informerTwoTextColor);e(".link-a-1","color",H.d.informerOneTextColor);e(".link-a-2","color",H.d.informerTwoTextColor);if(H.d.informerTourismTextColor!==undefined){e("#tHead","color",H.d.informerTourismTextColor)}for(var F=0,E=i(v,".link-a-1").length;F<E;F++){if(i(v,".link-a-1")[F]!==undefined){s=i(v,".link-a-1")[F];j(s,"mouseenter",function(w){w.srcElement.style.color=H.d.moduleTourism.moduleTourismTextHoverColorOne});s=i(v,".link-a-1")[F];j(s,"mouseleave",function(w){w.srcElement.style.color=H.d.informerOneTextColor});s=i(v,".link-a-1")[F];j(s,"click",l)}if(i(v,".link-a-2")[F]!==undefined){s=i(v,".link-a-2")[F];j(s,"mouseenter",function(w){w.srcElement.style.color=H.d.moduleTourism.moduleTourismTextHoverColorTwo});s=i(v,".link-a-2")[F];j(s,"mouseleave",function(w){w.srcElement.style.color=H.d.informerTwoTextColor});s=i(v,".link-a-2")[F];j(s,"click",l)}}}if(x==="transparent"&&I==="transparent"){e("#tHead","backgroundColor","transparent");A="transparent"}t.removeChild(i(v,"#cityLink")[0])}else{v.style.textAlign="center";j(t,"click",function(w){l(w);z.open("","_blank").location.href="https://www.gismeteo.ua/"});B.innerHTML=H.d.html;t.insertBefore(B.firstChild,u)}e(".gsLinks","backgroundColor",A);var y=i(v,".leftCol > a > span")[0];if(y!==undefined){var C=y.innerText||null;if(C!==null){y.innerHTML='<b class="gis-blue">'+C.substr(0,3)+"</b><b>"+C.substr(3,C.length)+"</b>"}}}}var b={};function d(u){var v=false;var q="f"+String(Math.random()).slice(2);u+=~u.indexOf("?")?"&":"?";u+="callback=_registry"+q;b[q]=function(w){v=true;delete b[q];document.body.removeChild(t)};function s(){if(v){return}delete b[q];document.body.removeChild(t)}var t=document.createElement("script");t.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){this.onreadystatechange=null;setTimeout(s,0)}};t.onload=t.onerror=s;t.src=u;document.body.appendChild(t)}function l(q){d("https://www.gismeteo.ua/ajax/constructor/informer-setClick/?hash="+g.hash)}})({"hash":"06GLOh2R8Uyw7v","cont":"gsInformerID-06GLOh2R8Uyw7v","w":"190","h":"271","d":{"informer":"<a alt=\"\u041f\u043e\u0433\u043e\u0434\u0430 \" title=\"\u041f\u043e\u0433\u043e\u0434\u0430 \" target=\"_blank\" href=\"https:\/\/www.gismeteo.ua\/weather-luhansk-5082\/\" class=\"nolink\"><div id=\"gs-moduleCurrentBlock\"><\/div><div id=\"gs-moduleForecastBlock\"><\/div><\/a><div class=\"gsLinks\"><table><tr><td><div class=\"leftCol\"><a href=\"https:\/\/www.gismeteo.ua\" target=\"_blank\" title=\"\u041f\u043e\u0433\u043e\u0434\u0430\"><img alt=\"\u041f\u043e\u0433\u043e\u0434\u0430\" src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/logo-mini2.png\" align=\"middle\" border=\"0\" width=\"11\" height=\"16\"\/><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/gismeteo.svg\" border=\"0\" align=\"middle\" style=\"left: 5px; top:1px\"><\/a><\/div><div class=\"rightCol\"><a href=\"https:\/\/www.gismeteo.ua\/weather-luhansk-5082\/\" target=\"_blank\" title=\"\u041f\u043e\u0433\u043e\u0434\u0430  \u043d\u0430 2 \u043d\u0435\u0434\u0435\u043b\u0438\"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/forecast-2weeks.ru.svg\" border=\"0\" align=\"middle\" style=\"top:auto\" alt=\"\u041f\u043e\u0433\u043e\u0434\u0430  \u043d\u0430 2 \u043d\u0435\u0434\u0435\u043b\u0438\"><\/a><\/div><\/td><\/tr><\/table><\/div>","current":"<div class=\"gsInfoWrapper\"><div class=\"main_wrap\" id=\"main_wrap\"><div class=\"secondaryWrap\"><table><tr><td align=\"left\" style=\"text-align:left\" width=\"33%\" nowrap><div class=\"gsCity\"><span>\u041b\u0443\u0433\u0430\u043d\u0441\u043a<\/span><\/div><\/td><td align=\"center\" style=\"text-align:center\" width=\"34%\"><div class=\"gsWeatherIcon \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/d3.png\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" height=\"55px\" \/><\/div><\/td><td align=\"right\" style=\"text-align:right\" width=\"33%\" nowrap><div class=\"gsTemp\"><nobr><span class=\"paddingRight\">+10<span class=\"tsp\">&nbsp;<\/span>&deg;C<\/span><\/nobr><\/div><\/td><\/tr><\/table><\/div><\/div><\/div><div class=\"gsAddInfo2 padding\"><div class=\"gsAddInfo\">\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e<\/div><div class=\"gsAddInfo3\"><span id=\"windAddInfo\">4<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441,&nbsp;\u0421\u0417<\/span> <span id=\"pressAddInfo\">756&nbsp;\u043c\u043c \u0440\u0442. \u0441\u0442.<\/span> <span id=\"humidityAddInfo\">46<i class=\"tsp\">&nbsp;<\/i>%&nbsp;\u0432\u043b\u0430\u0436\u043d.<\/span><\/div><\/div>","forecast":{"columnstd":"<td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0412\u0435\u0447\u0435\u0440\u043e\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d0.png\" width=\"34px\" alt=\"\u042f\u0441\u043d\u043e\" title=\"\u042f\u0441\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+7<\/span><div class=\"centralized\"><div><span class=\"wind\">3<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">755<\/span><\/div><div><span class=\"wet\">62<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u041d\u043e\u0447\u044c\u044e<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d3.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+9<\/span><div class=\"centralized\"><div><span class=\"wind\">6<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">754<\/span><\/div><div><span class=\"wet\">52<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0423\u0442\u0440\u043e\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d31.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e, \u0434\u043e\u0436\u0434\u044c\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e, \u0434\u043e\u0436\u0434\u044c\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+10<\/span><div class=\"centralized\"><div><span class=\"wind\">4<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">755<\/span><\/div><div><span class=\"wet\">82<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0414\u043d\u0435\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d3.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+10<\/span><div class=\"centralized\"><div><span class=\"wind\">4<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">757<\/span><\/div><div><span class=\"wet\">65<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td>","tpl":{"table":"<div class=\"cols_1\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td id=\"colsDays\" colspan=\"4\"><div class=\"cols_1 cols\"><div class=\"col_h today\" style=\"width:24.9%\">\u041f\u043d, 7<\/div><div class=\"col_h tomorrow\" style=\"width:74.7%\">\u0412\u0442, 8 \u043e\u043a\u0442\u044f\u0431\u0440\u044f<\/div><\/div><\/td><\/tr><tr id=\"colsData\"><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0412\u0435\u0447\u0435\u0440\u043e\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d0.png\" width=\"34px\" alt=\"\u042f\u0441\u043d\u043e\" title=\"\u042f\u0441\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+7<\/span><div class=\"centralized\"><div><span class=\"wind\">3<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">755<\/span><\/div><div><span class=\"wet\">62<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u041d\u043e\u0447\u044c\u044e<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d3.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+9<\/span><div class=\"centralized\"><div><span class=\"wind\">6<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">754<\/span><\/div><div><span class=\"wet\">52<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0423\u0442\u0440\u043e\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d31.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e, \u0434\u043e\u0436\u0434\u044c\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e, \u0434\u043e\u0436\u0434\u044c\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+10<\/span><div class=\"centralized\"><div><span class=\"wind\">4<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">755<\/span><\/div><div><span class=\"wet\">82<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><td class=\"col h24\" align=\"center\"><div class=\"dtime\"><span class=\"time\">\u0414\u043d\u0435\u043c<\/span><\/div><span class=\"s_icon sunny \"><img src=\"https:\/\/s1.gismeteo.ua\/static\/images\/informer2\/icons\/clip_art\/small\/d3.png\" width=\"34px\" alt=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" title=\"\u041f\u0430\u0441\u043c\u0443\u0440\u043d\u043e\" \/><\/span><span class=\"temperature\" id=\"colTemp\">+10<\/span><div class=\"centralized\"><div><span class=\"wind\">4<i class=\"tsp\">&nbsp;<\/i>\u043c\/\u0441<\/span><\/div><div><span class=\"pressure\">757<\/span><\/div><div><span class=\"wet\">65<i class=\"tsp\">&nbsp;<\/i>%<\/span><\/div><\/div><\/td><\/tr><\/table><\/div>"}},"tourism":"","tpl":"standart","city_id":"5082","borderRadio":"1","borderColor":"d2e8ff","informerTransparentBGOne":null,"informerTransparentBGTwo":null,"informerTourismTextColor":"#","informerOneBGColor":"#d2e8ff","informerOneTextColor":"#000000","informerTwoBGColor":"#ffffff","informerTwoTextColor":"#000000","fontFace":"Arial","width":"190","height":"271","heightGraph":"0","widthRadio":"undefined","moduleTourism":{"moduleTourismTextHoverColorOne":"#ff0000","moduleTourismTextHoverColorTwo":"#ff0000"},"tplModule":"single","lang_ver":"ru","dom_ver":"ua","domain":"www.gismeteo.ua"}});