") .append(stringMessageArray); if (getCookieWomenAdInfinite("bfVIPAllClose") == "") { $(divBarWomen).append(divMessage); $("#browser-check").append(divBarWomen); $('.js-sticky_header-wrapper').height($('.js-sticky_header').outerHeight()); $(".inifinite-text_Ad_promotionPO .divContainerCloseHeaderAdPromo").on("click", function(event) { event.preventDefault(); $(".divBarWomen").css("display", "none"); setCookieWomenAdInfinite("bfVIPAllClose", Date.now(), 3); closeClickBtn = true; var heightSiteHeader = $(".b-site_header").height(); if (heightSiteHeader != undefined && heightSiteHeader != null && heightSiteHeader > 0) { $(".b-site_header-placeholder").css("height", heightSiteHeader + "px"); } }); } });