function checkFields()
{
	var msg = '';
	if($('#txtName').val() == '')
		msg = ' - You must enter your name\n'; 
	if($('#txtEmail').val() == '')
		msg = msg+' - You must enter an email address\n';
	if($('#chkBrochure').attr('checked') && $('#txtAddr').val() == '' && $('#txtSuburb').val() == '' && $('#txtPostcode').val() == '')
		msg = msg+' - If you are requesting a brochure you must provide your address, suburb and postcode'
	if(msg != '') {
		alert('The following problems need to be rectified before your enquiry can be processed\n\n' + msg);
		return false; }
	else
		return true;
}