// REQUIRES LOADING 'GENERALVALIDATE.JS' BEFORE
// THIS FILE IN YOUR CALLING PAGE

var isOkay = true;

aFieldList = new Array();
aFieldList[0] = "isMail(document.forms[\"f1\"].email);"


function CheckForm(){
    iLength = aFieldList.length;
    for(i = 0; i < iLength; i++){
        if(isOkay){
            //alert("i = " + i);
            isOkay = eval(aFieldList[i]);
        }
    }


	if(isOkay){
	// BOAT
		if(document.forms["f1"].Boat[0].selected == true )  {
			alert("Please select a boat.");
			document.forms["f1"].Boat.focus();
			isOkay = true;
			return false;
		}
	} else {
		isOkay = true;
		return false;
	}
	
	
	

	if(isOkay){
	// alert("Form completed!");
	  return true;
    } else {
        isOkay = true;
        return false;
    }
}

