// login form validation function

// main function
function check_form(myForm) 
{	

	if(!check_value(myForm.FullName,'Please enter your full name.'))
		return false;
		
	if(!check_email(myForm.email,'Please enter a valid email address.'))
		return false;

	if(!check_value(myForm.address,'Please enter your street address.'))
		return false;

	if(!check_value(myForm.city,'Please enter your city.'))
		return false;
		
	if(!check_select(myForm.state,'Please select your state.'))
		return false;
		
	if(!check_value(myForm.zip,'Please enter your zip code.'))
		return false;	
		
	if(!check_value(myForm.phone,'Please complete your phone number.'))
		return false;

	if(!check_select(myForm.role,'Please select Bride or Groom.'))
		return false;
	
	if(!check_value(myForm.month,'Please enter the month for your wedding date.'))
		return false;

	if(!check_value(myForm.day,'Please enter the day for your wedding date.'))
		return false;

	if(!check_value(myForm.year,'Please enter the year for your wedding date.'))
		return false;

	if(!check_value(myForm.city2,'Please enter the city where the wedding will be.'))
		return false;
		
	if(!check_select(myForm.state2,'Please select your state where the wedding will be.'))
		return false;

		
	if(!check_select(myForm.contact,'Please select your preferred method of communication.'))
		return false;
	
//	method = check_radio(myForm.method,'Test.')	
//	if (method == 'Phone')
//	{

//	}
	
//	if (method == 'Fax')
//	{
//		if(!check_value(myForm.fax,'Please enter your fax number if that is your preferred method of communiction.'))
//			return false;
//	}
	
	if(!check_value(myForm.help,'Please tell us how we can help you.'))
		return false;
		
	if(!check_value(myForm.hear,'Please tell us how you heard of us.'))
		return false;
}// JavaScript Document