			function checkForm(form)
			{
				var errors = '';
				var numErrors = 0;
				
				if (!isValidLength(form.Name.value,3)) {
					errors += '- Contact Name\n';
					numErrors++;
				}
				
				if (!isValidEmailStrict(form.Email.value)) {
					errors += '- Email address\n';
					numErrors++;
				}
				
				if (!isValidLength(form.City.value,3)) {
					errors += '- City\n';
					numErrors++;
				}
				if (!isValidLength(form.Phone.value,3)) {
					errors += '- Phone Number\n';
					numErrors++;
				}
				if (numErrors) {
					errors = 'Your form cannot be submitted. Please check the following field' + ((numErrors > 1) ? 's' : '') + ':\n' + errors + 'Please fix ' + ((numErrors > 1) ? 'these' : 'this') + ' problem' + ((numErrors > 1) ? 's' : '') + ' and resubmit the form.';
					alert(errors);
					return false;
				}
				return true;
			}
			
