anchor.diff:  <tr><td>Type</td><td><input type="text" name="type" <c:if test="${not empty MATERIALSEARCH and not empty MATERIALSEARCH.type}">value="${MATERIALSEARCH.type}"</c:if>/></td><td><input type="submit" name="mode" value="search" onclick="addClicked(this)"/></td></tr>
   </tbody>
   </table>
  -<SPAN class="buttons"><input type="submit" name="mode" value="add" onclick="addClicked(this)"/><input type="submit" name="mode" value="edit"  /></SPAN>
  -</FORM>
  +-->
  +</form>
  +<%@ include file="/BootStrapFooter.jsp" %>
   
  +<!-- Stops the search menu closing when clicked on -->
  +<%--http://stackoverflow.com/questions/10863821/bootstrap-dropdown-closing-when-clicked --%>
  +<script type="text/javascript">
  +    $('.navbar-form').click(function(e) {
  +        e.stopPropagation();
  +    });
  +
  +    /* The user's enter keypress on the search element should submit a search */
  +    $('.navbar-form').keypress(function(e) {
  +    	var code = (e.keyCode ? e.keyCode : e.which);
  +    	if(code==13)
  +    	{
  +    		$("#search-btn").click();
  +            e.stopPropagation();
  +    		return false;
  +    	}	
  +        });
  +</script>
  +<div id="alert" class="alert alert-danger" role="alert" onclick="hide(this)"></div>
   </body>
   </html>
positive.code: </style>
  <script src="${pageContext.request.contextPath}/js/SearchPage.js"></script>
  <script src="${pageContext.request.contextPath}/js/TablesSort.js"></script>
  </head>
  <body>
  <DIV class="title">
  <H1>Material</H1>
  </DIV>
  <%@ include file="NavigationDiv.jspf" %>
  
  
  <FORM action="${pageContext.request.contextPath}/app/Material_search" method="post" onsubmit="return isChecked(this,'material')">
  <DIV class="results">
  <TABLE>
  <thead>
  <TR><TH onclick="tableSort(this, 'Company');selected(null);">Company</TH>
  	<TH onclick="tableSort(this, 'Name');selected(null);">Name</TH>
  	<TH onclick="tableSort(this, 'Type');selected(null);">Type</TH>
  	<TH></TH>
  </TR>
  </thead>
  <tbody>
  
negative.code: <%-- 
  	@author Adrian Mclaughlin
   	@version 1.1
  --%>
  <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  <%@ taglib prefix="tags" tagdir="/WEB-INF/tags/BottomMenuBar" %>
  <!DOCTYPE html>
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <%@ include file="/BootStrapHeader.jsp" %>
  <title>ACME Plastics :Material Search Page</title>
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/General.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/SearchPage.css">
  