‘ ); if( infinityFeedAllAdsDone.indexOf( id ) == -1 ) { infinityFeedAllAdsDone.push( id ); if(window._endebug && window.console) console.log(‘[ ‘+id+’ ] renderPub->infinityPubRenderAllAds()’); setTimeout( function(){ infinityPubRenderAllAds( id ); }, 600 ); } if(window._endebug && window.console) console.log(‘[ ‘+id+’ ] renderPub->updateNextHitTop()’); updateNextHitTop(id); _infitityNextPid = next_pub_hitline.dataset.id; // основная публикация if( !infinityFeedLoadedPubsData[ id ] ) infinityFeedLoadedPubsData[ id ] = data; // предзагруженные if( data[‘preloadPubs’] ) { for(var k in data[‘preloadPubs’]) if( !infinityFeedLoadedPubsData[k] ) infinityFeedLoadedPubsData[k] = data[‘preloadPubs’][k]; } } function renderAdfoxAds( id ) { // если расстояние больше двух экранов — не загружать объявления, триггеер на скролл для повторной загрузки //if( checkDisplaysToElement(‘#next-infinity-pub-976887’+id, 2) ) — render hold_id = id; if(window._endebug && window.console) console.log(‘[ ‘+id+’ ] renderAdfoxAds()’); var adzonesresp = document.querySelectorAll(‘#pub_’ + id + ‘ .adfox_ads’); [].forEach.call(adzonesresp, function(radz) { id = radz.attributes[0].nodeValue; slot = radz.attributes[2].nodeValue; if( readyadsadfox.indexOf(id) == -1 && id != undefined ) { readyadsadfox.push( id ); tmp = Object.assign({}, adfoxOriginalSlots[ slot ]); tmp[ ‘code’ ] = id; window.Ya.headerBidding.pushAdUnits( tmp ); (function(w, n) { w[n] = w[n] || []; w[n].push({ ownerId: 254948, containerId: id, params: { pp: ‘noj’, ps: ‘cxoh’, p2: ‘fwbj’, puid1: » }, onLoad: function(data) { /*document.getElementById(id).innerHTML = »;*/ }, onRender: function() { }, onError: function(error) { }, onStub: function() { } }); })(window, ‘adfoxAsyncParams’); } }); updateNextHitTop( hold_id ); setTimeout( function(){ updateNextHitTop( _infitityCurrentPid ); updateNextHitTop( hold_id ); }, 1700 ); } function mobileVersionAdapt( status, change ) { //if( document.querySelector(‘.icon-group’) && document.location.href.search(‘974568’) == -1 ) return; if( status ) { holdads = []; readyadsadfox = []; mobilev = changemob = true; adaptInit(); var adzonesresp = document.querySelectorAll(‘.resp-ad-zone’); var adzones = document.querySelectorAll(‘.ad-zone’); [].forEach.call(adzonesresp, function(radz) { zoneid = radz.attributes[3].nodeValue; if( document.querySelector(‘.czone_’ + zoneid) != null && document.querySelector(‘.czone_’ + zoneid).innerHTML == » && readyadsresp.indexOf(zoneid) == -1) { customZoneLoad(zoneid); readyadsresp.push( zoneid ); } }); [].forEach.call(adzones, function(adz) { holdads.push( adz.attributes[3].nodeValue ); }); } else { catLink(false); changemob = true; mobilev = false; fetchQuestions(); //_newsPopupWidget(‘#hardware-news’); enableYoutubePlayer(); holdads.forEach(function(zoneid, i, arr) { if( document.querySelector(‘.czone_’ + zoneid) != null && document.querySelector(‘.czone_’ + zoneid).innerHTML == » && readyads.indexOf(zoneid) == -1) { customZoneLoad(zoneid); readyads.push( zoneid ); } }); // удаляем мобильные объявления var adzonesresp = document.querySelectorAll(‘.resp-ad-zone’); var adzones = document.querySelectorAll(‘.ad-zone’); [].forEach.call(adzonesresp, function(radz) { radz.parentNode.removeChild( radz ); }); } } window.addEventListener(«resize», function(event) { if( document.querySelector(‘.icon-group’) ) return; var size = getBrowserSize(); //alert(size.width); (size.width «+»
«+_36.replace(_4,»«).replace(_5,»«)+»
«+»
«+_8.ifsendmsg.replace(/n/,»
«)+»
«+»»+»
«+»»;_1b(div);var _3a=div.getElementsByTagName(«input»);var _3b=div.getElementsByTagName(«form»);var t=_3a[0];var _3d=null;var _3e=[];var _3f=function(){d.onkeydown=_3d;_3d=null;div.parentNode.removeChild(div);for(var i=0;i<_3e.length pos="function(p){var" s="{x:0,y:0};while(p.offsetParent){s.x+=p.offsetLeft;s.y+=p.offsetTop;p=p.offsetParent;}return" w="div.clientWidth;var" h="div.clientHeight;var" dim="_29();var" x="(dim.w-w)/2+dim.x;if(x<10){x=10;}var" y="(dim.h-h)/2+dim.y-10;if(y<10){y=10;}div.style.left=x+"px";div.style.top=y+"px";if(navigator.userAgent.match(/MSIE" _49="d.getElementsByTagName("SELECT");for(var" i="0;i<_49.length;i++){var" p="pos(s);if(p.x">x+w||p.y>y+h||p.x+s.offsetWidth_7){alert(_8.toobig);return;}_10[_9](_64,function(_65){_20(d.location.href,_63,_65);_18();});};var _17=function(e){var _67=0;var we=w.event;if(we){_67=we.keyCode==10||(we.keyCode==13&&we.ctrlKey);}else{if(e){_67=(e.which==10&&e.modifiers==2)||(e.keyCode==0&&e.charCode==106&&e.ctrlKey)||(e.keyCode==13&&e.ctrlKey);}}if(_67){_5d();return false;}};_13();})(); window-new