// this file is dynamically generated
function validatefields14(form){
var alertmsg = "Permission: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if (alertmsg == "Permission: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields15(form){
var alertmsg = "Elections: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext54.value == "") alertmsg = alertmsg + "Please answer question # 1.\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 # 2.\n";
if (alertmsg == "Elections: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields18(form){
var alertmsg = "Presidential Election 2008: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext59.value == "") alertmsg = alertmsg + "Please answer question # 1.\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 # 2.\n";
if (alertmsg == "Presidential Election 2008: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields17(form){
var alertmsg = "Presidential Election 2008: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext56.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
var options = 0;var answers_num = 0;
if(form.choice55[1-1].checked == true)options++;
if(form.choice55[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 # 2.\n";
if (alertmsg == "Presidential Election 2008: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields19(form){
var alertmsg = "Yom Hashishi Survey: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
var options = 0;var answers_num = 0;
if(form.choice69[1-1].checked == true)options++;
if(form.choice69[2-1].checked == true)options++;
if(form.choice69[3-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 1.\n";
var options = 0;var answers_num = 0;
if(form.choice68[1-1].checked == true)options++;
if(form.choice68[2-1].checked == true)options++;
if(form.choice68[3-1].checked == true)options++;
if(form.choice68[4-1].checked == true)options++;
if(form.choice68[5-1].checked == true)options++;
if(form.choice68[6-1].checked == true)options++;
if(form.choice68[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 # 2.\n";
var options = 0;var answers_num = 0;
if(form.choice74[1-1].checked == true)options++;
if(form.choice74[2-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 3.\n";
var options = 0;var answers_num = 0;
if(form.choice64[1-1].checked == true)options++;
if(form.choice64[2-1].checked == true)options++;
if(form.choice64[3-1].checked == true)options++;
answers_num = 1;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 4.\n";
var options = 0;var answers_num = 0;
if(form.choice70[1-1].checked == true)options++;
if(form.choice70[2-1].checked == true)options++;
answers_num = 0;
if (options < answers_num) alertmsg = alertmsg + "You must select at least " + answers_num + " option(s) for question # 5.\n";
if (alertmsg == "Yom Hashishi Survey: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields20(form){
var alertmsg = "E-news Sign-up: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if(form.answertext84.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext85.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext82.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
if (alertmsg == "E-news Sign-up: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
function validatefields21(form){
var alertmsg = "We are revising our advertising strategies and need your help!: Please enter the following required information:\n\n";
var options = 0;
var answers_num = 0;
if (alertmsg == "We are revising our advertising strategies and need your help!: Please enter the following required information:\n\n"){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}
