function validate(form){
var errors = [];
 
if ( !checkRadioArray(form.os0) ) {
errors[errors.length] = ".";
}
 
if (errors.length > 0) {
reportErrors(errors);
return false;
}
 
return true;
}

function checkRadioArray(radioButtons){
for (var i = 0; i < radioButtons.length; i++) {
if (radioButtons[i].checked) {
return true;
}
}
return false;
}

function reportErrors(errors){

var msg = "Please choose the length and color for your leather cord. Thank You. Your friends at Designed2Match Artisan Jewelry";
var numError;
for (var i = 0; i <errors.length; i++) {
numError = i + 1;
msg += errors[i];
}
alert(msg);
}
