// JavaScript Document
  function validate_form ( )
{
    valid = true;
	

    if ( document.contact_form.contact_name.value == "" )
    {
        alert ( "Please enter a contact name." );
        valid = false;
	}
  
  else if ( document.contact_form.postcode.value == "" )
    {
        alert ( "Please enter your postcode at least in the address details so we know what area to are contacting us from." );
        valid = false;
	}
	
	
		else if ( document.contact_form.type.value == "" )
    {
        alert ( "Please select the grant type from the dropdown list before continuing." );
        valid = false;
	}
				
    return valid;
}

