
function validate()
{
	// Possibly add basic email address checking

	var valid = true;
	var errors = "";

//alert (document.form1.name.value);

	if (document.form1.name.value.length < 4)
	{
		errors += "    - your full name\n";
	}

	if (document.form1.position.value.length < 4)
	{
		errors += "    - your position / job title\n";
	}

	if (document.form1.company.value.length < 2)
	{
		errors += "    - your full company name\n";
	}

	if (document.form1.phone.value.length < 9 && document.form1.email.value.length < 6)
	{
		errors += "    - your phone number (with area code) and e-mail address\n";
	}

	if (document.form1.country.value.length < 2)
	{
		errors += "    - your country\n";
	}

	if (errors != "")
	{
		alert("Please enter:\n\n" + errors);
		valid = false;
	}

	return valid;
}

function catvalidate()
{
	return validate();
}
