function validate_form_contact ()
{
	valid = true;  
		if(document.contact.name.value =="")
			{
				alert ( "Please fill in the 'Name' field" );
                valid = false;			  
			}
		else if ( document.contact.address.value == "" )
			{
            	alert ( "Please fill in the 'Address' field" );
	            valid = false;
    	    }
		else if ( document.contact.postcode.value == "" )
			{
            	alert ( "Please fill in the 'Postcode' field" );
	            valid = false;
    	    }
		else if ( document.contact.email.value == "" )
			{
            	alert ( "Please fill in the 'Email' field" );
	            valid = false;
    	    }
        return valid;
}

function validate_form_signup ()
{
	valid = true;  
		if(document.signup.name.value =="")
			{
				alert ( "Please fill in the 'Name' field" );
                valid = false;			  
			}
		else if ( document.signup.address.value == "" )
			{
            	alert ( "Please fill in the 'Address' field" );
	            valid = false;
    	    }
		else if ( document.signup.postcode.value == "" )
			{
            	alert ( "Please fill in the 'Postcode' field" );
	            valid = false;
    	    }
		else if ( document.signup.email.value == "" )
			{
            	alert ( "Please fill in the 'Email' field" );
	            valid = false;
    	    }
        return valid;
}

function validate_form_visits ()
{
	valid = true;  
		if(document.visits.name.value =="")
			{
				alert ( "Please fill in the 'Name' field" );
                valid = false;			  
			}
		else if ( document.visits.operator.value == "" )
			{
            	alert ( "Please fill in the 'Name of group / coach operator' field" );
	            valid = false;
    	    }
		else if ( document.visits.address.value == "" )
			{
            	alert ( "Please fill in the 'Address' field" );
	            valid = false;
    	    }
		else if ( document.visits.postcode.value == "" )
			{
            	alert ( "Please fill in the 'Postcode' field" );
	            valid = false;
    	    }
        else if ( document.visits.telephone.value == "" )
			{
            	alert ( "Please fill in the 'Telephone' field" );
	            valid = false;
    	    }
		else if ( document.visits.email.value == "" )
			{
            	alert ( "Please fill in the 'Email' field" );
	            valid = false;
    	    }
        return valid;
}