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_checkinteger(object_value) { //Returns true if value is a number or is NULL //otherwise returns false if (object_value.length == 0) return true; //Returns true if value is an integer defined as // having an optional leading + or -. // otherwise containing only the characters 0-9. var decimal_format = "."; var check_char; //The first character can be + - blank or a digit. check_char = object_value.indexOf(decimal_format) //Was it a decimal? if (check_char < 1) return _CF_checknumber(object_value); else return false; } function _CF_checknumber(object_value) { //Returns true if value is a number or is NULL //otherwise returns false if (object_value.length == 0) return true; //Returns true if value is a number defined as // having an optional leading + or -. // having at most 1 decimal point. // otherwise containing only the characters 0-9. var start_format = " .+-0123456789"; var number_format = " .0123456789"; var check_char; var decimal = false; var trailing_blank = false; var digits = false; //The first character can be + - . blank or a digit. check_char = start_format.indexOf(object_value.charAt(0)) //Was it a decimal? if (check_char == 1) decimal = true; else if (check_char < 1) return false; //Remaining characters can be only . or a digit, but only one decimal. for (var i = 1; i < object_value.length; i++) { check_char = number_format.indexOf(object_value.charAt(i)) if (check_char < 0) return false; else if (check_char == 1) { if (decimal) // Second decimal. return false; else decimal = true; } else if (check_char == 0) { if (decimal || digits) trailing_blank = true; // ignore leading blanks } else if (trailing_blank) return false; else digits = true; } //All tests passed, so... return true } function _CF_checkCFForm_4(_CF_this) { if (!_CF_hasValue(_CF_this.ID, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.ID, _CF_this.ID.value, "Your member ID is required and must be numeric.")) { return false; } } if (!_CF_checkinteger(_CF_this.ID.value)) { if (!_CF_onError(_CF_this, _CF_this.ID, _CF_this.ID.value, "Your member ID is required and must be numeric.")) { return false; } } if (!_CF_hasValue(_CF_this.password, "PASSWORD" )) { if (!_CF_onError(_CF_this, _CF_this.password, _CF_this.password.value, "Your password is required.")) { return false; } } return true; } //-->
Featured Horse Ad
BEAUTIFUL PALOMINO TWHBEA 3 IN ONE PACKAGE
Reg TWHBEA Palomino Mare



Latest Horse Ads
Equine classifieds that get results!

Latest General Ads
Featured Stallion Ad
Black/White Pintabian Stallion at stud
Triple Registered
Featured General Ad
Jackson 2 horse straight load

Member Log In

USAHorseClassifieds.com is part of HorsesMidwest.com and one membership works on both sites.
Become a member today!
Member ID:
Password:
 
Lost ID or password?
Featured General Ad
Equine/Canine Massage Therapy
Equissage Trained and Certified in Equine/Canine M
Latest Testimonial

11/15/08 In all the time I have posted horse ad's online I get the best response from Horses USA compared to any of the others. I'm referring all my friends to this site, for it is very productive! I love how fast ads are updated along with the wonderful communication between the administrator that runs this site and my self.
- Full Testimonial

Show All Testimonials