<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>BioCASe Interface: Collections & Institutions> European map </title> <link rel="stylesheet" style="text/css" href="static/css/tao.css"> <link rel="stylesheet" style="text/css" href="static/css/style.css"> <script src="lib.js"></script> <script src="static/js/general.js" type="text/javascript"></script> <script language="JavaScript" type="text/JavaScript"> function valid(listField){ for (var i = 0; i < listField.options.length; i++) { listField.options[i].selected = true; } } function addToList(listField, newText) { if ( newText == "" ) { alert("You cannot add blank values!"); } else { var len = listField.length++; // Increase the size of list and return the size listField.options[len].value = newText; listField.options[len].text = newText; listField.options[len].name = newText //listField.selectedIndex = len; // Highlight the one just entered (shows the user that it was entered) } // Ends the check to see if the value entered on the form is empty valid(listField); } function removeFromList(listField) { if ( listField.length == -1) { // If the list is empty alert("There are no values which can be removed!"); } else { var selected = listField.selectedIndex; if (selected == -1) { alert("You must select an entry to be removed!"); } else { // Build arrays with the text and values to remain var replaceTextArray = new Array(listField.length-1); var replaceValueArray = new Array(listField.length-1); for (var i = 0; i < listField.length; i++) { // Put everything except the selected one into the array if ( i < selected) { replaceTextArray[i] = listField.options[i].text; } if ( i > selected ) { replaceTextArray[i-1] = listField.options[i].text; } if ( i < selected) { replaceValueArray[i] = listField.options[i].value; } if ( i > selected ) { replaceValueArray[i-1] = listField.options[i].value; } } listField.length = replaceTextArray.length; // Shorten the input list for (i = 0; i < replaceTextArray.length; i++) { // Put the array back into the list listField.options[i].value = replaceValueArray[i]; listField.options[i].text = replaceTextArray[i]; } } // Ends the check to make sure something was selected } // Ends the check for there being none in the list valid (window.document.f.countries_map); } </script> <title>BIOCASE User Interface</title> </head> <%@ page import="java.util.*" %> <%@ page import="gui.collections.input.CollectionManagement" %> <%@ page import="gui.common.query.UserQuery" %> <%@ page import="gui.common.settings.UIConst" %> <%@ page import="gui.common.management.UIManager" %> <jsp:useBean id="UserQuery" scope="session" class="gui.common.query.UserQuery"/> <jsp:useBean id="management" scope="session" class="gui.collections.input.CollectionManagement"/> <jsp:useBean id="manager" scope="session" class="gui.common.management.UIManager"/> <body leftmargin="0" topmargin="0" id="searchPage"> <!-- top.jsp start --> <jsp:include page="top.jsp"> <jsp:param name="Header" value="<%=UIConst.METADATA_ADVANCED_SEARCH%>" /> <jsp:param name="scrumb" value=" <li>»<a href=\"http://search.biocase.org/synth-ui/search/\" title=\"Search\">Search</a></li> <li>»<a href=\"http://search.biocase.org/gui/metadata.jsp\" title=\"Search in metadata\">Metadata</a></li> <li>»<a href=\"MetadataMap.jsp\" title=\"Map\">Map</a></li> "/> </jsp:include> <!-- top.jsp end --> <div id="content"> <%manager.setSearchType(UIConst.METADATA_ADVANCED_SEARCH);%> <%manager.setScreenID(UIConst.CORM_ADVANCED_SEARCH_MAP);%> <%manager.setAdditionalTitle(manager.getText("map_title"));%> <%manager.setaAditionalSubTitle(UIConst.EMPTY_STRING);%> <INPUT TYPE = "hidden" value= "empty" NAME= "redirection"> <FORM NAME = "f" ACTION ="<%=manager.getLink("CORM_ADVANCED_SEARCH_FILE")%>" METHOD="POST"> <INPUT TYPE = "hidden" NAME= "PreviousAction" VALUE="COUNTRY_MAP"> <%=manager.getText("map_title")%> <br/> <%@ include file="map.jsp" %> </form> </div> <!-- Content --> <jsp:include page="bottom.jsp"> <jsp:param name="Header" value="1" /> </jsp:include> </body> </html>