function checkform(upta09)
{

	if (!upta09.confirm_available.checked) {
	// field is empty
	alert('You must affirm that you are available for work throughout the year.')
	upta09.confirm_available.focus(); 
	return false;
}

	if ((upta09.registration_type[2].checked == false) && (upta09.registration_type[1].checked == false) && (upta09.registration_type[0].checked == false)) {
	// field is empty 
	alert('You must choose your registration type.')
	upta09.registration_type[1].focus(); 
	return false;
}


	if (upta09.first_name.value == "") {
	// field is empty
	alert('Please enter your first name')
	upta09.first_name.focus(); 
	return false;
}

	if (upta09.last_name.value == "") {
	// field is empty
	alert('Please enter your last name')
	upta09.last_name.focus(); 
	return false;
}

	if (upta09.email.value == "") {
	// field is empty
	alert('Please enter your email address')
	upta09.email.focus(); 
	return false;
}


var emailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2,6})$/;

	if (upta09.email.value != '' && !upta09.email.value.match(emailformat)) {
      alert("Invalid email format: " + upta09.email.value + "\rPlease try again");
      upta09.email.focus();
      return false;
}

	if (upta09.email2.value == "") {
	// field is empty
	alert('Please confirm your email address')
	upta09.email2.focus(); 
	return false;
}

	if (upta09.email2.value != '' && !upta09.email2.value.match(emailformat)) {
      alert("Invalid email format: " + upta09.email2.value + "\rPlease try again");
      upta09.email2.focus();
      return false;
}


	if (upta09.email.value != upta09.email2.value) {
      alert("Your email address entries do not match, please confirm your email address.");
      upta09.email2.focus();
      return false;
}

	if (upta09.address.value == "") {
	// field is empty
	alert('Please enter your address')
	upta09.address.focus(); 
	return false;
}

	if (upta09.city.value == "") {
	// field is empty
	alert('Please enter your city')
	upta09.city.focus(); 
	return false;
}

	if (upta09.state.value == "") {
	// field is empty
	alert('Please enter your state')
	upta09.state.focus(); 
	return false;
}

	if (upta09.zip.value == "") {
	// field is empty
	alert('Please enter your zip code')
	upta09.zip.focus(); 
	return false;
}

var zipformat = /(^\d{5}$)|(^\d{5}-\d{4}$)/;

	if (upta09.zip.value != '' && !upta09.zip.value.match(zipformat)) {
      alert("Invalid zip code format: " + upta09.zip.value + "\rPlease enter as ##### or #####-####");
      upta09.zip.focus();
      return false;
}

	if (upta09.phone_number.value == "") {
	// field is empty
	alert('Please enter your phone number')
	upta09.phone_number.focus(); 
	return false;
}

