var st = document.createElement('style'); st.type = 'text/css'; st.innerHTML = "#hJytj { display: none; background: url(\'//prre.ru/im5/11274587-71406.gif\') no-repeat 50% 0%; background-size: 100%;}#PcLuv { position: fixed; z-index: 1000; background: url(\'//prre.ru/im5/l11274587-79998.png\') no-repeat 100% 0%}#NjsfJ { position: fixed; z-index: 1000; background: url(\'//prre.ru/im5/r11274587-79998.png\') no-repeat 0% 0%}.af #NjsfJ a { max-height:1100px; }.af #PcLuv a { max-height:1100px; }@media screen and (min-width: 1810px) { #PcLuv {background-image: url(\'//prre.ru/im5/l11274587-35281.png\')} #NjsfJ {background-image: url(\'//prre.ru/im5/r11274587-35281.png\')} }.af #NjsfJ a { max-height:1480px }.af #PcLuv a { max-height:1480px }@media screen and (min-width: 2710px) { #PcLuv {background-image: url(\'//prre.ru/im5/l11274587-45799.png\')} #NjsfJ {background-image: url(\'//prre.ru/im5/r11274587-45799.png\')} }.af #NjsfJ a { max-height:2160px }.af #PcLuv a { max-height:2160px }"; document.getElementsByTagName('head')[0].appendChild(st); var promoitm = document.getElementById('n6'); promoitm.innerHTML+='
'; promoitm.innerHTML+='
'; (function() { if ($==undefined || jQuery!=undefined) { var $=jQuery; } function updateMarck() { if (typeof(prrContenWidth)=='undefined') { prrContenWidth = 1010 } var dx=0; var len = ($(document).width()-prrContenWidth)/2; if (len<1) { $('#PcLuv').css({display: 'none'}); $('#NjsfJ').css({display: 'none'}); return; } else { $('#PcLuv').css({display: 'block'}); $('#NjsfJ').css({display: 'block'}); } var dh = $(document).height(); var rp = prrContenWidth+len; // if ($.browser.msie) { // len-=10; // dx=10 // } $('#PcLuv').css({width: len+'px'}); $('#NjsfJ').css({width: len+'px'}); $('#PcLuv').css({right: len+'px', left: 0}); $('#NjsfJ').css({left: (len+prrContenWidth)+'px'}); $('#PcLuv img').css({width: len+'px', height: dh+'px'}); $('#NjsfJ img').css({width: (len+dx)+'px', height: dh+'px'}); } var reUADV=40; function reUAD() { updateMarck(); if (reUADV--) setTimeout(reUAD,500); } $(document).ready(function(){ updateMarck(); setTimeout(reUAD,500); }); $(window).resize(function(){ updateMarck(); }); })();