  function checkSearchForm(Error_editor_bgcolor, Standard_editor_bgcolor, message) {
   var ok = true;
   var br= String.fromCharCode(10);
   
   for(i = 0; i < SearchCheckFields.length; i++) { 
    ell = document.getElementsByName(SearchCheckFields[i])[0]   
    if (ell.value.length == 1) {
     if (ok) ell.focus(); ok = false;	 
	 ell.style.backgroundColor=Error_editor_bgcolor;
    } else ell.style.backgroundColor=Standard_editor_bgcolor;
   }
   
   if (!ok) alert (message);   
   return ok;         
  }

  function clearSearchForm() {
   for(i = 0; i < SearchFields[0].length; i++) { 
    ell = document.getElementsByName(SearchFields[0][i])[0]   
    if (ell != null) ell.value = SearchFields[1][i];
   }
  }
