function init() { try { var idBox = document.getElementById("c_id"); if (trim(idBox.value) == "") { idBox.select(); idBox.focus(); } else { document.getElementById("c_passwd").focus(); } } catch(e) {} }