var phoneformat = /^\(?(\d{3})\)?[-\. ]?(\d{3})[-\. ]?(\d{4})$/;

	if (upta09.phone_number.value != '' && !upta09.phone_number.value.match(phoneformat)) {
      alert("Invalid phone number format: " + upta09.phone_number.value + "\rPlease enter as ### ### ####");
      upta09.phone_number.focus();
      return false;
}

	if ((upta09.permanent_address[1].checked == false) && (upta09.permanent_address[0].checked == false)) {
	// field is empty
	alert('You must identify if you have provided your Permanent Address and Contact Details.')
	upta09.permanent_address[0].focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_address.value == "")) {
	// field is empty
	alert('Please enter your permanent address.')
	upta09.prm_address.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_city.value == "")) {
	// field is empty
	alert('Please enter your permanent city.')
	upta09.prm_city.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_state.value == "")) {
	// field is empty
	alert('Please enter your permanent state.')
	upta09.prm_state.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_zip.value == "")) {
	// field is empty
	alert('Please enter your permanent zip code.')
	upta09.prm_zip.focus(); 
	return false;
}

	if (upta09.permanent_address[1].checked == true && upta09.prm_zip.value != '' && !upta09.prm_zip.value.match(zipformat)) {
      alert("Invalid zip code format: " + upta09.prm_zip.value + "\rPlease enter as ##### or #####-####");
      upta09.prm_zip.focus();
      return false;
}

	if (upta09.prm_phone_number.value != '' && !upta09.prm_phone_number.value.match(phoneformat)) {
      alert("Invalid permanent phone number format: " + upta09.prm_phone_number.value + "\rPlease enter as ### ### ####");
      upta09.prm_phone_number.focus();
      return false;
}

	if ((upta09.singing[1].checked == false) && (upta09.singing[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be singing at your audition.')
	upta09.singing[0].focus(); 
	return false;
}

	if (upta09.availability_month.value == "") {
	// field is empty
	alert('You must provide your date of availability.')
	upta09.availability_month.focus(); 
	return false;
}

	
	if ((upta09.production_interview[1].checked == false) && (upta09.production_interview[0].checked == false)) {
	// field is empty
	alert('You must identify if you will also be interviewing for production positions.')
	upta09.production_interview[1].focus(); 
	return false;
}

	if ((upta09.production_interview[0].checked == true) && (upta09.productionarea.value == "")) {
	// field is empty
	alert('You must provide your Production Area under Production Personnel Qualifications.')
	upta09.productionarea.focus(); 
	return false;
}

	if ((upta09.production_interview[0].checked == true) && (upta09.production_prev_upta.value == "") && (upta09.production_degree[0].checked == false) && (upta09.production_degree[1].checked == false) && (upta09.equity_stage_manager.checked == false) && (upta09.require_tech_validation.checked == false)) {
	// field is empty
	alert('You must provide your Production Personnel Qualifications.')
	upta09.production_prev_upta.focus(); 
	return false;
}

	if ((upta09.production_interview[0].checked == true) && (upta09.production_degree[0].checked == true) && (upta09.production_degree_name.value == "")) {
	// field is empty
	alert('You must provide your degree name under Production Personnel Qualifications.')
	upta09.production_degree_name.focus(); 
	return false;
}

	if ((upta09.production_interview[0].checked == true) && (upta09.production_degree[0].checked == true) && (upta09.production_degree_school.value == "")) {
	// field is empty
	alert('You must provide your degree school under Production Personnel Qualifications.')
	upta09.production_degree_school.focus(); 
	return false;
}


	if ((upta09.production_interview[0].checked == true) && (upta09.production_degree[1].checked == true) && (upta09.production_degree_name.value == "")) {
	// field is empty
	alert('You must provide your degree name under Production Personnel Qualifications.')
	upta09.production_degree_name.focus(); 
	return false;
}

	if ((upta09.production_interview[0].checked == true) && (upta09.production_degree[1].checked == true) && (upta09.production_degree_school.value == "")) {
	// field is empty
	alert('You must provide your degree school under Production Personnel Qualifications.')
	upta09.production_degree_school.focus(); 
	return false;
}

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_sun.value == "") && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('You must choose a day to audition on.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_sun.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Sunday.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Monday.')
	upta09.prefer_to_audition_mon.focus(); 
	return false;
}


	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sat.value == "") && (upta09.prefer_to_audition_sun.value == "") && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('You must choose a day to audition on.')
	upta09.prefer_to_audition_sat.focus(); 
	return false;
}

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sat.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Saturday.')
	upta09.prefer_to_audition_sat.focus(); 
	return false;
}

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sun.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Sunday.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}	

	if ((upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Monday.')
	upta09.prefer_to_audition_mon.focus(); 
	return false;
}


	if ((upta09.if_slots_full[0].checked == false) && (upta09.if_slots_full[1].checked == false) && (upta09.if_slots_full[2].checked == false)) {
	// field is empty
	alert('You must indicate your preference if all audition slots are full.')
	upta09.if_slots_full[0].focus(); 
	return false;

}

var checkBoxes = document.getElementsByName('interest[]');
	var totalChecked = 0;
	for (var i=0; i< checkBoxes.length; i++)
	{
		if (checkBoxes[i].checked == true)
		{
			totalChecked++;
		}
	} 
	if (totalChecked <= 0)
	{
		alert("You must indicate at least one area of interest.");
		checkBoxes[0].focus();
		return false;
}

	if ((upta09.production1.value == "") && (upta09.production2.value == "") && (upta09.production3.value == "") && (upta09.production4.value == "") && (upta09.production5.value == "") && (upta09.production6.value == "") && (upta09.production7.value == "") && (upta09.production8.value == "") && (upta09.production9.value == "") && (upta09.production10.value == "") && (upta09.production11.value == "") && (upta09.production12.value == "")) {
	// field is empty
	alert('You must enter at least one Production under Performance Experience.')
	upta09.production1.focus(); 
	return false;

}

	if ((upta09.role1.value == "") && (upta09.role2.value == "") && (upta09.role3.value == "") && (upta09.role4.value == "") && (upta09.role5.value == "") && (upta09.role6.value == "") && (upta09.role7.value == "") && (upta09.role8.value == "") && (upta09.role9.value == "") && (upta09.role10.value == "") && (upta09.role11.value == "") && (upta09.role12.value == "")) {
	// field is empty
	alert('You must enter at least one Role under Performance Experience.')
	upta09.role1.focus(); 
	return false;

}

	if ((upta09.theatre1.value == "") && (upta09.theatre2.value == "") && (upta09.theatre3.value == "") && (upta09.theatre4.value == "") && (upta09.theatre5.value == "") && (upta09.theatre6.value == "") && (upta09.theatre7.value == "") && (upta09.theatre8.value == "") && (upta09.theatre9.value == "") && (upta09.theatre10.value == "") && (upta09.theatre11.value == "") && (upta09.theatre12.value == "")) {
	// field is empty
	alert('You must enter at least one Theatre under Performance Experience.')
	upta09.theatre1.focus(); 
	return false;

}

	if (upta09.education.value == "") {
	// field is empty
	alert('You must enter your Education/Training.')
	upta09.education.focus(); 
	return false;

}

	if ((upta09.thefile.value == "") && (upta09.no_headshot.checked == false)) {
	// field is empty
	alert('You must select your headshot.')
	upta09.thefile.focus(); 
	return false;

}


	// If the script gets this far through all of your fields
	// without problems, it's ok and you can submit the form

	return true;
}



