function validate_form()
{

	// check if name field is blank	
	if(document.enquiry.name.value == "")
	{
	alert("Enter your name");
	document.enquiry.name.focus();
	return (false);
	}
	
	if(document.enquiry.phone.value == "")
	{
	alert("Enter the phone Number");
	document.enquiry.phone.focus();
	return (false);
	}

	// check if phone field is blank
	var checkOK = "0123456789";
	var	checkStr = document.enquiry.phone.value;
	var allValid = true;
	var allNum = "";
	for (i = 0;  i < checkStr.length;  i++)
	{
	ch = checkStr.charAt(i);
	for (j = 0;  j < checkOK.length;  j++)
	if (ch == checkOK.charAt(j))
	break;
	if (j == checkOK.length)
	{
	allValid = false;
	break;
	}
	if (ch != ",")
	allNum += ch;
	}
	if (!allValid)
	{
	alert("Please enter only digit characters in the \"Telephone number\" field.");
	document.enquiry.phone.focus();
	return (false);
	}
	// check if email field is blank
	
	// test if valid email address, must have @ and .
		
			
return (true);
	}

//-->
