<!--

function doCheckInGTCYS()
{
	var inGTCYS = document.application.student_recentmember.value;
	if(inGTCYS == "Yes")
	{
		document.application.student_whichensemble.disabled = false;
		document.application.student_whichensemble.disabled = false;		
		document.application.student_numberyears.disabled = false;
		document.application.student_totalyears.disabled = false;
	}
	else
	{
		document.application.student_whichensemble.value = "";
		document.application.student_whichensemble.value = "";		
		document.application.student_numberyears.value = "";
		document.application.student_totalyears.value = "";
			
		document.application.student_whichensemble.disabled = true;
		document.application.student_whichensemble.disabled = true;		
		document.application.student_numberyears.disabled = true;
		document.application.student_totalyears.disabled = true;
	}
}

function doCancelAlumniSend()
{
	var answer = confirm("Are you sure you wish to cancel this form?");
	if(answer == true)
	{
		history.go(-1);
	}
}

function doCheckAlumniSendForm()
{
	var bln_out = true;
	
	if(bln_out == true)
	{		
		var fname = document.alumni.fname.value;
		if(fname.length == 0)
		{
			alert("Please enter your First Name.");
			document.alumni.fname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var lname = document.alumni.lname.value;
		if(lname.length == 0)
		{
			alert("Please enter your Last Name.");
			document.alumni.lname.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{		
		var email = document.alumni.email.value;
		if(email.length == 0)
		{
			alert("Please enter your e-Mail Address.");
			document.alumni.email.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{
		document.alumni.submit.disabled = true;
	}
	else
	{	
		document.alumni.submit.disabled = false;
	}	
		
	return bln_out;		
	
}
function doCancelTuition()
{
	var answer = confirm("Are you sure you wish to cancel this form?");
	if(answer == true)
	{
	window.location = "/tuition-payment.asp";
	}
}

function doCheckTuitionForm()
{
	var bln_out = true;
	
	if(bln_out == true)
	{		
		var student_fname = document.tuition.student_fname.value;
		if(student_fname.length == 0)
		{
			alert("Please enter your First Name.");
			document.tuition.student_fname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_lname = document.tuition.student_lname.value;
		if(student_lname.length == 0)
		{
			alert("Please enter your Last Name.");
			document.tuition.student_lname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_address1 = document.tuition.student_address1.value;
		if(student_address1.length == 0)
		{
			alert("Please enter your Address.");
			document.tuition.student_address1.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_city = document.tuition.student_city.value;
		if(student_city.length == 0)
		{
			alert("Please enter your City.");
			document.tuition.student_city.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_state = document.tuition.student_state.value;
		if(student_state.length == 0)
		{
			alert("Please enter your State.");
			document.tuition.student_state.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_zip = document.tuition.student_zip.value;
		if(student_zip.length == 0)
		{
			alert("Please enter your Zip Code.");
			document.tuition.student_zip.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var orchestra = document.tuition.orchestra.value;
		if(orchestra.length == 0)
		{
			alert("Please choose your Orchestra.");
			document.tuition.orchestra.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{		
		var tuition = document.tuition.tuition.value;
		if(tuition.length == 0)
		{
			alert("Please choose a Tuition Payment Amount.");
			document.tuition.tuition.focus();
			bln_out = false;
		}
	}
		
	if(bln_out == true)
	{		
		var cc_type = document.tuition.cc_type.value;
		if(cc_type.length == 0)
		{
			alert("Please choose a Credit Card Type.");
			document.tuition.cc_type.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{
		var cc_name = document.tuition.cc_name.value;
		if(cc_name.length == 0)
		{
			alert("Please enter the Name on the Credit Card.");
			document.tuition.cc_name.focus();
			bln_out = false;
		}
	}

	if(bln_out == true)
	{	
		var cc_num = document.tuition.cc_num.value;
		if(cc_num.length == 0)
		{
			alert("Please enter Credit Card Number.");
			document.tuition.cc_num.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{	
		var cc_type = document.tuition.cc_type.value;
		if(cc_type.length == 0)
		{
			alert("Please choose a Credit Card Type.");
			document.tuition.cc_type.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{	
		var cc_exp_mon = document.tuition.cc_exp_mon.value;
		if(cc_exp_mon.length == 0)
		{
			alert("Please enter an Expiration Month.");
			document.tuition.cc_exp_mon.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{	
		var cc_exp_year = document.tuition.cc_exp_year.value;
		if(cc_exp_year.length == 0)
		{
			alert("Please enter an Expiration Year.");
			document.tuition.cc_exp_year.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{
		if(tuition == "installment+fee")
		{
			var answer = confirm("Verify: You have chosen Installment Plan of $235.00 + $10.00 fee?")
			if(answer == true)
			{
				document.tuition.submit.disabled = true;			
			}
			else
			{
				bln_out = false;
			}
		}
		else
		{
			var answer = confirm("Verify: You have chosen Full Payment of $470.00?")
			if(answer == true)
			{
				document.tuition.submit.disabled = true;			
			}
			else
			{
				bln_out = false;
			}
		}
	}
	else
	{	
		document.tuition.submit.disabled = false;
	}
	
	return bln_out;	
}

function doCheckNewsletter()
{
	var email = document.newsform.email.value;
	if(email.length == 0)
	{
		alert("Please enter your e-Mail Address.");
		document.newsform.email.focus();
		return false;
	}

	var fname = document.newsform.fname.value;
	if(fname.length == 0)
	{
		alert("Please enter your First Name.");
		document.newsform.fname.focus();
		return false;
	}
	
	var lname = document.newsform.lname.value;
	if(lname.length == 0)
	{
		alert("Please enter your Last Name.");
		document.newsform.lname.focus();
		return false;
	}
			
	return true;
}

function doCancelNewsletterForm()
{
	var answer = confirm("Are you sure you wish to cancel this form?");
	if(answer == true)
	{
	window.location = "/index.asp";
	}
}

function doCheckWhatsNewForm()
{
	var date = document.whatsnewform.date.value;
	if(date != 0)
	{
		document.whatsnewform.submit();
	}
}

function doCancelAlumni()
{
	var answer = confirm("Are you sure you wish to cancel this form?");
	if(answer == true)
	{
	window.location = "/alumni.asp";
	}
}

function doCancelDonation()
{
	var answer = confirm("Are you sure you wish to cancel this application?");
	if(answer == true)
	{
	window.location = "/support-gtcys.asp";
	}
}

function doCancelApp()
{
	var answer = confirm("Are you sure you wish to cancel this application?");
	if(answer == true)
	{
	window.location = "/auditions.asp";
	}
}

function doCheckFormAlumni()
{
	var bln_out = true;
	
	if(bln_out == true)
	{		
		var alumni_fname = document.alumni.alumni_fname.value;
		if(alumni_fname.length == 0)
		{
			alert("Please enter your First Name.");
			document.alumni.alumni_fname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_lname = document.alumni.alumni_lname.value;
		if(alumni_lname.length == 0)
		{
			alert("Please enter your Last Name.");
			document.alumni.alumni_lname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_address1 = document.alumni.alumni_address1.value;
		if(alumni_address1.length == 0)
		{
			alert("Please enter your Address.");
			document.alumni.alumni_address1.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_city = document.alumni.alumni_city.value;
		if(alumni_city.length == 0)
		{
			alert("Please enter your City.");
			document.alumni.alumni_city.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_state = document.alumni.alumni_state.value;
		if(alumni_state.length == 0)
		{
			alert("Please enter your State.");
			document.alumni.alumni_state.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_zip = document.alumni.alumni_zip.value;
		if(alumni_zip.length == 0)
		{
			alert("Please enter your Zip Code.");
			document.alumni.alumni_zip.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_phone = document.alumni.alumni_phone.value;
		if(alumni_phone.length == 0)
		{
			alert("Please enter your Phone Number.");
			document.alumni.alumni_phone.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var alumni_email = document.alumni.alumni_email.value;
		if(alumni_email.length == 0)
		{
			alert("Please enter your e-Mail Address.");
			document.alumni.alumni_email.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{	
		var alumni_infrom_mon = document.alumni.alumni_infrom_mon.value;
		if(alumni_infrom_mon.length == 0)
		{
			alert("Please choose a Valid From Date.")
			document.alumni.alumni_infrom_mon.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{
		var alumni_infrom_year = document.alumni.alumni_infrom_year.value;
		if(alumni_infrom_year.length == 0)
		{
			alert("Please choose a Valid From Date.")
			document.alumni.alumni_infrom_year.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{
		var alumni_into_mon = document.alumni.alumni_into_mon.value;
		if(alumni_into_mon.length == 0)
		{
			alert("Please choose a Valid To Date.")
			document.alumni.alumni_into_mon.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{
		var alumni_into_year = document.alumni.alumni_into_year.value;
		if(alumni_into_year.length == 0)
		{
			alert("Please choose a Valid To Date.")
			document.alumni.alumni_into_year.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{		
		var alumni_instrument = document.alumni.alumni_instrument.value;
		if(alumni_instrument.length == 0)
		{
			alert("Please enter your Auditioning Instrument.");
			document.alumni.alumni_instrument.focus();
			bln_out = false;
		}
	}
		
	if(bln_out == true)
	{
		document.alumni.submit.disabled = true;
	}
	else
	{	
		document.alumni.submit.disabled = false;
	}	
		
	return bln_out;	
}

function doCheckForm1()
{
	var bln_out = true;
	
	if(bln_out == true)
	{		
		var student_fname = document.application.student_fname.value;
		if(student_fname.length == 0)
		{
			alert("Please enter your First Name.");
			document.application.student_fname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_lname = document.application.student_lname.value;
		if(student_lname.length == 0)
		{
			alert("Please enter your Last Name.");
			document.application.student_lname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_gender = document.application.student_gender.value;
		if(student_gender.length == 0)
		{
			alert("Please choose your Gender.");
			document.application.student_gender.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{		
		var student_address1 = document.application.student_address1.value;
		if(student_address1.length == 0)
		{
			alert("Please enter your Address.");
			document.application.student_address1.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_city = document.application.student_city.value;
		if(student_city.length == 0)
		{
			alert("Please enter your City.");
			document.application.student_city.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_state = document.application.student_state.value;
		if(student_state.length == 0)
		{
			alert("Please enter your State.");
			document.application.student_state.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_zip = document.application.student_zip.value;
		if(student_zip.length == 0)
		{
			alert("Please enter your Zip Code.");
			document.application.student_zip.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_phone = document.application.student_phone.value;
		if(student_phone.length == 0)
		{
			alert("Please enter your Phone Number.");
			document.application.student_phone.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_email = document.application.student_email.value;
		if(student_email.length == 0)
		{
			alert("Please enter your e-Mail Address.");
			document.application.student_email.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_instrument1 = document.application.student_instrument1.value;
		if(student_instrument1.length == 0)
		{
			alert("Please enter your Auditioning Instrument.");
			document.application.student_instrument1.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var student_yrsplaying = document.application.student_yrsplaying.value;
		if(student_yrsplaying.length == 0)
		{
			alert("Please enter the Number of Years Playing.");
			document.application.student_yrsplaying.focus();
			bln_out = false;
		}
	}


	if(bln_out == true)
	{		
		var student_yrslessons = document.application.student_yrslessons.value;
		if(student_yrslessons.length == 0)
		{
			alert("Please enter a number of years in private lessons.");
			document.application.student_yrslessons.focus();
			bln_out = false;
		}
	}
		if(bln_out == true)
	{		
		var privateteacher_name = document.application.privateteacher_name.value;
		if(privateteacher_name.length == 0)
		{
			alert("Please enter your private lesson teacher's Name.");
			document.application.privateteacher_name.focus();
			bln_out = false;
		}
	}
		if(bln_out == true)
	{		
		var father_name = document.application.father_name.value;
		if(father_name.length == 0)
		{
			alert("Please enter your first parent or guardian's Name.");
			document.application.father_name.focus();
			bln_out = false;
		}
	}
		if(bln_out == true)
	{		
		var mother_name = document.application.mother_name.value;
		if(mother_name.length == 0)
		{
			alert("Please enter your second parent or guardian's Name.");
			document.application.mother_name.focus();
			bln_out = false;
		}
	}
	if(bln_out == true)
	{		
		var school_name = document.application.school_name.value;
		if(school_name.length == 0)
		{
			alert("Please enter your School's Name.");
			document.application.school_name.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var school_grade = document.application.school_grade.value;
		if(school_grade.length == 0)
		{
			alert("Please enter your Grade.");
			document.application.school_grade.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var director_name = document.application.director_name.value;
		if(director_name.length == 0)
		{
			alert("Please enter your Director's Name.");
			document.application.director_name.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var director_phone = document.application.director_phone.value;
		if(director_phone.length == 0)
		{
			alert("Please enter your Director's Phone Number.");
			document.application.director_phone.focus();
			bln_out = false;
		}
	}
	
	
	
											
	if(bln_out == true)
	{
		document.application.submit.disabled = true;
	}
	else
	{	
		document.application.submit.disabled = false;
	}	
		
	return bln_out;
}

function doCheckForm2()
{
	var bln_out = true;
		
	if(bln_out == true)
	{		
		var cc_type = document.application.cc_type.value;
		if(cc_type.length == 0)
		{
			alert("Please choose a Credit Card Type.");
			document.application.cc_type.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{
		var cc_name = document.application.cc_name.value;
		if(cc_name.length == 0)
		{
			alert("Please enter the Name on the Credit Card.");
			document.application.cc_name.focus();
			bln_out = false;
		}
	}

	if(bln_out == true)
	{	
		var cc_num = document.application.cc_num.value;
		if(cc_num.length == 0)
		{
			alert("Please enter Credit Card Number.");
			document.application.cc_num.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{	
		var cc_type = document.application.cc_type.value;
		if(cc_type.length == 0)
		{
			alert("Please choose a Credit Card Type.");
			document.application.cc_type.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{	
		var cc_exp_mon = document.application.cc_exp_mon.value;
		if(cc_exp_mon.length == 0)
		{
			alert("Please enter an Expiration Month.");
			document.application.cc_exp_mon.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{	
		var cc_exp_year = document.application.cc_exp_year.value;
		if(cc_exp_year.length == 0)
		{
			alert("Please enter an Expiration Year.");
			document.application.cc_exp_year.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{
		document.application.submit.disabled = true;
	}
	else
	{	
		document.application.submit.disabled = false;
	}
	
	return bln_out;
}

function doCheckForm()
{
	var bln_out = true;
	
	if(bln_out == true)
	{		
		if(document.donation.amt[7].checked == true)
		{
			var other_amt = document.donation.other_amt.value;
			if(other_amt.length == 0)
			{
				alert("Please enter your Donation Amount.");
				document.donation.other_amt.focus();
				bln_out = false;
			}
		}
	}
	
	if(bln_out == true)
	{		
		var donator_fname = document.donation.donator_fname.value;
		if(donator_fname.length == 0)
		{
			alert("Please enter your First Name.");
			document.donation.donator_fname.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{		
		var donator_lname = document.donation.donator_lname.value;
		if(donator_lname.length == 0)
		{
			alert("Please enter your Last Name.");
			document.donation.donator_lname.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var donator_address1 = document.donation.donator_address1.value;
		if(donator_address1.length == 0)
		{
			alert("Please enter your Address.");
			document.donation.donator_address1.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var donator_city = document.donation.donator_city.value;
		if(donator_city.length == 0)
		{
			alert("Please enter your City.");
			document.donation.donator_city.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var donator_state = document.donation.donator_state.value;
		if(donator_state.length == 0)
		{
			alert("Please enter your State.");
			document.donation.donator_state.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{		
		var donator_zip = document.donation.donator_zip.value;
		if(donator_zip.length == 0)
		{
			alert("Please enter your Zip Code.");
			document.donation.donator_zip.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{
		var emp_match = document.donation.emp_match.checked;
		if(emp_match == true)
		{
			var emp_name = document.donation.emp_name.value;
			if(emp_name.length ==0)
			{
				alert("Please enter your Employer's Name.");
				document.donation.emp_name.focus();
				bln_out = false;			
			}
		}	
	}
	
	if(bln_out == true)
	{
		var cc_name = document.donation.cc_name.value;
		if(cc_name.length == 0)
		{
			alert("Please enter the Name on the Credit Card.");
			document.donation.cc_name.focus();
			bln_out = false;
		}
	}

	if(bln_out == true)
	{	
		var cc_num = document.donation.cc_num.value;
		if(cc_num.length == 0)
		{
			alert("Please enter Credit Card Number.");
			document.donation.cc_num.focus();
			bln_out = false;
		}
	}	
	
	if(bln_out == true)
	{	
		var cvv2 = document.donation.cvv2.value;
		if(cvv2.length == 0)
		{
			alert("Please enter your credit card validation number.");
			document.donation.cvv2.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{	
		var cc_exp_mon = document.donation.cc_exp_mon.value;
		if(cc_exp_mon.length == 0)
		{
			alert("Please enter an Expiration Month.");
			document.donation.cc_exp_mon.focus();
			bln_out = false;
		}
	}
	
	if(bln_out == true)
	{	
		var cc_exp_year = document.donation.cc_exp_year.value;
		if(cc_exp_year.length == 0)
		{
			alert("Please enter an Expiration Year.");
			document.donation.cc_exp_year.focus();
			bln_out = false;
		}
	}		
	
	if(bln_out == true)
	{
		document.donation.submit.disabled = true;
	}
	else
	{	
		document.donation.submit.disabled = false;
	}
	
	return bln_out;
}
//-->