  
  function goSearch(what){
    if(checkSearch(what)){
      document.forms[what].submit();
    } else {
      return false;
    }
  }

  function checkSearch(what){
    if (document.forms[what].str.value==""){
      alert("Уважаемый пользователь!\nПожалуйста, введите строку для поиска.");
      document.forms[what].str.focus();
      return false;
    } else {
      return true;
    }
  }
  

  /****************************************************************************/
  
  function goMenu(what){
    if(document.forms[what].sections[document.forms[what].sections.selectedIndex].value!==""){
      window.location.href=document.forms[what].sections[document.forms[what].sections.selectedIndex].value;
    }
  }
  