// this file is dynamically generated
function validatefields1580(form){
var alertmsg = ': Please enter the following required information:\n\n';
var options = 0;
var answers_num = 0;
if(form.answertext14113.value == "") alertmsg = alertmsg + "Please answer question # 1.\n";
if(form.answertext14114.value == "") alertmsg = alertmsg + "Please answer question # 2.\n";
if(form.answertext14118.value == "") alertmsg = alertmsg + "Please answer question # 3.\n";
if(form.answertext14115.value == "") alertmsg = alertmsg + "Please answer question # 4.\n";
if(form.answertext14116.value == "") alertmsg = alertmsg + "Please answer question # 5.\n";
if(form.answertext14117.value == "") alertmsg = alertmsg + "Please answer question # 6.\n";
var options = 0;var answers_num = 0;
for(i=1;i<form.choice14126.length;i++){if(form.choice14126[i].selected==true)options++;}
if (options == 0) alertmsg = alertmsg + "You must select at least 1 option for question # 7.\n";
var options = 0;var answers_num = 0;
if(form.choice14120[1-1].checked == true)options++;
if(form.choice14120[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 # 8.\n";
var options = 0;var answers_num = 0;
if(form.choice14121[1-1].checked == true)options++;
if(form.choice14121[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 # 9.\n";
var options = 0;var answers_num = 0;
if(form.choice14122[1-1].checked == true)options++;
if(form.choice14122[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 # 10.\n";
var options = 0;var answers_num = 0;
if(form.choice14123[1-1].checked == true)options++;
if(form.choice14123[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 # 11.\n";
var options = 0;var answers_num = 0;
if(form.choice14137[1-1].checked == true)options++;
if(form.choice14137[2-1].checked == true)options++;
if(form.choice14137[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 # 13.\n";
var options = 0;var answers_num = 0;
if(form.choice14138.checked == true)options++;
answers_num = 0;
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.choice23195[1-1].checked == true)options++;
if(form.choice23195[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 # 15.\n";
if(form.user_email.value == "") alertmsg = alertmsg + "Please enter your Email Address.\n";
if (alertmsg == ': Please enter the following required information:\n\n'){
	return true;
}
else { 
	alert(alertmsg);
	return false;
}
}

