			function checkForm(form)

			{

				var errors = '';

				var numErrors = 0;

				

				

				if (!isValidEmailStrict(form.textfield.value)) {

					errors += '- Email address is not correct\n';

					numErrors++;

				}

				

				

				if (numErrors) {

					errors = 'Your form cannot be submitted. Please enter correct email.' + ((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;

			}

			