function CheckContactForm() {
	var errorMsg = "";

	// Check name
	if (document.Form.name.value == ""){
		errorMsg += "\n\tName \t- Enter your Full Name";	
	}

	// Check Company Name
	if (document.Form.companyName.value == ""){
		errorMsg += "\n\tCompany Name \t- Enter your Company Name";	
	}

	// Check Address
	if (document.Form.address.value == ""){
		errorMsg += "\n\tAddress \t- Enter your Address";	
	}
	
	// Check phone
	if (document.Form.phone.value == ""){
		errorMsg += "\n\tPhone \t- Enter your Phone number";	
	}
	

	//Check for an e-mail address and that it is valid
	if ((document.Form.email.value == "") || (document.Form.email.value.length > 0 && (document.Form.email.value.indexOf("@",0) == - 1 || document.Form.email.value.indexOf(".",0) == - 1))) { 
		errorMsg += "\n\tE-mail Address \t- Enter a valid e-mail address";
	}
	
	// Check name
	if (document.Form.country.value == ""){
		errorMsg += "\n\tCountry \t- Please select your country.";
	}

	// Check name
	if (document.Form.postcode.value == ""){
		errorMsg += "\n\tPostCode \t- Enter your Postcode.";
	}

	// Check name
	if (document.Form.comment.value == ""){
		errorMsg += "\n\tComment \t- Enter your Comment.";
	}
	
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "______________________________________________________________\n\n";
		msg += "Your enquiry has not been sent because there are problem(s) with the form.\n";
		msg += "Please correct the problem(s) and re-submit the form.\n";
		msg += "______________________________________________________________\n\n";
		msg += "The following field(s) need to be corrected: \n";
		
		errorMsg += alert(msg + errorMsg + "\n\n");
		return false;
	}
	return true;
}
