function check_form() {

	var error_msg = '';

	if( document.form.name.value == '' ||  document.form.name.value == ' ' ) {
		error_msg += '\nYou must enter your Name;';
	}
	
	if( document.form.type.value == '' ||  document.form.type.value == ' ' ) {
	error_msg += '\nYou must enter the Type of Business;';
	}

	if( document.form.businessname.value == '' ||  document.form.businessname.value == ' ' ) {
	error_msg += '\nYou must enter your Business Name;';
	}
	
	if( document.form.address.value == '' ||  document.form.address.value == ' ' ) {
	error_msg += '\nYou must enter the Address;';
	}
	
	if( document.form.tel.value == '' ||  document.form.tel.value == ' ' ) {
	error_msg += '\nYou must enter your Telephone Number;';
	}
	
	if( document.form.postcode.value == '' ||  document.form.postcode.value == ' ' ) {
	error_msg += '\nYou must enter your Postcode;';
	}
	
	if( document.form.broker.value == '' ||  document.form.broker.value == ' ' ) {
	error_msg += '\nYou must enter the Broker Name;';
	}
	
	if( document.form.brokertel.value == '' ||  document.form.brokertel.value == ' ' ) {
	error_msg += '\nYou must enter the Broker Telephone Number;';
	}
	
	if( document.form.breweryname.value == '' ||  document.form.breweryname.value == ' ' ) {
	error_msg += '\nYou must enter the Brewery/Landlord Name;';
	}
	
	if( document.form.brewerytel.value == '' ||  document.form.brewerytel.value == ' ' ) {
	error_msg += '\nYou must enter the Brewery/Landlord Telephone Number;';
	}

	if( error_msg == '' ) {
		return true;
	} else {
		alert( 'You can not proceed for the following reasons:\n' + error_msg );
		return false;
	}

}
