твртвр укръкьрък (function (w) { w.pgwSlideshow23301 = $('.dk-inlineGallery-23301').pgwSlideshow(); w.addEventListener( 'load', function(){ init(); setTimeout(function(){ $('.dk-galleryWrapper23301').css({ height: 'auto', visibility: 'visible' }); }, 500); } ); $(w).resize(init); function init(){ w.gallClass23301 = '.dk-galleryWrapper23301 .pgwSlideshow'; w.maxH23301 = screen.height > 540 ? 540 : screen.height; w.gallW23301 = $(w.gallClass23301).width(); var h = w.gallW23301 * 9/16, maxH = w.maxH23301 > h? h : w.maxH23301; w.pgwObj23301 = { displayControls: screen.width > 521 ? true : false }; w.pgwSlideshow23301.reload(w.pgwObj23301); setSize( maxH ); } function setSize( s ){ var img = $('.pgwSlideshow .ps-current > ul > li img'); img.hide(); $('.pgwSlideshow .ps-current').css({ minHeight: s, maxHeight: s, height: s }); $('.pgwSlideshow .ps-current > ul > li').css('height', s + 'px'); setTimeout(function(){ img.attr('style', 'max-height: 100%; position: relative; top: 50%; transform: translateY(-50%);'); img.show(); }, 300); $('.pgwSlideshow .ps-prev').css('z-index', 2); } })(window); ръйръйьрфй window.teads_analytics = window.teads_analytics || {}; window.teads_analytics.analytics_tag_id = "PUB_26730"; window.teads_analytics.share = window.teads_analytics.share || function() { ;(window.teads_analytics.shared_data = window.teads_analytics.shared_data || []).push(arguments) };