/* giorgioarmanibeauty.com.hk *//* cookie-loreal.php *//* loreal-brand/en *//* 220111 */if(typeof $ != "undefined"){ $(document).ready(function(){ $('head').append($(document.createElement('style')).html('.cookie-disclaimer-box { /* position: fixed; */ bottom: 0; left: 0; width: 100%; box-sizing: border-box; background-color: #e0e0e0; line-height: normal; z-index: 100; } .cookie-disclaimer-box .disclaimer-table { padding: 5px 0 10px 0; padding: 2px 0; margin: 0 auto; border-collapse: separate; } .cookie-disclaimer-box td { padding: 0 5px; font-family: arial, sans-serif; color: #333333; font-size: 12px; text-align: left; line-height: 12px; } .cookie-disclaimer-box .button { white-space: nowrap; background: #ffffff; padding: 5px 15px; border-radius: 2px; border: 1px solid #bbbbbb; font-family: arial, sans-serif; color: #333333; display: inline-block; cursor: pointer; text-decoration: none; margin: 2px; display: inline-flex; /* min-width: 80px; height: 30px; */ justify-content: center; align-items: center; } .site--brand .cookie-disclaimer-box button.button { min-width: 80px; height: 30px; } .cookie-disclaimer-box .button:hover { text-decoration: none; } .cookie-disclaimer-box .td-1 { padding-right: 0; } .cookie-disclaimer-box .td-2 { text-align: left; } @media (max-width: 768px){ .cookie-disclaimer-box .td-2 { display: block; } } @media (max-width: 480px){ .cookie-disclaimer-box .td-1 { display: block; padding-right: 10px; } .cookie-disclaimer-box .td-1 table { margin-left: auto; margin-right: auto; } .cookie-disclaimer-box .td-2 { display: table-cell; padding-top: 0; } }')); }); }if(typeof $ != "undefined"){ function getCookiePopupCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i
by browsing this website you accept the use of cookies in order to improve user experience, give you offsite offers tailored to your interest, monitor traffic statistics and to facilitate the sharing of information.
for more information and to change cookies setting click here
'); $('.cookie-disclaimer-box').css(cookie_css_change); setTimeout(function(){ if(typeof resizefunction == 'function'){ resizefunction(); } if(typeof wrapperResize == 'function'){ wrapperResize(); } }, 400); $('.cookie-ok').click(function(event){ event.preventDefault(); if(!$(this).hasClass('clicked')){ $(this).addClass('clicked'); //$('.cookie-disclaimer-box').slideToggle(400, function(){ cookie_box_resize(1); }); cookie_box_resize(1); var cookie_expire = new Date(); cookie_expire.setTime(parseInt('1757296112')*1000); document.cookie = "cookie_brand_popup_giorgioarmanibeauty_com_hk=1; expires="+cookie_expire.toUTCString()+"; path=/; domain=giorgioarmanibeauty.com.hk; "; } setTimeout(function(){ if(typeof resizefunction == 'function'){ resizefunction(); } if(typeof wrapperResize == 'function'){ wrapperResize(); } if(typeof onResizeEvent == 'function'){ onResizeEvent(); } }, 400); }); if($('.cookie-disclaimer-box .cdb-pp-btn').length && $('.cookie-disclaimer-box .cdb-pp-btn').attr('data-href')){ if($('meta[name="site_url"]').length && $('meta[name="lingual_url"]').length){ let temp_href = $('.cookie-disclaimer-box .cdb-pp-btn').attr('data-href'); temp_href = temp_href.replace('{site_url}', $('meta[name="site_url"]').attr('content')); temp_href = temp_href.replace('{lingual_url}', $('meta[name="lingual_url"]').attr('content')); $('.cookie-disclaimer-box .cdb-pp-btn').attr('href', temp_href); } $('.cookie-disclaimer-box .cdb-pp-btn').removeAttr('data-href'); } setTimeout(function(){ cookie_box_resize() }, 400); $(window).resize(function(){ cookie_box_resize(); }); }); }