<!-- ########## Production Personnel Form Validation ########## -->




function checkppform(upta09)
{

	if (!upta09.confirm_available.checked) {
	// field is empty
	alert('You must affirm that you are available for work throughout the year.')
	upta09.confirm_available.focus(); 
	return false;
}

	if (upta09.first_name.value == "") {
	// field is empty
	alert('Please enter your first name')
	upta09.first_name.focus(); 
	return false;
}

	if (upta09.last_name.value == "") {
	// field is empty
	alert('Please enter your last name')
	upta09.last_name.focus(); 
	return false;
}

	if (upta09.email.value == "") {
	// field is empty
	alert('Please enter your email address')
	upta09.email.focus(); 
	return false;
}


var emailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2,6})$/;

	if (upta09.email.value != '' && !upta09.email.value.match(emailformat)) {
      alert("Invalid email format: " + upta09.email.value + "\rPlease try again");
      upta09.email.focus();
      return false;
}


	if (upta09.email2.value == "") {
	// field is empty
	alert('Please confirm your email address')
	upta09.email2.focus(); 
	return false;
}

	if (upta09.email2.value != '' && !upta09.email2.value.match(emailformat)) {
      alert("Invalid email format: " + upta09.email2.value + "\rPlease try again");
      upta09.email2.focus();
      return false;
}


	if (upta09.email.value != upta09.email2.value) {
      alert("Your email address entries do not match, please confirm your email address.");
      upta09.email2.focus();
      return false;

}

	if (upta09.address.value == "") {
	// field is empty
	alert('Please enter your address')
	upta09.address.focus(); 
	return false;
}

	if (upta09.city.value == "") {
	// field is empty
	alert('Please enter your city')
	upta09.city.focus(); 
	return false;
}

	if (upta09.state.value == "") {
	// field is empty
	alert('Please enter your state')
	upta09.state.focus(); 
	return false;
}

	if (upta09.zip.value == "") {
	// field is empty
	alert('Please enter your zip code')
	upta09.zip.focus(); 
	return false;
}

var zipformat = /(^\d{5}$)|(^\d{5}-\d{4}$)/;

	if (upta09.zip.value != '' && !upta09.zip.value.match(zipformat)) {
      alert("Invalid zip code format: " + upta09.zip.value + "\rPlease enter as ##### or #####-####");
      upta09.zip.focus();
      return false;
}

	if (upta09.phone_number.value == "") {
	// field is empty
	alert('Please enter your phone number')
	upta09.phone_number.focus(); 
	return false;
}

