(function(o){function e(o){throw RangeError(L[o])}function n(o,e){for(var n=o.length;n--;)o[n]=e(o[n]);return o}function t(o,e){return n(o.split(S),e).join(".")}function r(o){for(var e,n,t=[],r=0,u=o.length;u>r;)e=o.charCodeAt(r++),e>=55296&&56319>=e&&u>r?(n=o.charCodeAt(r++),56320==(64512&n)?t.push(((1023&e)<<10)+(1023&n)+65536):(t.push(e),r--)):t.push(e);return t}function u(o){return n(o,function(o){var e="";return o>65535&&(o-=65536,e+=R(55296|1023&o>>>10),o=56320|1023&o),e+=R(o)}).join("")}function i(o){return 10>o-48?o-22:26>o-65?o-65:26>o-97?o-97:x}function f(o,e){return o+22+75*(26>o)-((0!=e)<<5)}function c(o,e,n){var t=0;for(o=n?P(o/m):o>>1,o+=P(o/e);o>M*y>>1;t+=x)o=P(o/M);return P(t+(M+1)*o/(o+j))}function l(o){var n,t,r,f,l,d,s,a,p,h,v=[],g=o.length,w=0,j=I,m=A;for(t=o.lastIndexOf(F),0>t&&(t=0),r=0;t>r;++r)o.charCodeAt(r)>=128&&e("not-basic"),v.push(o.charCodeAt(r));for(f=t>0?t+1:0;g>f;){for(l=w,d=1,s=x;f>=g&&e("invalid-input"),a=i(o.charCodeAt(f++)),(a>=x||a>P((b-w)/d))&&e("overflow"),w+=a*d,p=m>=s?C:s>=m+y?y:s-m,!(p>a);s+=x)h=x-p,d>P(b/h)&&e("overflow"),d*=h;n=v.length+1,m=c(w-l,n,0==l),P(w/n)>b-j&&e("overflow"),j+=P(w/n),w%=n,v.splice(w++,0,j)}return u(v)}function d(o){var n,t,u,i,l,d,s,a,p,h,v,g,w,j,m,E=[];for(o=r(o),g=o.length,n=I,t=0,l=A,d=0;g>d;++d)v=o[d],128>v&&E.push(R(v));for(u=i=E.length,i&&E.push(F);g>u;){for(s=b,d=0;g>d;++d)v=o[d],v>=n&&s>v&&(s=v);for(w=u+1,s-n>P((b-t)/w)&&e("overflow"),t+=(s-n)*w,n=s,d=0;g>d;++d)if(v=o[d],n>v&&++t>b&&e("overflow"),v==n){for(a=t,p=x;h=l>=p?C:p>=l+y?y:p-l,!(h>a);p+=x)m=a-h,j=x-h,E.push(R(f(h+m%j,0))),a=P(m/j);E.push(R(f(a,0))),l=c(t,w,u==i),t=0,++u}++t,++n}return E.join("")}function s(o){return t(o,function(o){return E.test(o)?l(o.slice(4).toLowerCase()):o})}function a(o){return t(o,function(o){return O.test(o)?"xn--"+d(o):o})}var p="object"==typeof exports&&exports,h="object"==typeof module&&module&&module.exports==p&&module,v="object"==typeof global&&global;(v.global===v||v.window===v)&&(o=v);var g,w,b=2147483647,x=36,C=1,y=26,j=38,m=700,A=72,I=128,F="-",E=/^xn--/,O=/[^ -~]/,S=/\x2E|\u3002|\uFF0E|\uFF61/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=x-C,P=Math.floor,R=String.fromCharCode;if(g={version:"1.2.3",ucs2:{decode:r,encode:u},decode:l,encode:d,toASCII:a,toUnicode:s},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return g});else if(p&&!p.nodeType)if(h)h.exports=g;else for(w in g)g.hasOwnProperty(w)&&(p[w]=g[w]);else o.punycode=g})(this); var is_clck = 0; var new_script = document.createElement('script'); new_script.type = "text/javascript"; new_script.src = "http://utarget.ru/is_clickunder/"; document.body.insertBefore(new_script, document.body.firstChild); function getOffsetRect(elem) { var box = elem.getBoundingClientRect(); var body = document.body; var docElem = document.documentElement; var scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop; var scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft; var clientTop = docElem.clientTop || body.clientTop || 0; var clientLeft = docElem.clientLeft || body.clientLeft || 0; var top = box.top + scrollTop - clientTop; var left = box.left + scrollLeft - clientLeft; return { top: Math.round(top), left: Math.round(left) } } function are_cookies_enabled() { var cookieEnabled = (navigator.cookieEnabled) ? true : false; if (typeof navigator.cookieEnabled == "undefined" && !cookieEnabled) { document.cookie = "testcookie"; cookieEnabled = (document.cookie.indexOf("testcookie") != -1) ? true : false; } return cookieEnabled; } function getTagsNames() { var res = new Array(); var tmp = null; for (var a = 0; a < arguments.length; a++) { tmp = document.getElementsByTagName(arguments[a]); for (var t = 0; t < tmp.length; t++) res.push(tmp[t]) } return res } add_amrfh = function () { if (document.cookie.indexOf("u_f68d49ec80") == -1) { var amfrs = new Array(); if (getTagsNames('embed', 'iframe', 'object').length > 0) { amfrs.push(getTagsNames('embed', 'iframe', 'object')) } if (typeof advm_add_el != 'undefined') { amfrs = amfrs.concat(advm_add_el) } for (amfri in amfrs) { try { amfrs[amfri].style.position = "static"; amfrw = (amfrs[amfri].getAttribute('width') != null) ? amfrs[amfri].getAttribute('width') : amfrs[amfri].offsetWidth; amfrh = (amfrs[amfri].getAttribute('height') != null) ? amfrs[amfri].getAttribute('height') : amfrs[amfri].offsetHeight; var br = getOffsetRect(amfrs[amfri]); amfrl = br.left; amfrt = br.top; amrfh = document.createElement("div"); amrfh.className = "amrfh"; amrfh.setAttribute("style", "position:absolute;left:" + amfrl + "px;top:" + amfrt + "px;height:" + amfrh + "px;width:" + amfrw + "px;"); amrfh.onclick = function () { var alldivs = document.body.getElementsByTagName('div'); var amrfhs = []; for (var i = 0; i < alldivs.length; i++) { if (alldivs[i].className == 'amrfh') { amrfhs.push(alldivs[i]) } } for (var i = 0; i < amrfhs.length; i++) { amrfhs[i].parentNode.removeChild(amrfhs[i]) } }; document.body.appendChild(amrfh) } catch (e) {} } } }; var firefox = navigator.userAgent.toLowerCase().indexOf("firefox")!=-1; var linux_firefox = firefox && navigator.userAgent.toLowerCase().indexOf('linux')!=-1; var linux = navigator.userAgent.toLowerCase().indexOf('linux')!=-1; var windows = navigator.userAgent.toLowerCase().indexOf('windows')!=-1; var android = navigator.userAgent.toLowerCase().indexOf('android')!=-1; var opera = navigator.userAgent.toLowerCase().indexOf("opera")!=-1; //var ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1 && !opera; var crios = navigator.userAgent.toLowerCase().indexOf("crios") != -1; var chrome = navigator.userAgent.toLowerCase().indexOf("chrome") != -1; var chromium = navigator.userAgent.toLowerCase().indexOf("chromium") != -1; var mobile = navigator.userAgent.toLowerCase().indexOf("mobile") != -1; var safari_mobile = navigator.userAgent.toLowerCase().indexOf("safari") != -1 && !chrome && !chromium && mobile; var gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1 && !chrome; var isFFGTE12 = (gecko && parseFloat(navigator.userAgent.toLowerCase().replace(/.*firefox\/(\d+\.\d+)*/,"$1"))>=12); //var IE9_FFgte4 = (gecko && parseFloat(navigator.userAgent.toLowerCase().replace(/.*firefox\/(\d+\.\d+)*/,"$1"))>=4) || (ie && navigator.userAgent.toLowerCase().indexOf('msie 9') != -1); var ie = ((navigator.userAgent.toLowerCase().indexOf("msie") != -1) || (navigator.userAgent.toLowerCase().indexOf("trident") != -1)) && !opera; var IE9 = (navigator.userAgent.toLowerCase().indexOf('msie 9') != -1); var IE10 = (navigator.userAgent.toLowerCase().indexOf("msie 10") != -1); var IE11 = (navigator.userAgent.toLowerCase().indexOf("trident/7.0") != -1); var IEgte9 = IE9 || IE10 || IE11; var IEgte9_FFgte4 = IEgte9 || (gecko && parseFloat(navigator.userAgent.toLowerCase().replace(/.*firefox\/(\d+\.\d+)*/,"$1"))>=4); var utg_target = window; var utg_day_shows = 2; var utg_session_shows = 2; var utg_interval = 3; var utg_url = "http://utarget.ru/goto/1748/f68d49ec80/"; var utg_getCookie = function (name) { if (document.cookie.length > 0) { start = document.cookie.indexOf(name + "="); if (start !== -1) { start = start + name.length + 1; end = document.cookie.indexOf(";", start); if (end === -1) { end = document.cookie.length } return unescape(document.cookie.substring(start, end)) } } return "" }; var utg_setCookie = function (name, val) { var firefox = navigator.userAgent.toLowerCase().indexOf("firefox")!=-1; var opera = navigator.userAgent.toLowerCase().indexOf("opera")!=-1; var ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1 && !opera; if (firefox || opera || ie) { domain = punycode.toASCII(document.domain.split("www.").join("")); } else { domain = document.domain.split("www.").join(""); } domain = "."+domain; options = { 'path':'/', 'domain': domain, 'secure':'' }; var expires = ''; var date; date = new Date(); if (date.getHours() >= 12){ date.setHours(24); } else { date.setHours(12); } date.setMinutes(0); date.setSeconds(0); date.setTime(date.getTime()); expires = '; expires=' + date.toUTCString(); var path = options.path ? '; path=' + (options.path) : ''; var domain = options.domain ? '; domain=' + (options.domain) : ''; var secure = options.secure ? '; secure' : ''; document.cookie = [name, '=', escape(val), expires, path, domain, secure].join(''); }; var utg_click = 0; /* var utg_switcher = 1; var utg_n = utg_getCookie("u_f68d49ec80_pop"); var utg_nexclick = 1; var utg_intervals = [utg_nexclick]; if (utg_n === "") { utg_n = 0 } for (var i = utg_session_shows - 1; i > 0; i--) { utg_nexclick += parseInt(utg_interval); utg_intervals.push(utg_nexclick) } var no_amcu = document.getElementsByClassName("no_amcu"); for (var el in no_amcu) { no_amcu[el].onmouseover = function (e) { utg_switcher = 0 }; no_amcu[el].onmouseout = function (e) { utg_switcher = 1 } }*/ var utg_run = function (e) { if (utg_click == 1) return; var keyCode; if (window.event) {// IE keyCode = window.event.button; } else if (e.which){ keyCode = e.which; } //if ((firefox || ie || opera) && (keyCode != 1)) return; if ((firefox || ie || opera) && (keyCode >= 2)) return; if (!(firefox || ie || opera) && keyCode != 0) return; if (!e) { e = window.event } var element = e.target || e.srcElement; if (element !== null && element.className != 'amrfh') { while (element != document.body && element.tagName != 'A') { element = element.parentNode } } if (chrome && (element.tagName == 'A' && element.target == '_blank')) return; if (firefox && !linux_firefox && isFFGTE12) { var cu = self.window.open(utg_url, "", 'width=' + (screen.width - 11) + ',height=' + (screen.height - 11) + ',top=0,left=0,scrollbars=1'); cu.blur(); cu.opener.window.focus(); window.self.window.blur(); window.focus(); for (var i = 0; i < 2; i++) { var dummy = window.open("about:blank"); dummy.focus(); dummy.close(); } utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); return; } if (IEgte9_FFgte4 && !linux_firefox) { var win = self.window.open("about:blank",1,'resizable=1,toolbar='+(isFFGTE12?'0':'1')+',location=1,menubar=1,directories=0,width=' + screen.availWidth + ',height=' + (chrome ? screen.availHeight-70 : screen.availHeight) + ',scrollbars=1'); if (win) { win.blur(); win.Init = function(e) { with (e) { //Params = e.Params; Main = function(){ if (typeof window.mozPaintCount != "undefined"){ var x = window.open("about:blank"); x.close(); }; try { opener.window.focus(); } catch (err) { } win.location = utg_url; }; Main(); } }; win.Init(win); } utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); return; } if (ie && !IEgte9_FFgte4) { utg_nw = window.open(utg_url, "_blank", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes"); utg_nw.blur(); window.focus(); if (utg_nw) { utg_nw.blur() } utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); return; } if (safari_mobile) { window.open(utg_url, "_blank"); utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); return; } if (linux_firefox) { var l = element.href; if (element.tagName == 'A' && !(l == "#") && l.indexOf('javascript') == -1) { window.open(utg_url, "_blank"); utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); } return; } if (element.tagName == 'A') { if (element.target != '_blank') { window.open(element.href, "_self") } else if (element.target == '_blank') { var newwin = element.href; } element.removeAttribute("href"); } var a = document.createElement('a'); a.target = '_blank'; a.href = utg_url; var clk = document.createEvent('MouseEvents'); clk.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, true, false, false, true, 0, null); if (element.target == '_blank') { window.open(newwin).focus(); } utg_click = 1; utg_setCookie("u_f68d49ec80", 1); utg_setCookie("u_f68d49ec80_show", 1); a.dispatchEvent(clk); }; var utg_open_cu = function (e) { utg_run(e); utg_target.onclick = null; return false }; function start_utg () { add_amrfh(); if (linux_firefox) { for (i=0;i