<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- @(#)catMenu.jsp --%>

<% if (formbean.getMode().equals("browse")) { %>
<%
     String allSelected= "", catSelected = "";
     if (formbean.getScat().equals("cat")) {
       catSelected = "SELECTED";
     } else {
       allSelected = "SELECTED";
     }
%>
<tr>
  <td valign=middle align=right height=40>
    <FONT color=<%=tFontColor%> face=<%=tFontFace%>>In&nbsp;</FONT>
  </td> 
  <td valign=middle align=left height=40> 
    <FONT color=<%=tFontColor%> face=<%=tFontFace%>>
      <SELECT NAME="scat" id="scat">
      <OPTION VALUE="all" <%=allSelected%>>All categories
      <OPTION VALUE="cat" <%=catSelected%>>Current category
      </SELECT>
    </FONT>
  </td>
</tr>
<%
    }
%>