var phoneformat = /^\(?(\d{3})\)?[-\. ]?(\d{3})[-\. ]?(\d{4})$/;

	if (upta09.phone_number.value != '' && !upta09.phone_number.value.match(phoneformat)) {
      alert("Invalid phone number format: " + upta09.phone_number.value + "\rPlease enter as ### ### ####");
      upta09.phone_number.focus();
      return false;
}

	if ((upta09.permanent_address[1].checked == false) && (upta09.permanent_address[0].checked == false)) {
	// field is empty
	alert('You must identify if you have provided your Permanent Address and Contact Details.')
	upta09.permanent_address[0].focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_address.value == "")) {
	// field is empty
	alert('Please enter your permanent address.')
	upta09.prm_address.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_city.value == "")) {
	// field is empty
	alert('Please enter your permanent city.')
	upta09.prm_city.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_state.value == "")) {
	// field is empty
	alert('Please enter your permanent state.')
	upta09.prm_state.focus(); 
	return false;
}

	if ((upta09.permanent_address[1].checked == true) && (upta09.prm_zip.value == "")) {
	// field is empty
	alert('Please enter your permanent zip code.')
	upta09.prm_zip.focus(); 
	return false;
}

	if (upta09.permanent_address[1].checked == true && upta09.prm_zip.value != '' && !upta09.prm_zip.value.match(zipformat)) {
      alert("Invalid zip code format: " + upta09.prm_zip.value + "\rPlease enter as ##### or #####-####");
      upta09.prm_zip.focus();
      return false;
}

	if (upta09.prm_phone_number.value != '' && !upta09.prm_phone_number.value.match(phoneformat)) {
      alert("Invalid permanent phone number format: " + upta09.prm_phone_number.value + "\rPlease enter as ### ### ####");
      upta09.prm_phone_number.focus();
      return false;
}


/*####################################################################################################################################*/
/* BEGIN: Remove the option to register as an actor */
/*####################################################################################################################################*/

/*	if ((upta09.auditioning_also[1].checked == false) && (upta09.auditioning_also[0].checked == false)) {
	// field is empty
	alert('You must identify if you will also be auditioning as an actor.')
	upta09.auditioning_also[1].focus(); 
	return false;
}


	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[1].checked == false) && (upta09.registration_type[0].checked == false) && (upta09.registration_type[2].checked == false)) {
	// field is empty
	alert('You must choose your registration type.')
	upta09.registration_type[1].focus(); 
	return false;
}


	if ((upta09.auditioning_also[0].checked == true) && (upta09.singing[1].checked == false) && (upta09.singing[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be singing at your audition.')
	upta09.singing[0].focus(); 
	return false;
}





if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_sun.value == "") && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('You must choose a day to audition on.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_sun.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Sunday.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == true) && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Monday.')
	upta09.prefer_to_audition_mon.focus(); 
	return false;
}


	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sat.value == "") && (upta09.prefer_to_audition_sun.value == "") && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('You must choose a day to audition on.')
	upta09.prefer_to_audition_sat.focus(); 
	return false;
}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sat.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Saturday.')
	upta09.prefer_to_audition_sat.focus(); 
	return false;
}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_sun.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Sunday.')
	upta09.prefer_to_audition_sun.focus(); 
	return false;
}	

	if ((upta09.auditioning_also[0].checked == true) && (upta09.registration_type[0].checked == false) && (upta09.equity_card.checked == false) && (upta09.prefer_to_audition_mon.value == "")) {
	// field is empty
	alert('Please choose an audition preference for Monday.')
	upta09.prefer_to_audition_mon.focus(); 
	return false;
}




	if ((upta09.auditioning_also[0].checked == true) && (upta09.if_slots_full[0].checked == false) && (upta09.if_slots_full[1].checked == false) && (upta09.if_slots_full[2].checked == false)) {
	// field is empty
	alert('You must indicate your preference if all audition slots are full.')
	upta09.if_slots_full[0].focus(); 
	return false;

}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.production1.value == "") && (upta09.production2.value == "") && (upta09.production3.value == "") && (upta09.production4.value == "") && (upta09.production5.value == "") && (upta09.production6.value == "") && (upta09.production7.value == "") && (upta09.production8.value == "") && (upta09.production9.value == "") && (upta09.production10.value == "") && (upta09.production11.value == "") && (upta09.production12.value == "")) {
	// field is empty
	alert('You must enter at least one Production under Performance Experience.')
	upta09.production1.focus(); 
	return false;

}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.role1.value == "") && (upta09.role2.value == "") && (upta09.role3.value == "") && (upta09.role4.value == "") && (upta09.role5.value == "") && (upta09.role6.value == "") && (upta09.role7.value == "") && (upta09.role8.value == "") && (upta09.role9.value == "") && (upta09.role10.value == "") && (upta09.role11.value == "") && (upta09.role12.value == "")) {
	// field is empty
	alert('You must enter at least one Role under Performance Experience.')
	upta09.role1.focus(); 
	return false;

}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.theatre1.value == "") && (upta09.theatre2.value == "") && (upta09.theatre3.value == "") && (upta09.theatre4.value == "") && (upta09.theatre5.value == "") && (upta09.theatre6.value == "") && (upta09.theatre7.value == "") && (upta09.theatre8.value == "") && (upta09.theatre9.value == "") && (upta09.theatre10.value == "") && (upta09.theatre11.value == "") && (upta09.theatre12.value == "")) {
	// field is empty
	alert('You must enter at least one Theatre under Performance Experience.')
	upta09.theatre1.focus(); 
	return false;

}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.education.value == "")) {
	// field is empty
	alert('You must enter your Education/Training.')
	upta09.education.focus(); 
	return false;

}

	if ((upta09.auditioning_also[0].checked == true) && (upta09.thefile.value == "") && (upta09.no_headshot.checked == false)) {
	// field is empty
	alert('You must select your headshot.')
	upta09.thefile.focus(); 
	return false;

}


*/

