// 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 type of enquiry from the dropdown list before continuing." );
        valid = false;
	}
	
	else if ( document.contact_form.message.value == "" )
    {
        alert ( "Please type a question or enquiry in the field provided." );
        valid = false;
	}
	
		else if ( document.contact_form.capinfo.value == "" )
    {
        alert ( "Please enter the four characters in the field provided, this stops automated use of this form ." );
        valid = false;
	}
	
				
    return valid;
}
