/* =========================================================================

NAME: general_enquiry.js

AUTHOR: Rustom Rawat , Access Web Solutions
DATE  : 6/9/03

COPYRIGHT (c) 2003 Access Web Solutions.

COMMENT: AWS grants you a royalty free license to use or modify this 
		 software provided that this copyright notice appears on all copies.
 		 This software is provided "AS IS," without a warranty of any kind.

============================================================================ */

function generalEnquiry()
{
var form = window.document.frmGenEnqu
	if (form.Name.value == "" || form.Name.value.length < 4)
	{
	alert("Please enter your name in the \"Name\" field.");
	form.Name.focus();
	return false;
	}
	if (form.Email.value == "" || form.Email.value.length < 8)
	{
	alert("Please enter your email address in the \"Email\" field.");
	form.Email.focus();
	return false;
	}
	if (form.serviceEnquiry.value == "")
	{
	alert("Please select the service you want to enquire from the \"Service Enquiry\" field.");
	form.serviceEnquiry.focus();
	return false;
	}
	if (form.Description.value == "" || form.Description.value.length < 12)
	{
	alert("Please write your enquiry into the \"Description\" field.");
	form.Description.focus();
	return false;
	}
return true;
}