return false;} $(document).ready(function(e){ if(getCookie('p_cookies_accepted') == null){ $('#cookie-policy').show();}else{ $('#cookie-policy').remove();} });