function controlCookies(value) { if(value=="user"){ elms=document.getElementById('consent-settings').querySelectorAll('input[type=checkbox]'); for (let i=0;i