return false; } else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX") { if (obj.checked) return true; else return false; } else if (obj_type == "RADIO" || obj_type == "CHECKBOX") { for (i=0; i < obj.length; i++) { if (obj[i].checked) return true; } return false; } } function _CF_checklogin(_CF_this) { if (!_CF_hasValue(_CF_this.username, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.username, _CF_this.username.value, "Error in username text.")) { return false; } } if (!_CF_hasValue(_CF_this.pword, "PASSWORD" )) { if (!_CF_onError(_CF_this, _CF_this.pword, _CF_this.pword.value, "Error in pword text.")) { return false; } } return true; } //-->