function nav_search(formObj)
{
   if(formObj.search.value.length != 0)
   {
      if(formObj.criteria.selectedIndex == 0)
      {	
         formObj.action = "../cgi-bin/wait.pl";
      }
      else
      {
         formObj.action = "/classes/results.php";
      }
    
      formObj.submit();
   }
}

function content_search(formObj)
{
   if(formObj.search.value.length != 0)
   {
      if(formObj.criteria[0].checked == true)
      {
         formObj.action = "../cgi-bin/wait.pl";
      }
      else
      {
         formObj.action = "/classes/results.php";
      }
  
      formObj.submit();
   }
}