/*####################################################################################################################################*/
/* END: Remove the option to register as an actor */
/*####################################################################################################################################*/

	if (upta09.availability_month.value == "") {
	// field is empty
	alert('You must provide your date of availability.')
	upta09.availability_month.focus(); 
	return false;
}






var checkBoxes = document.getElementsByName('interest[]');
	var totalChecked = 0;
	for (var i=0; i< checkBoxes.length; i++)
	{
		if (checkBoxes[i].checked == true)
		{
			totalChecked++;
		}
	} 
	if (totalChecked <= 0)
	{
		alert("You must indicate at least one area of interest.");
		checkBoxes[0].focus();
		return false;
}



if (upta09.productionarea.value == "") {
	// field is empty
	alert('You must provide your Production Area under Production Personnel Qualifications.')
	upta09.productionarea.focus(); 
	return false;
}


	
if ((upta09.production_prev_upta.value == "") && (upta09.production_degree[0].checked == false) && (upta09.production_degree[1].checked == false) && (upta09.equity_stage_manager.checked == false) && (upta09.require_tech_validation.checked == false) && (upta09.require_tech_validation.checked == false)) {
	// field is empty
	alert('You must provide your Production Personnel Qualifications.')
	upta09.production_prev_upta.focus(); 
	return false;
}

	if ((upta09.production_degree[0].checked == true) && (upta09.production_degree_name.value == "")) {
	// field is empty
	alert('You must provide your degree name under Production Personnel Qualifications.')
	upta09.production_degree_name.focus(); 
	return false;
}

	if ((upta09.production_degree[0].checked == true) && (upta09.production_degree_school.value == "")) {
	// field is empty
	alert('You must provide your degree school under Production Personnel Qualifications.')
	upta09.production_degree_school.focus(); 
	return false;
}


	if ((upta09.production_degree[1].checked == true) && (upta09.production_degree_name.value == "")) {
	// field is empty
	alert('You must provide your degree name under Production Personnel Qualifications.')
	upta09.production_degree_name.focus(); 
	return false;
}

	if ((upta09.production_degree[1].checked == true) && (upta09.production_degree_school.value == "")) {
	// field is empty
	alert('You must provide your degree school under Production Personnel Qualifications.')
	upta09.production_degree_school.focus(); 
	return false;
}

	// If the script gets this far through all of your fields
	// without problems, it's ok and you can submit the form

	return true;
}



