function gdpr_createCookie(name,value,days){var expires;if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires=";expires="+date.toGMTString();}else{expires="";}document.cookie=encodeURIComponent(name)+"="+encodeURIComponent(value)+expires+";path=/";}function handle_cookie(op){gdpr_createCookie('gdpr_cookie_state',op,365);location.reload();}function open_banner_gdpr(){$("#wrap_popup_gdpr").fadeIn();}