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

<%@page language="java" import="com.sun.portal.search.providers.*,
				java.util.*" %>

<%@ taglib uri="/tld/jx.tld" prefix="jx" %>

<%-- declare all UI related variables --%>
<jx:declare id="tFontColor" type="java.lang.String"/>
<jx:declare id="tFontFace" type="java.lang.String"/>
<jx:declare id="tBgColor" type="java.lang.String"/>
<jx:declare id="tTitleBarColor" type="java.lang.String"/>
<jx:declare id="tTitleFontColor" type="java.lang.String"/>

<jsp:useBean id="formbean" scope="request" class="SearchRequestBean">
<jsp:setProperty name="formbean" property= "*"/>
</jsp:useBean>

<INPUT TYPE=HIDDEN NAME="browseCategory" VALUE="<%=SearchContext.htmlEncode(formbean.getBrowseCategory())%>">
<INPUT TYPE=HIDDEN NAME="mode" VALUE="<%=formbean.getMode()%>">

<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
    <tr>
	<td valign=middle align=right height=40 width="40%">
	    <FONT color="<%=tFontColor%>" face="<%=tFontFace%>">Find&nbsp;</FONT>
	</td>
    	<td valign=middle align=left height=40>
	    <table border="0" cellspacing="0" cellpadding="0">
		<tr>
		    <td valign="middle" align=left height=40>
			<INPUT TYPE="text" ID="searchbox" NAME="scope"
		        <% if (formbean.getScope() != null) { %>
			    VALUE="<%= SearchContext.htmlEncode(formbean.getScope()) %>"
			<% } %>
			>
		    </td>
		    <td>
			&nbsp;
		    </td>
		    <td valign="middle" align=left height=40>
			<INPUT TYPE=SUBMIT NAME="Submit" VALUE="Search" style='background-color:<%=tTitleBarColor%>; color:<%=tTitleFontColor%>; font-family:<%=tFontFace%>'>
		    </td>
		</tr>
	    </table>
	</td>
    </tr>

    <%@ include file="dbMenu.jsp"%>
    <%@ include file="catMenu.jsp"%>
    <%@ include file="descMenu.jsp"%>
</TABLE>
