function Validate(theForm)
{
    if (Trim(theForm.FirstName.value).length==0)
    {
        alert("Please enter a value for the \"First Name\" field.");
        theForm.FirstName.focus();
        return (false);
    }

    if (Trim(theForm.LastName.value).length==0)
    {
        alert("Please enter a value for the \"Last Name\" field.");
        theForm.LastName.focus();
        return (false);
    }
    
    if (Trim(theForm.DayPhone.value).length==0 && Trim(theForm.Email.value).length==0)
    {
        alert("Please provide  \n \"Daytime Phone\" or \n \"Evening Phone\" ");
        theForm.DayPhone.focus();
        return (false);
    }

    if (Trim(theForm.Email.value).length==0)
    {
        alert("Please provide \n \"an Email address.\"");
        theForm.Email.focus();
        return (false);
    }
    
    return (true);
}
//
