function validateSettings() { alert(document.getElementById('safety').checked); return false; }