" ; } function create_cookie(value, days2expire, path) { var name = 'keybordingSettings'; var date = new Date(); date.setTime(date.getTime() + (days2expire * 24 * 60 * 60 * 1000)); var expires = date.toUTCString(); document.cookie = name + '=' + value + ';' + 'expires=' + expires + ';' + 'path=' + path + ';'; } function getSettings() { //document.getElementById('debug_txt').innerText = "brown-false-true-true-false"; return "brown-false-true-true-false"; } function delete_cookie() { name = 'keybordingSettings'; document.cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"; }