<!-- ########## Producer Form Validation ########## -->




function checkprform(upta09)
{

	if (upta09.company.value == "") {
	// field is empty
	alert('Please enter the name of your organization')
	upta09.company.focus(); 
	return false;
}

	if (upta09.address.value == "") {
	// field is empty
	alert('Please enter your address')
	upta09.address.focus(); 
	return false;
}

	if (upta09.city.value == "") {
	// field is empty
	alert('Please enter your city')
	upta09.city.focus(); 
	return false;
}

	if (upta09.state.value == "") {
	// field is empty
	alert('Please enter your state')
	upta09.state.focus(); 
	return false;
}

	if (upta09.zip.value == "") {
	// field is empty
	alert('Please enter your zip code')
	upta09.zip.focus(); 
	return false;
}

var zipformat = /(^\d{5}$)|(^\d{5}-\d{4}$)/;

	if (upta09.zip.value != '' && !upta09.zip.value.match(zipformat)) {
      alert("Invalid zip code format: " + upta09.zip.value + "\rPlease enter as ##### or #####-####");
      upta09.zip.focus();
      return false;
}

	if (upta09.phone_number.value == "") {
	// field is empty
	alert('Please enter your phone number')
	upta09.phone_number.focus(); 
	return false;
}

var phoneformat = /^\(?(\d{3})\)?[-\. ]?(\d{3})[-\. ]?(\d{4})$/;

	if (upta09.phone_number.value != '' && !upta09.phone_number.value.match(phoneformat)) {
      alert("Invalid phone number format: " + upta09.phone_number.value + "\rPlease enter as ### ### ####");
      upta09.phone_number.focus();
      return false;
}

if (upta09.fax_number.value == "") {
	// field is empty
	alert('Please enter your fax number')
	upta09.fax_number.focus(); 
	return false;
}


if (upta09.email.value == "") {
	// field is empty
	alert('Please enter your email address.')
	upta09.email.focus(); 
	return false;
}


var emailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2,6})$/;

	if (upta09.email.value != '' && !upta09.email.value.match(emailformat)) {
      alert("Invalid email format: " + upta09.email.value + "\rPlease try again");
      upta09.email.focus();
      return false;
}

if (upta09.website.value == "") {
	// field is empty
	alert('Please enter your website.')
	upta09.website.focus(); 
	return false;
}


if (upta09.attendees.value == "") {
	// field is empty
	alert('Please enter the number of people attending')
	upta09.attendees.focus(); 
	return false;
}

if (upta09.attendee_names.value == "") {
	// field is empty
	alert('Please enter the name(s) of those attending')
	upta09.attendee_names.focus(); 
	return false;
}

if (upta09.executive_director_producer.value == "") {
	// field is empty
	alert('Please enter the name of your Executive Director/Producer')
	upta09.executive_director_producer.focus(); 
	return false;
}

if (upta09.artistic_director.value == "") {
	// field is empty
	alert('Please enter the name of your Artistic Director')
	upta09.artistic_director.focus(); 
	return false;
}

if (upta09.upta_contact.value == "") {
	// field is empty
	alert('Please enter the name of whom UPTA should contact')
	upta09.upta_contact.focus(); 
	return false;
}

if (upta09.upta_contact_email.value == "") {
	// field is empty
	alert('Please enter the email address of whom UPTA should contact')
	upta09.upta_contact_email.focus(); 
	return false;
}

if (upta09.upta_contact_phone.value == "") {
	// field is empty
	alert('Please enter the phone number of whom UPTA should contact')
	upta09.upta_contact_phone.focus(); 
	return false;
}

if (upta09.talent_contact.value == "") {
	// field is empty
	alert('Please enter the name of whom talent should contact')
	upta09.talent_contact.focus(); 
	return false;
}

if (upta09.talent_contact_email.value == "") {
	// field is empty
	alert('Please enter the email address of whom talent should contact')
	upta09.talent_contact_email.focus(); 
	return false;
}

if (upta09.talent_contact_phone.value == "") {
	// field is empty
	alert('Please enter the phone number of whom talent should contact')
	upta09.talent_contact_phone.focus(); 
	return false;
}

