			function checkForm(form)
			{
				var errors = '';
				var numErrors = 0;
				
				if (!isValidLength(form.Name.value,3)) {
					errors += '- Your Name\n';
					numErrors++;
				}
				if (!isValidLength(form.Company.value,3)) {
					errors += '- Company Name\n';
					numErrors++;
				}
				if (!isValidLength(form.Address.value,8)) {
					errors += '- Address\n';
					numErrors++;
				}
				if (!isValidLength(form.City.value,3)) {
					errors += '- City\n';
					numErrors++;
				}
				if (!isValidLength(form.ProvState.value,1)) {
					errors += '- Province or State\n';
					numErrors++;
				}
				if (!isValidLength(form.PostalorZip.value,1)) {
					errors += '- Postal Code or Zip \n';
					numErrors++;
				}
				if (!isValidLength(form.Phone.value,5)) {
					errors += '- Phone number\n';
					numErrors++;
				}
				if (!isValidEmail(form.Email.value,4)) {
					errors += '- Email address\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;
			}
			