<!--

function validate_form(f) {

	if(f.name.value == ""){
		alert('Missing Name');
		return false;
	}
	if(f.address.value == ""){
		alert('Missing Address');
		return false;
	}
	if((f.areacode_day.value == "") || (f.phone_day.value == "") || (f.phone2_day.value == "")){
		alert('Day Phone Name');
		return false;
	}
	if((!f.degree1.checked) && (!f.degree2.checked) && (!f.degree3.checked) && (!f.degree4.checked)){
		alert('Missing a Degree Interest');
		return false;
	} 

	if(f.denomination.value == ""){
		alert('Missing Denomination');
		return false;
	}
	if(f.billing_name.value == ""){
		alert('Missing Billing Name');
		return false;
	}
	if(f.billing_address.value == ""){
		alert('Missing Billing Address');
		return false;
	}
	if(f.billing_city.value == ""){
		alert('Missing Billing City');
		return false;
	}
	if(f.billing_state.value == ""){
		alert('Missing Billing State');
		return false;
	}
	if(f.billing_zip.value == ""){
		alert('Missing Billing Zipcode');
		return false;
	}
	if((f.billing_areacode.value == "") || (f.billing_phone.value == "") || (f.billing_phone2.value == "")){
		alert('Billing Phone Name');
		return false;
	}
	var payment_choice = false;

	// Loop from zero to the one minus the number of radio button selections
	for (counter = 0; counter < f.payment_type.length; counter++)
	{
	// If a radio button has been selected it will return true
	// (If not it will return false)
		if (f.payment_type[counter].checked)
		payment_choice = true; 
		}

	if (!payment_choice)
	{
	// If there were no selections made display an alert box 
		alert('Missing Payment Type');
		return (false);
	}

		
	if (!validateCreditCard(f.card_number.value)) {
		alert('credit card number is invalid or was not entered');
		return false;
	}


	if((f.exp_month.value == "") || ($exp_year.value == "")){
		alert('Billing Expiration Date');
		return false;
	}
return true;
	
}
//-->