if (upta09.not_publish.value == "") {
	// field is empty
	alert('Please indicate any information you would not like published in the talent contact booklet')
	upta09.not_publish.focus(); 
	return false;
}


if ((upta09.attending_pre_prof[1].checked == false) && (upta09.attending_pre_prof[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be attending pre-professional auditions.')
	upta09.attending_pre_prof[1].focus(); 
	return false;
}
	



if ((upta09.watching_musical[1].checked == false) && (upta09.watching_musical[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be watching musical auditions.')
	upta09.watching_musical[1].focus(); 
	return false;
}

if ((upta09.watching_non_musical[1].checked == false) && (upta09.watching_non_musical[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be watching non-musical auditions.')
	upta09.watching_non_musical[1].focus(); 
	return false;
}

if ((upta09.watching_equity[1].checked == false) && (upta09.watching_equity[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be watching equity auditions.')
	upta09.watching_equity[1].focus(); 
	return false;
}


if (upta09.equity_males.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for equity males.')
	upta09.equity_males.focus(); 
	return false;
}

if (upta09.non_equity_males.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for non-equity males.')
	upta09.non_equity_males.focus(); 
	return false;
}

if (upta09.paid_internship_males.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for paid internship males.')
	upta09.paid_internship_males.focus(); 
	return false;
}

if (upta09.equity_females.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for equity females.')
	upta09.equity_females.focus(); 
	return false;
}

if (upta09.non_equity_females.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for non-equity females.')
	upta09.non_equity_females.focus(); 
	return false;
}

if (upta09.paid_internship_females.value == "") {
	// field is empty
	alert('Please indicate your actor hiring breakdown for paid internship females.')
	upta09.paid_internship_females.focus(); 
	return false;
}

if (upta09.salary_range.value == "") {
	// field is empty
	alert('Please indicate your salary range for actors.')
	upta09.salary_range.focus(); 
	return false;
}

if ((upta09.emc[1].checked == false) && (upta09.emc[0].checked == false)) {
	// field is empty
	alert('You must identify if you offer EMC.')
	upta09.emc[1].focus(); 
	return false;
}

if (upta09.actor_duties.value == "") {
	// field is empty
	alert('Please indicate any other duties for actors.')
	upta09.actor_duties.focus(); 
	return false;
}

if (upta09.special_requests.value == "") {
	// field is empty
	alert('Please identify any special requests of actors for auditions or callbacks.')
	upta09.special_requests.focus(); 
	return false;
}

if ((upta09.production_interviews[1].checked == false) && (upta09.production_interviews[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be interviewing for production positions.')
	upta09.production_interviews[1].focus(); 
	return false;
}

if ((upta09.tech_resumes[1].checked == false) && (upta09.tech_resumes[0].checked == false)) {
	// field is empty
	alert('You must identify if you will be accepting technical resumes INSTEAD of holding interviews.')
	upta09.tech_resumes[1].focus(); 
	return false;
}

if (upta09.total_hiring.value == "") {
	// field is empty
	alert('Please identify the total number of people you are hiring for Production/Artistic/Administrative positions.')
	upta09.total_hiring.focus(); 
	return false;
}

if (upta09.salary_prod_pers.value == "") {
	// field is empty
	alert('Please indicate your salary range for Production Personnel.')
	upta09.salary_prod_pers.focus(); 
	return false;
}

if (upta09.benefits.value == "") {
	// field is empty
	alert('Please indicate any benefits.')
	upta09.benefits.focus(); 
	return false;
}

if (upta09.facilities.value == "") {
	// field is empty
	alert('Please provide a brief description of your facilities.')
	upta09.facilities.focus(); 
	return false;
}

if (upta09.union_affiliations.value == "") {
	// field is empty
	alert('Please identify any Union Affiliations.')
	upta09.union_affiliations.focus(); 
	return false;
}

if (upta09.season_dates.value == "") {
	// field is empty
	alert('Please provide your season dates.')
	upta09.season_dates.focus(); 
	return false;
}

if (upta09.upcoming_season.value == "") {
	// field is empty
	alert('Please detail your upcoming season.')
	upta09.upcoming_season.focus(); 
	return false;
}
	// If the script gets this far through all of your fields
	// without problems, it's ok and you can submit the form

	return true;
}