/* Starfield Web Controls Core Script Functions */ /* Control Access */ function swc_getById(sID) { return (sID ? document.getElementById(sID) : null); } function swc_hideById(sID) { var ctl = swc_getById(sID); if (!ctl) return; ctl.style.display = 'none'; } function swc_showById(sID) { var ctl = swc_getById(sID); if (!ctl) return; ctl.style.display = 'block'; } function swc_invisibleById(sID) { var ctl = swc_getById(sID); if (!ctl) return; ctl.style.visibility = 'hidden'; } function swc_visibleById(sID) { var ctl = swc_getById(sID); if (!ctl) return; ctl.style.visibility = 'visible'; } function swc_messageConfirm(message) { if (confirm(message)) { document.body.style.cursor="wait"; return true; } return false; }