// this file is dynamically generated
function validatefields47(form){
var alertmsg = 'Spring Brook Website Inquiry: Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext217.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext218.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext223.value == "") alertmsg = alertmsg + "Please answer question # 6.\n";
if(form.answertext224.value == "") alertmsg = alertmsg + "Please answer question # 7.\n";
var options = 0;var answers_num = 0;
if(form.choice228[1-1].checked == true)options++;
if(form.choice228[2-1].checked == true)options++;
if(form.choice228[3-1].checked == true)options++;
if(form.choice228[4-1].checked == true)options++;
if(form.choice228[5-1].checked == true)options++;
if(form.choice228[6-1].checked == true)options++;
if(form.choice228[7-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 10.\n";
var options = 0;var answers_num = 0;
if(form.choice269[1-1].checked == true)options++;
if(form.choice269[2-1].checked == true)options++;
if(form.choice269[3-1].checked == true)options++;
if(form.choice269[4-1].checked == true)options++;
if(form.choice269[5-1].checked == true)options++;
if(form.choice269[6-1].checked == true)options++;
if(form.choice269[7-1].checked == true)options++;
if(form.choice269[8-1].checked == true)options++;
if(form.choice269[9-1].checked == true)options++;
if(form.choice269[10-1].checked == true)options++;
if(form.choice269[11-1].checked == true)options++;
if(form.choice269[12-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 12.\n";
if (alertmsg == 'Spring Brook Website Inquiry: Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
