			function checkForm(form)
			{
				var errors = '';
				var numErrors = 0;
				
				if (!isValidLength(form.name.value,2)) {
					errors += '- Your Name\n';
					numErrors++;
				}
				if (!isValidLength(form.address.value,2)) {
					errors += '- Your Address\n';
					numErrors++;
				}
				if (!isValidLength(form.city.value,2)) {
					errors += '- Your City\n';
					numErrors++;
				}
				if (!isValidLength(form.State.value,2)) {
					errors += '- Your State\n';
					numErrors++;
				}
				if (!isValidLength(form.ZipPostal.value,2)) {
					errors += '- Your Zip or Postal code\n';
					numErrors++;
				}
				if (!isValidLength(form.phone.value,2)) {
					errors += '- Phone number\n';
					numErrors++;
				}
//				if (!isValidEmail(form.Email.value,2)) {
//					errors += '- Email address\n';
//					numErrors++;
//				}

			
				if (errors) {
					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;
			}





			function checkFormG(form)
			{
				var errors = '';
				var numErrors = 0;
				
				if (!isValidLength(form.Name.value,2)) {
					errors += '- Your Name\n';
					numErrors++;
				}

				if (!isValidLength(form.Company.value,2)) {
					errors += '- Your Company\n';
					numErrors++;
				}

				if (!isValidLength(form.TypeofProduct.value,2)) {
					errors += '- Your Type of Product\n';
					numErrors++;
				}
				if (!isValidLength(form.SpaceRequired.value,2)) {
					errors += '- Your Space Required\n';
					numErrors++;
				}

				if (!radio_term) {
					errors += '- Your Term\n';
					numErrors++;
				}
				if (!radio_pall) {
					errors += '- Your Palletized\n';
					numErrors++;
				}
				if (!radio_stack) {
					errors += '- Your Stacking height\n';
					numErrors++;
				}

				if (!isValidLength(form.PalletWeight.value,2)) {
					errors += '- Your Pallet Weight\n';
					numErrors++;
				}
				if (!isValidLength(form.SKUs.value,2)) {
					errors += '- Your SKUs\n';
					numErrors++;
				}
				if (!isValidLength(form.Hours.value,2)) {
					errors += '- Your Hours of operation\n';
					numErrors++;
				}

				


//				if (!isValidLength(form.Phone.value,2)) {
//					errors += '- Phone number\n';
//					numErrors++;
//				}
//				if (!isValidEmail(form.Email.value,2)) {
//					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;
			}
			