<!--

function validator(theForm)
{
var empnum = false;
var payroll= false;


  if (theForm.Name.value == "")

  {

    alert("Please enter your name.");

    theForm.Name.focus();

    return (false);

  }

	if (theForm.Title.value == "")
  {

    alert("Please enter your title.");

    theForm.Title.focus();

    return (false);
  }


	 if (theForm.Organization.value == "")

  {

    alert("Please enter your organization.");

    theForm.Organization.focus();

    return (false);

  }

     if ((theForm.Email.value.indexOf ('@',0) == -1) || (theForm.Email.value == ""))
  {
    alert("Please verify your email address.");
   
    theForm.Email.focus();
 
    return (false);
  } 
	 
	  if (theForm.Phonearea.value == "")
 
  {
 
    alert("Please enter your area code.");
 
    theForm.Phonearea.focus();
 
    return (false);
 
  }
 if (((theForm.Phonearea.value / theForm.Phonearea.value) != 1) && (theForm.Phonearea.value != 0)) 
    {
    alert('Please enter only a number into this text box');
    theForm.Phonearea.focus();
    return (false);
    }
    
     if (theForm.phone.value == "")
 
  {
 
    alert("Please enter your phone number.");
 
    theForm.phone.focus();
 
    return (false);
 
  }
     if (((theForm.phone.value / theForm.phone.value) != 1) && (theForm.phone.value != 0)) 
    {
    alert('Please enter only a number into this text box');
    theForm.phone.focus();
    return (false);
    }
     if (theForm.phone2.value == "")
 
  {
 
    alert("Please enter your phone number.");
 
    theForm.phone2.focus();
 
    return (false);
 
  }


  if (theForm.Employees.value == "")

  {

    alert("Please enter the number of employees in your organization.");

    theForm.Employees.focus();

    return (false);

  }


	return true;
}

//-->