(function(){var k=!0,o=null,v=!1;function z(){return function(){}}function e(a){return parseInt(a,10)}function $(){return 100*((new Date).getTime()%1E7)+Math.round(99*Math.random())}function g(a){return"undefined"!=typeof a}function aa(a,b){b||(b=z());var c=j.createElement("script");c.setAttribute(ba,va);c.setAttribute("src",a);if(g(c))s?c.onreadystatechange=function(){("loaded"==this.readyState||"complete"==this.readyState)&&setTimeout(b,0)}:c.onload=function(){setTimeout(b,0)},G.appendChild(c)}function K(a){var b=j.createElement("style");b.setAttribute("rel",
"stylesheet");b.setAttribute(ba,"text/css");G.appendChild(b);s?b.styleSheet.cssText=a:b.appendChild(j.createTextNode(a))}function ca(){var a=v,b=navigator,c=o;if(g(b.plugins)&&"object"==typeof b.plugins["Shockwave Flash"]){if((c=b.plugins["Shockwave Flash"].description)&&(!g(b.mimeTypes)||!b.mimeTypes["application/x-shockwave-flash"]||b.mimeTypes["application/x-shockwave-flash"].enabledPlugin))c=c.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),a=[0,0,0],a[0]=e(c.replace(/^(.*)\..*$/,"$1")),a[1]=e(c.replace(/^.*\.(.*)\s.*$/,
"$1")),a[2]=/[a-zA-Z]/.test(c)?e(c.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0}else if(g(f.ActiveXObject))try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(d&&(c=d.GetVariable("$version")))c=c.split(" ")[1].split(","),a=[e(c[0]),e(c[1]),e(c[2])]}catch(Fa){}return a=a!==v?a.join("."):a}function wa(){var a=ca(),b="10.0.42".split(".");if(a===v)return v;a=a.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return a[0]>b[0]||a[0]==b[0]&&a[1]>b[1]||a[0]==b[0]&&
a[1]==b[1]&&a[2]>=b[2]?a.join("."):v}function xa(a,b){a.innerHTML=b;for(var c=[],d=a.childNodes,e=0;d[e];e++)c&&d[e].nodeName&&"script"===d[e].nodeName.toLocaleLowerCase()&&(!d[e].type||"text/javascript"===d[e].type.toLowerCase())&&c.push(d[e].parentNode?d[e].parentNode.removeChild(d[e]):d[e]);for(var f in c){var d=c[f],e=d.text||d.textContent||d.innerHTML||"",g=j.createElement("script");g.type="text/javascript";g.appendChild(j.createTextNode(e));G.insertBefore(g,G.firstChild);G.removeChild(g);d.parentNode&&
d.parentNode.removeChild(d)}}function ya(){var a="",a="?rt="+$();j.referrer&&(a+="&r="+escape(j.referrer));L&&(a+="&recurring=1");S&&(a+="&flash="+escape(S));s&&(a+="&isie=1");if(!f[i].popunderShow)for(var b in l)if(l.hasOwnProperty(b)&&"object"==typeof l[b]&&g(l[b].type)&&"popunder"==l[b].type){a+="&pu=1";break}a+="&f="+i;g(screen.width)&&(a+="&scr="+escape(screen.width+"x"+screen.height));return a+=f[i].multishowsAdd?"&"+f[i].multishowsAdd:""}function da(){return"CSS1Compat"==j.compatMode&&!f.opera?
n.clientWidth:r.clientWidth}function ea(){return"CSS1Compat"==j.compatMode&&!f.opera?n.clientHeight:r.clientHeight}function za(a){for(var b=a.length,c=[],d=0;d<b;d++)c.push(a[d].d+";"+a[d].f.join(";"));T&&aa(T+"?"+c.join("&"),z())}function Aa(){C&&(clearTimeout(C),C=o);for(var a=A.length,b=[],c=0;c<a;c++)if(A[c]){var d;a:{var e=A[c];if(e){var f=getElementsByClass("lx__tsb",e);d=[];for(var g=[],u=void 0,i=f.length,u=0;u<i;u++){var h;if(h=f[u])b:{h=f[u];if(!(0===h.offsetWidth||0===h.offsetHeight))for(var l=
ea(),p=da(),r=h.getClientRects(),q=0,n=r.length;q<n;q++){var m=r[q],s=0<=m.left&&m.left+(m.width?m.width:m.right-m.left)<p,t;if(t=0<=m.top&&m.top+(m.height?m.height:m.bottom-m.top)<l){if(s){m=j.elementFromPoint((m.left+m.right)/2,(m.top+m.bottom)/2);if(m===h)m=k;else c:{if(m)for(m=m.parentNode;m!=o;){if(m==h){m=k;break c}m=m.parentNode}m=v}s=m}t=s}if(t){h=k;break b}}h=v}h&&(d.push(f[u].getAttribute("tsbid")),g.push(f[u]))}f=g.length;for(u=0;u<f;u++)h=g[u],h.className=h.className.replace(RegExp("(^|\\s)lx__tsb(\\s|$)",
"g"),"$1").replace(/\s+/g," ").replace(/(^ | $)/g,"");if(g=d.length){e=getElementsByClass("lx__tsbc",e);e=e[0];e=e.getAttribute("tsbc");d={f:d,all:i==g,d:e};break a}}d=v}if(d!==v){d.all&&delete A[c];i=d.f;e=[];g=0;u=i.length;a:for(;g<u;g++){f=0;for(h=e.length;f<h;f++)if(e[f]==i[g])continue a;e[e.length]=i[g]}b.push({f:e,d:d.d})}}b.length&&za(b)}function M(){C&&clearTimeout(C);C=setTimeout(Aa,1E3)}function t(a,b){h.style[a]=b}function Ba(){f[y].bottomReady=function(a){a=e(a);h.childNodes[1].height=
a+p;t("height",a+5+p)}}function U(a){var b=a.toString(),b=b.substr(9),b=b.substr(0,b.indexOf("("));g(D[b])?(clearTimeout(D[b]),D[b]=setTimeout(function(){clearInterval(D[b]);a();delete D.m},fa)):(D[b]=setInterval(function(){a()},fa),a())}function ga(){U(ha)}function ia(){U(N);s&&(U(ja),setTimeout(N,250))}function ja(){t("width",n.clientWidth?n.clientWidth:r.clientWidth)}function ha(){ka(E,{bottom:k,right:k})}function N(){ka(h,{bottom:k})}function ka(a,b){var c=a.style;if(g(b[q])&&b[q]&&!g(a.a))a.a=
e(a.currentStyle[q]),g(b[q])&&b[q]&&(c[q]=H);if(g(b.right)&&b.right&&!g(a.k)&&(a.k=e(a.currentStyle.right),g(b.right)&&b.right))c.right=H;if(g(b[q])&&b[q])c.position=I,c.top=s?0-a.a-(e(c.height)?e(c.height):a.offsetHeight)+(n.clientHeight?n.clientHeight:r.clientHeight)+(n.scrollTop?n.scrollTop:r.scrollTop)+p:0-a.a-e(c.height)+e(f.innerHeight)+e(f.pageYOffset)+p;if(g(b.right)&&b.right)c.position=I,c.left=0-a.k-(e(c.width)?e(c.width):a.offsetWidth)+(n.clientWidth?n.clientWidth:r.clientWidth)+(n.scrollLeft?
n.scrollLeft:r.scrollLeft)+p}function la(){var a=j.getElementsByTagName("object"),b=j.getElementsByTagName("embed"),c={e:v,i:[],embeds:[]};if(O)for(var d=0;d<a.length;d++){for(var e=v,f=a[d].getElementsByTagName("param"),h=0;h<f.length;h++)if("wmode"==f[h].getAttribute("name").toLowerCase()){e=k;break}if(e)c.e=k,c.i.push(a[d])}for(d=0;d<b.length;d++){a=b[d].getAttribute("wmode");if(!(e=!a))g(a)?(a=a.toLowerCase(),a="transparent"!=a&&"opaque"!=a?v:k):a=v,e=!a;if(e)c.e=k,c.embeds.push(b[d])}return c}
function Ca(){for(var a=la(),b=a.i,a=a.embeds,c=0;c<b.length;c++){var d=j.createElement("param");d.setAttribute("name","wmode");d.setAttribute("value","transparent");b[c].appendChild(d);b[c].outerHTML=b[c].outerHTML}for(c=0;c<a.length;c++)a[c].setAttribute("wmode","transparent"),a[c].outerHTML=a[c].outerHTML}function P(a){var b=a.which?a.which:a.button,a=(s?a.srcElement:a.target).nodeName.toLowerCase();if(("a"==a||"img"==a)&&2!=b&&3!=b)clearTimeout(V),V=setTimeout(function(){V=o;ma()},500)}function Da(){var a=
"";if(w)for(var b in l)l.hasOwnProperty(b)&&"object"==typeof l[b]&&(a+=escape(b)+";");0<a.length&&(a=a.substring(0,a.length-1));return a}function ma(){if(!W){W=k;var a=Da();a&&aa("http://luxup.ru/multishows/"+a+"/"+ya(),function(){W=v})}}function na(a){oa(a.target?a.target:a.srcElement)}function Ea(a){var b=/\/i\/(a??)(\d+?)\//m,c=b.exec(a),d=v;if(c!=o&&16!=c){d=e(c[2]);d=(2*(10*d+40)-40)/10;16<=d&&(d=16);var f=10*d+40,d=a.replace(b,"/i/$1"+d+"/")}return{url:d,size:f}}function pa(a){var b=e("CSS1Compat"==
j.compatMode&&!f.opera?n.scrollTop:r.scrollTop),c=e(b+ea()),d=e("CSS1Compat"==j.compatMode&&!f.opera?n.scrollLeft:r.scrollLeft),g=e(d+da()),h=a.getClientRects()[0],i=Math.round(h.top)+b,u=Math.round(h.bottom)+b,l=Math.round(h.left)+d,h=Math.round(h.right)+d;if(i<b)a.style.top=e(a.style.top)+(b-i)+Q+p;if(u>c)a.style.top=e(a.style.top)-(u-c)-Q+p;if(l<d)a.style.left=e(a.style.left)+(d-l)+Q+p;if(h>g)a.style.left=e(a.style.left)-(h-g)-Q+p}function X(a,b){clearTimeout(a.getAttribute("enlargeTimer"));var c=
qa(b),d=e(a.height)-x;a.width=e(a.width)-x;a.height=d;d=e(c.left)>e(a.style.left)?e(a.style.left)+x/2:e(a.style.left)-x/2;a.style.top=(e(c.top)>e(a.style.top)?e(a.style.top)+x/2:e(a.style.top)-x/2)+p;a.style.left=d+p;e(a.width)>e(b.width)?a.setAttribute("shrinkTimer",setTimeout(function(){X(a,b)},J)):(a.style.top="-100000px",a.style.left="-100000px",b.style.visibility="",b.parentNode.style.zIndex="")}function ra(a,b){clearTimeout(a.getAttribute("shrinkTimer"));var c=e(a.height)+x;a.width=e(a.width)+
x;a.height=c;c=e(a.style.left)-x/2;a.style.top=e(a.style.top)-x/2+p;a.style.left=c+p;pa(a);e(a.width)<b&&a.setAttribute("enlargeTimer",setTimeout(function(){ra(a,b)},J))}function qa(a){for(var b=0,c=0;a&&"relative"!=(a.h=a.h||a.currentStyle||getComputedStyle(a,0)).position&&"absolute"!=(a.h=a.h||a.currentStyle||getComputedStyle(a,0)).position;)b+=e(a.offsetTop),c+=e(a.offsetLeft),a=a.offsetParent;return{top:b,left:c}}function oa(a){var b,c=qa(a),d=Ea(a.src),e=d.size;if((d=d.url)||d!=a.src){a.previousSibling&&
"img"==a.previousSibling.nodeName.toLowerCase()?b=a.previousSibling:(b=a.cloneNode(v),s&&b.detachEvent("onmouseover",na),b.style.position=I,b.style.top="-100000px",b.style.left="-100000px",b.style.margin="0px",j.addEventListener?b.addEventListener("mouseout",function(){clearTimeout(b.getAttribute("enlargeTimer"));b.setAttribute("shrinkTimer",setTimeout(function(){X(b,a)},J))},v):b.attachEvent("onmouseout",function(){clearTimeout(b.getAttribute("enlargeTimer"));b.setAttribute("shrinkTimer",setTimeout(function(){X(b,
a)},J))}),a.parentNode.insertBefore(b,a));if(b.src==a.src){var f=b.cloneNode(v);j.addEventListener?f.addEventListener("load",function(){b.src=f.src;setTimeout(function(){f.parentNode.removeChild(f)},100)},v):f.attachEvent("onload",function(){b.src=f.src;setTimeout(function(){f.parentNode.removeChild(f)},100)});f.src=d;b.parentNode.insertBefore(f,b)}b.width=a.width;b.height=a.height;b.style.top=c.top+p;b.style.left=c.left+p;a.style.visibility="hidden";a.parentNode.style.zIndex=1E5;pa(b);b.setAttribute("enlargeTimer",
setTimeout(function(){ra(b,e)},J))}}var l={301438:{id:"lx_301438",l:!0},333168:{id:"lx_333168",l:!0},301433:{id:"lx_301433",l:!0}},i="__lxG109695__",y="__lxG__",B={},Q=3,x=10,J=10,j=document,f=window,r=j.body,n=j.documentElement,G=function(){var a=j.getElementsByTagName("head")[0];if(a)return a;for(a=n.firstChild;a&&"#text"==a.nodeName.toLowerCase();)a=a.nextSibling;if(a&&"#text"!=a.nodeName.toLowerCase())return a;a=
j.createElement("head");n.appendChild(a);return a}(),R=navigator.userAgent.toLowerCase(),s=/msie/.test(R)&&!/opera/.test(R);navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/);var Y=/chrome/.test(R),O=/opera/.test(R),L=v,W=v,V=o,w=0,A=[],C=o,S=Y?wa():ca(),sa=v,E=o,h=o,fa=50,Z=o,ta=v,q="bottom",p="px",I="absolute",va="text/javascript",ba="type",H="auto",F="",ua=v,T="",D={};getElementsByClass=j.getElementsByClassName?function(a,b){return(b||document).getElementsByClassName(a)}:
function(a,b){var c=(b||document).getElementsByTagName("*"),d=c.length,e=a.split(/\s+/),f=e.length,h=[],g,i;for(g=0;g<d;g++)for(i=0;i<f;i++)if(-1!=c[g].className.search("\\b"+e[i]+"\\b")){h.push(c[g]);break}return h};j.addEventListener?f.addEventListener("scroll",M,v):f.attachEvent("onscroll",M);B[i]={};B[i].c=function(){if(!F)return k;F+="?rnd="+$()+(f[i].popunderAdd?"&"+f[i].popunderAdd:"");var a=window;window.open(F,i+"popunder","toolbar=1,location=1,status=1, menubar=1,scrollbars=1,resizable=1");
F="";a.focus();r.detachEvent?(r.detachEvent("onclick",B[i].c),r.releaseCapture()):(r.removeEventListener("click",B[i].c,k),r.removeEventListener("click",B[i].c));return k};g(f[i])||(f[i]={});g(f[y])||(f[y]={});f[i].closed=z();f[i].clicked=z();if(!g(f[i].popunderShow))f[i].popunderShow=v;if(!g(f[i].allLoaded))f[i].allLoaded=z();if(!g(f[i].popunderAdd))f[i].popunderAdd="";if(!g(f[i].multishowsAdd))f[i].multishowsAdd="";f[i].parser=function(a){A=[];for(var b in a)if(a.hasOwnProperty(b)){var c=a[b];if("cfg"==
c.type)c.hasOwnProperty("realShowsUrl")&&(T=c.realShowsUrl);else if(g(l[c.id])&&g(c.source)){var d=j.getElementById(l[c.id].id);if(d&&"html"==c.type&&(L||(K(c.style),j.addEventListener?d.addEventListener("click",P,v):d.attachEvent("onclick",P)),d.innerHTML=c.source,getElementsByClass("lx__tsbc",d).length&&A.push(d),g(l[c.id].l)&&l[c.id].l))for(var n=d.getElementsByTagName("img"),x=n.length,w=0;w<x;w++)j.addEventListener?n[w].addEventListener("mouseover",function(){oa(this)},v):n[w].attachEvent("onmouseover",
na);d&&"pu"==c.type&&!ua&&(F="http://c.luxup.ru/pu/"+c.id+".html",j.addEventListener?r.addEventListener("click",B[i].c,k):(r.attachEvent("onclick",B[i].c),r.setCapture(k)),ua=k);d&&"js"==c.type&&(L||(g(c.style)&&K(c.style),j.addEventListener?d.addEventListener("click",P,v):d.attachEvent("onclick",P)),xa(d,c.source));if(d&&"flash"==c.type&&!sa)E=d,K(c.style),f[i].closed=function(){E.parentNode.removeChild(E)},f[i].clicked=function(){E.parentNode.removeChild(E)},d.innerHTML=c.source,s&&(f.attachEvent("onscroll",
ga),f.attachEvent("onresize",ga),ha()),sa=k,getElementsByClass("lx__tsbc",d).length&&A.push(d);if(d&&c.type==q)h=d,(O||Y)&&ta&&g(l[c.id].j)&&l[c.id].j&&Ca(),""!=c.style&&K(c.style),s?h.b=e(h.currentStyle[q]):(h.b=e(j.defaultView.getComputedStyle(h,o).bottom),O&&(h.b-=1)),f[y].bottomClosed=function(){var a=j.createElement("a");a.innerHTML=".";a.href="medianet.adlabs.ru";h.appendChild(a);a.focus();a.blur();h.style.display="none";M()},t("position",I),t(q,H),t("top","-100000px"),t("zIndex",99999),f[y].bottomReady=
function(a,b){a=e(a);if(150<a)return v;h.childNodes[1].height=a+p;t(q,"-"+(a+5+10)+p);t("top","");s?t("position",I):t("position","fixed");if(s){if(0!=b)ja(),clearInterval(Z),f[y].bottomReady=z()}else f[y].bottomReady=z();Z=setInterval(function(){var a=s&&g(h.a)?h.a:e(h.style[q]);if(a<h.b&&!(6.25>h.b-a)){if(t(q,a+5+p),s)h.a=a+5,t(q,H),N()}else{clearInterval(Z);t(q,h.b+p);if(s)h.a=h.b,t(q,H),N(),f.attachEvent("onscroll",ia),f.attachEvent("onresize",ia);setTimeout(Ba,100)}},25)},h.innerHTML=c.source,
S||setTimeout(function(){var a=0,a=s?h.offsetHeight:j.defaultView.getComputedStyle(h,o).height;f[y].bottomReady(e(a)-5,1)},250)}}L=v;setTimeout(function(){f[i].allLoaded()},0);M()};(function(){for(var a in l)if(l.hasOwnProperty(a)&&"object"==typeof l[a])if(j.getElementById(l[a].id))if((O||Y)&&g(l[a].type)&&"bottom"==l[a].type)if(la().e){if(ta=k,!g(l[a].g)||g(l[a].g)&&!l[a].g)w+=1}else w+=1;else w+=1;else delete l[a]})();
(new Image).src="http://counter.yadro.ru/hit;Luxup?r"+escape(j.referrer)+("undefined"==typeof screen?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+";u"+escape(j.URL)+";"+Math.random();ma()})();