function FrontPage_Form1_Validator(theForm)
{
//////////////////////////////////////////////////////////////////////
	if (theForm.name.value == "")
	{
		alert("אנא מלא שם פרטי");
		theForm.name.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.lname.value == "")
	{
		alert("אנא מלא שם משפחה");
		theForm.lname.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.phone.value == "")
	{
		alert("אנא מלא מס' טלפון");
		theForm.phone.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.phone.value.length < 10)
	{
			alert("מס' הטלפון שהקשת קצר מידי");
			theForm.phone.focus();
			return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.email.value == "")
	{
		alert("אנא מלא כתובת אימייל");
		theForm.email.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.main_subject.value == "")
	{
		alert("אנא מלא נושא");
		theForm.main_subject.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	if (theForm.notes.value == "")
	{
		alert("אנא מלא את תוכן ההודעה");
		theForm.notes.focus();
		return (false);
	}
//////////////////////////////////////////////////////////////////////
	else
	{
		return (true);
	}
//////////////////////////////////////////////////////////////////////
}
