' + bubbleMenu + '
');
jQuery('.topSlotWrap .navigationSegment .commonBlocHeader .meniu-carusel #lightSlider-bubbleSubcat .slider-item:first-child').before(jQuery('.topSlotWrap .navigationSegment .commonBlocHeader .news-header, .topSlotWrap .navigationSegment .commonBlocHeader .bubblesPartition'));
setTimeout(function() {
if(jQuery("#lightSlider-bubbleSubcat").length > 0){
jQuery('.topSlotWrap .navigationSegment #lightSlider-bubbleSubcat').css('display', 'block');
sl = jQuery("#lightSlider-bubbleSubcat").lightSlider({
autoWidth: true,
enableTouch: true,
enableDrag: true,
freeMove: true,
auto: false,
loop: false,
enableArrows: true,
parentElement: '.meniu-carusel',
extraWidth: 50,
onSliderLoad: function() {
jQuery('.topSlotWrap .navigationSegment #lightSlider-bubbleSubcat span.bubblesPartition').attr('style', 'margin-right: 0 !important');
jQuery('.topSlotWrap .navigationSegment .lSSlideOuter, .topSlotWrap .navigationSegment .lSSlideWrapper, .topSlotWrap .navigationSegment #lightSlider-bubbleSubcat').css('overflow', 'unset');
jQuery('.topSlotWrap .navigationSegment #lightSlider-bubbleSubcat .news-header').css('padding-left', '0');
jQuery("#lightSlider-bubbleSubcat").removeClass("cS-hidden");
}
});
jQuery('.meniu-carusel .arrow-left').on('click', function () {
sl.goToPrevSlide();
});
jQuery('.meniu-carusel .arrow-right').on('click', function () {
sl.goToNextSlide();
});
}
}, 500);
}
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.tv .header-item-mobile').show();
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.share').hide();
jQuery('.left-desktop-sticky-btn').css('margin-right', '-44px');
jQuery('.left-desktop-sticky-btn').css('margin-left', '-5px');
jQuery('.topSlotWrap .calendarLogo').css('margin', '16px -39px 0 39px');
jQuery('#menu-back-button').show();
}
else if(window.location.pathname.startsWith('/gaires')) { //gaires
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.tv .header-item-mobile').show();
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.share').hide();
jQuery('.left-desktop-sticky-btn').css('margin-right', '-44px');
jQuery('.left-desktop-sticky-btn').css('margin-left', '-5px');
jQuery('.topSlotWrap .calendarLogo').css('margin', '16px -39px 0 39px');
jQuery('#menu-back-button').show();
jQuery('.meniu-carusel').show();
}
else { //straipsnis ir visa kita
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.share, .topSlotWrap .navigationSegment .header-item-wrap.share .header-item-mobile').show();
jQuery('.topSlotWrap .navigationSegment .header-item-wrap.tv').hide();
jQuery('.left-desktop-sticky-btn').css('margin-right', '-44px');
jQuery('.left-desktop-sticky-btn').css('margin-left', '-5px');
jQuery('.topSlotWrap .calendarLogo').css('margin', '16px -39px 0 39px');
jQuery('#menu-back-button').show();
if(!window.sessionStorage.getItem('checkedMyNews')){
jQuery('.commonBlocHeader .myNewsButton .notificationBubble').show();
}
}
}
if(jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account').length > 0) {
jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account').on('click', function() {
if(jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account .user-sub-block.open').length > 0) {
jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account .user-sub-block').removeClass('open');
}
else {
jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account .user-sub-block').addClass('open');
}
});
}
jQuery('.topSlotWrap .navigationSegment .restriction .header-item-wrap.account').on('blur', function() {
if(jQuery('.user-sub-block.open').length > 0) {
jQuery('.user-sub-block.open').removeClass('open');
}
});
}
else {
if(window.location.pathname && window.location.pathname == '/' && !window.sessionStorage.getItem('checkedMyNews')) {
jQuery('#mainbar .choicesContainer .notificationBubble').show();
}
}
jQuery(".left-desktop-sticky-btn").click(function () {
jQuery(".iconic-popup-cover").toggle();
jQuery("#leftDesktopSticky").addClass("moveIn");
jQuery("#leftDesktopSticky").removeClass("sticky-hide");
jQuery("#leftDesktopSticky").removeClass("moveOut");
jQuery("#leftDesktopSticky").show();
if(jQuery(window).innerWidth()