function menu(id, status) { document.getElementById(id).style.display = ((status) ? "block" : "none"); }