echoT(form_hidden($key, $value));   
      }
   }
*/
echoT('Searching for ' . $search->enumSearchType . ' that begin with <b><i>"' . htmlspecialchars($search->strSearchTerm) . '"</b></i><br>');
if ($search->lNumSearchResults == 0) {
    echoT('<font color="red">There are no ' . $search->strSearchLabel . ' records that
             match your search criteria  <b><i>"' . htmlspecialchars($search->strSearchTerm) . '"</b></i></font><br><br>');
} else {
    echoT($search->strDisplayTitle . '<br>
         <table class="enpRpt">');
    foreach ($search->searchResults as $clsFound) {
        $lKeyID = $clsFound->lKeyID;
        if ($search->bShowKeyID) {
            if ($search->bShowLink) {
                $strRecLink = $search->strIDLabel . strLinkView_ViaRecType($search->enumSearchType, $lKeyID) . ' ' . str_pad($lKeyID, 5, '0', STR_PAD_LEFT) . '<br>';
            } else {
                $strRecLink = $search->strIDLabel . ' ' . str_pad($lKeyID, 5, '0', STR_PAD_LEFT) . '<br>';
            }
        } else {
            $strRecLink = '';
        }
        echoT('
            <tr>');
        if ($search->bShowSelect) {
            $strLinkSel = strLinkSearchSelect($search->formLink, $lKeyID, $search->strSelectLabel, true);
            echoT('
               <td class="enpRpt" style="text-align: center;">' . $strLinkSel . "\n\n               </td>");
        }
        if ($search->bShowEnumSearchType) {
            echoT('
    public function strHTML_SearchResults()
    {
        //---------------------------------------------------------------------
        //
        //---------------------------------------------------------------------
        global $gstrSeed;
        $strOut = '';
        if ($this->lNumSearchResults == 0) {
            $strOut .= '<font color="red">There are no ' . $this->strSearchLabel . ' records that
                    match your search criteria  <b><i>"' . htmlspecialchars($this->strSearchTerm) . '"</b></i></font><br><br>' . strLinkSpecial_SearchAgain($this->strPathSearchAgain, $this->strTitleSearchAgain, true) . '&nbsp;' . strLinkSpecial_SearchAgain($this->strPathSearchAgain, $this->strTitleSearchAgain, false);
        } else {
            $strOut .= $this->strDisplayTitle . '<br>' . strLinkSpecial_SearchAgain($this->strPathSearchAgain, $this->strTitleSearchAgain, true) . '&nbsp;' . strLinkSpecial_SearchAgain($this->strPathSearchAgain, $this->strTitleSearchAgain, false) . '<br><br>
            <table class="enpRpt">';
            $this->clsNavigation = new stdClass();
            foreach ($this->searchResults as $clsFound) {
                $lKeyID = $this->clsNavigation->lKey01 = $clsFound->lKeyID;
                if ($this->bShowKeyID) {
                    if ($this->bShowLink) {
                        $strRecLink = $this->strIDLabel . strLinkView_ViaRecType($this->enumSearchType, $lKeyID) . ' ' . str_pad($lKeyID, 5, '0', STR_PAD_LEFT) . '<br>';
                    } else {
                        $strRecLink = $this->strIDLabel . ' ' . str_pad($lKeyID, 5, '0', STR_PAD_LEFT) . '<br>';
                    }
                } else {
                    $strRecLink = '';
                }
                $strOut .= '<tr>';
                if ($this->bShowSelect) {
                    $strLinkSel = strLinkSpecial_SearchSelect($this->strPathSelection . $lKeyID, $this->strTitleSelection, true, ' id="sID_' . $lKeyID . '" ');
                    $strOut .= '
                  <td class="enpRpt" style="text-align: center;">' . $strLinkSel . '
                  </td>';
                }
                if ($this->bShowEnumSearchType) {
                    $strOut .= '
                  <td class="enpRpt">' . $this->enumSearchType . '
                  </td>';
                }
                $strOut .= '
                  <td class="enpRpt">' . $strRecLink . $clsFound->strResult . '
                  </td>

               </tr>';
            }
            $strOut .= '</table>';
        }
        return $strOut;
    }