<%@ page import="gui.common.settings.UIConst" %> <%@ page import="gui.common.management.UIManager" %> <%HttpSession currSession = request.getSession(); UIManager manager = (UIManager) currSession.getValue("manager");%> <%String Section=manager.getSearchType();%> <%String screenID=manager.getScreenID();%>       <%if (Section != null){%> <%if (Section.compareTo(UIConst.METADATA_ADVANCED_SEARCH)==0){%> <%=manager.getText("menu.l_Metadata")%>> <%=manager.getText("menu.l_AdvSearch")%> <% }else if (Section.compareTo(UIConst.METADATA_BASIC_SEARCH)==0){%> <%=manager.getText("menu.l_Metadata")%>> <%=manager.getText("menu.l_BasSearch")%> <% }else if (Section.compareTo(UIConst.METADATA_BROWSE)==0){%> <%=manager.getText("menu.l_Metadata")%>> <%=manager.getText("menu.l_Browse")%> <% }else if (Section.compareTo(UIConst.UL_BASIC_SEARCH)==0){%> <%=manager.getText("menu.l_Specimens")%>> <%=manager.getText("menu.l_Specimens_Basic_Search")%> <% }else if (Section.compareTo(UIConst.WELCOME_PAGE)==0){%> <%=manager.getText("welcome_title")%> <% }else if (Section.compareTo(UIConst.UL_ADVANCED_SEARCH)==0){%> <%=manager.getText("menu.l_Specimens")%>> <%=manager.getText("menu.l_Specimens_AdvSearch")%> <%}%> <%if (manager.getAdditionalTitle() != null) if (manager.getAdditionalTitle().compareTo("")!= 0) out.println(">" + manager.getAdditionalTitle()); if (manager.getAdditionalSubTitle()!= null) if (manager.getAdditionalSubTitle().compareTo("")!= 0) out.println(">" + manager.getAdditionalSubTitle());%> <%if (screenID != null) {%> <%if (screenID.compareTo(UIConst.METADATA_ADVANCED_SEARCH)==0){%> " TITLE="<%=manager.getText("btn_Search_t")%>" onclick="valid()"> " TITLE="<%=manager.getText("btn_New_Query_t")%>" onClick="resetQuery(document.userSearch.redirection,document.userSearch)"> <% }else if (screenID.compareTo(UIConst.METADATA_BROWSE)==0){%> " TITLE ="<%=manager.getText("btn_Previous_t")%>" onclick="history.go(-1)" class="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" > <%out.println("");%> <% }else if (screenID.compareTo(UIConst.CORM_RESULT_DETAIL)==0){%> <%out.println(""); %> <% }else if (screenID.compareTo(UIConst.CORM_ADVANCED_SEARCH_GEO_TREE)==0){%> " CLASS="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" TITLE="<%=manager.getText("btn_Add_Values_t")%>"> " onClick = "window.location.replace('geo_xml.jsp?Reset=1')" CLASS="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" TITLE="<%=manager.getText("btn_Clear_t")%>"> " onClick = "window.location.replace('geo_xml.jsp?Collapse=1')" CLASS="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" TITLE="<%=manager.getText("btn_Collapse_t")%>">    " onclick="history.back(-1)" CLASS="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)" TITLE="<%=manager.getText("btn_Previous_t")%>" TITLE="<%=manager.getText("btn_Previous_t")%>"> <% }else if ((screenID.compareTo(UIConst.CORM_ADVANCED_SEARCH_TIMEPERIOD_TABLE)==0) || (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH_TIMEPERIOD_TABLE)==0)){%> " TITLE="<%=manager.getText("btn_Add_Values_t")%>"onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> " TITLE="<%=manager.getText("btn_Clear_All_t")%>"onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> " TITLE="<%=manager.getText("btn_Previous_t")%>" onclick="history.go(-1)" CLASS="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> <% }else if (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH)==0){%> " TITLE= "<%=manager.getText("btn_Search_t")%>" onClick='go("specimenSearch")' onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> " TITLE= "<%=manager.getText("btn_New_Query_t")%>" onClick='resetQuery(document.gen_info_search.redirection,document.gen_info_search)' onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> <% }else if (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH_DATASOURCES)==0){%> " TITLE ="<%=manager.getText("btn_Search_t")%>" > <%out.println ("");%> <%out.println ("");%> <% }else if (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH_RESULT_SUMMARY)==0){%> <%out.println ("");%> <%out.println ("");%> <% }else if (screenID.compareTo(UIConst.CORM_ADVANCED_SEARCH_ALPH_LIST)==0){%> <%out.println("");%> <% }else if (screenID.compareTo(UIConst.CORM_RESULT_SUMMARY)==0){%> <% out.println(""); out.println (""); %> <% }else if (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH_RESULT_DETAIL)==0){%> <% out.println (""); out.println (""); out.println ("");%> <% }else if (screenID.compareTo(UIConst.UL_ADVANCED_SEARCH_DATASOURCE_DESCRIPTION)==0){%> " TITLE="<%=manager.getText("btn_Close_t")%>" onclick="window.close()" class="btn" onMouseOver="BtnOver(this)" onMouseOut="BtnOut(this)"> <%}%> <% }else if (screenID.compareTo(UIConst.WELCOME_PAGE)==0){%>    <%}%> <%}%>