function emailWindow() { 
  popupWin = window.open('emailwebmaster.cfm', 'remote', 'scrollbars=yes,width=400,height=400,left=20,top=20') 
}

function Validator4(theForm4)
{

  if (theForm4.CiRestriction.value == "")
  {
    alert("Please enter a value.");
    theForm4.CiRestriction.focus();
    return (false);
  }

  if (theForm4.CiRestriction.value.length< 3)
  {
    alert("Please enter at least 3 characters.");
    theForm4.CiRestriction.focus();
    return (false);
  }

  if (theForm4.CiRestriction.value.length> 50)
  {
    alert("Please enter at most 50 characters.");
    theForm4.CiRestriction.focus();
    return (false);
  }
  return (true);
}


function Validator2(theForm2)
{

  if (theForm2.CiRestriction.value == "")
  {
    alert("Please enter a value.");
    theForm2.CiRestriction.focus();
    return (false);
  }

  if (theForm2.CiRestriction.value.length< 3)
  {
    alert("Please enter at least 3 characters.");
    theForm2.CiRestriction.focus();
    return (false);
  }

  if (theForm2.CiRestriction.value.length> 50)
  {
    alert("Please enter at most 50 characters.");
    theForm2.CiRestriction.focus();
    return (false);
  }
  return (true);
}

function Validator(theForm)
{

  if (theForm.CiRestriction.value == "")
  {
    alert("Please enter a word or words for your search.");
    theForm.CiRestriction.focus();
    return (false);
  }

  if (theForm.CiRestriction.value.length< 3)
  {
    alert("Please enter at least 3 characters.");
    theForm.CiRestriction.focus();
    return (false);
  }

  if (theForm.CiRestriction.value.length> 50)
  {
    alert("Please enter at most 50 characters.");
    theForm.CiRestriction.focus();
    return (false);
  }
  return (true);
}

