// this file is dynamically generated
function validatefields2(form){
var alertmsg = "Free Market Analysis - Please complete the following: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
if(form.choice9[1-1].checked == true)options++;
if(form.choice9[2-1].checked == true)options++;
if(form.choice9[3-1].checked == true)options++;
if(form.choice9[4-1].checked == true)options++;
if(form.choice9[5-1].checked == true)options++;
if(form.choice9[6-1].checked == true)options++;
if(form.choice9[7-1].checked == true)options++;
if(form.choice9[8-1].checked == true)options++;
if(form.choice9[9-1].checked == true)options++;
if(form.choice9[10-1].checked == true)options++;
if(form.choice9[11-1].checked == true)options++;
if(form.choice9[12-1].checked == true)options++;
if(form.choice9[13-1].checked == true)options++;
if(form.choice9[14-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 6.\n";
var options = 0;var answers_num = 0;
if(form.choice16[1-1].checked == true)options++;
if(form.choice16[2-1].checked == true)options++;
if(form.choice16[3-1].checked == true)options++;
if(form.choice16[4-1].checked == true)options++;
if(form.choice16[5-1].checked == true)options++;
if(form.choice16[6-1].checked == true)options++;
if(form.choice16[7-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 13.\n";
var options = 0;var answers_num = 0;
if(form.choice17[1-1].checked == true)options++;
if(form.choice17[2-1].checked == true)options++;
if(form.choice17[3-1].checked == true)options++;
if(form.choice17[4-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 14.\n";
var options = 0;var answers_num = 0;
if(form.choice18[1-1].checked == true)options++;
if(form.choice18[2-1].checked == true)options++;
if(form.choice18[3-1].checked == true)options++;
if(form.choice18[4-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 15.\n";
var options = 0;var answers_num = 0;
if(form.choice19[1-1].checked == true)options++;
if(form.choice19[2-1].checked == true)options++;
if(form.choice19[3-1].checked == true)options++;
if(form.choice19[4-1].checked == true)options++;
if(form.choice19[5-1].checked == true)options++;
if(form.choice19[6-1].checked == true)options++;
if(form.choice19[7-1].checked == true)options++;
if(form.choice19[8-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 16.\n";
var options = 0;var answers_num = 0;
if(form.choice22[1-1].checked == true)options++;
if(form.choice22[2-1].checked == true)options++;
if(form.choice22[3-1].checked == true)options++;
if(form.choice22[4-1].checked == true)options++;
if(form.choice22[5-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 18.\n";
var options = 0;var answers_num = 0;
if(form.choice53[1-1].checked == true)options++;
if(form.choice53[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 19.\n";
if (alertmsg == "Free Market Analysis - Please complete the following: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields3(form){
var alertmsg = "Receive Automatic, Continuous Home Updates - Please complete the below information: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
if(form.choice34[1-1].checked == true)options++;
if(form.choice34[2-1].checked == true)options++;
if(form.choice34[3-1].checked == true)options++;
if(form.choice34[4-1].checked == true)options++;
if(form.choice34[5-1].checked == true)options++;
if(form.choice34[6-1].checked == true)options++;
if(form.choice34[7-1].checked == true)options++;
if(form.choice34[8-1].checked == true)options++;
if(form.choice34[9-1].checked == true)options++;
if(form.choice34[10-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 8.\n";
var options = 0;var answers_num = 0;
if(form.choice39[1-1].checked == true)options++;
if(form.choice39[2-1].checked == true)options++;
if(form.choice39[3-1].checked == true)options++;
if(form.choice39[4-1].checked == true)options++;
if(form.choice39[5-1].checked == true)options++;
if(form.choice39[6-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 13.\n";
var options = 0;var answers_num = 0;
if(form.choice41[1-1].checked == true)options++;
if(form.choice41[2-1].checked == true)options++;
if(form.choice41[3-1].checked == true)options++;
if(form.choice41[4-1].checked == true)options++;
if(form.choice41[5-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 15.\n";
var options = 0;var answers_num = 0;
if(form.choice42[1-1].checked == true)options++;
if(form.choice42[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 16.\n";
var options = 0;var answers_num = 0;
if(form.choice43[1-1].checked == true)options++;
if(form.choice43[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 17.\n";
var options = 0;var answers_num = 0;
if(form.choice44[1-1].checked == true)options++;
if(form.choice44[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 18.\n";
if (alertmsg == "Receive Automatic, Continuous Home Updates - Please complete the below information: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields5(form){
var alertmsg = "Suggestions: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext51.value == "") alertmsg = alertmsg + "Please answer question # 4.\n";
if (alertmsg == "Suggestions: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields7(form){
var alertmsg = "Enrollment Form: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext55.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext56.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext57.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
if(form.answertext58.value == "") alertmsg = alertmsg + "Please answer question # 4.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice59.length;i++){if(form.choice59[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 5.\n";
var options = 0;var answers_num = 0;
if(form.choice60[1-1].checked == true)options++;
if(form.choice60[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 6.\n";
var options = 0;var answers_num = 0;
if(form.choice61[1-1].checked == true)options++;
if(form.choice61[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 7.\n";
if (alertmsg == "Enrollment Form: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields9(form){
var alertmsg = "Welcome Bag sign up: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext65.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice66[1-1].checked == true)options++;
if(form.choice66[2-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 3.\n";
if (alertmsg == "Welcome Bag sign up: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
