anchor.diff:  									</c:when>
   								</c:choose>	
   				 				<br />
  -				 				<select class="FormElement ui-widget-content ui-corner-all" name="platformunitId" size="1">
  +				 				<select class="FormElement ui-widget-content ui-corner-all" name="lanesampleid" size="1" onchange="validate(this)">
   									<option value="0">--SELECT A FLOW CELL LANE--
   									<c:forEach items="${flowCells}" var="flowCell">
  -										<option value="<c:out value="${flowCell.sampleId}" />" >FlowCell: <c:out value="${flowCell.name}" />
  +										<option value="0" />FlowCell: <c:out value="${flowCell.name}" />
   										<c:forEach items="${flowCell.sampleSource}" var="cell">
   											<option value="<c:out value="${cell.sampleViaSource.sampleId}" />" >&nbsp;&nbsp;&nbsp;Lane: <c:out value="${cell.sampleViaSource.name}" />
   											<c:forEach items="${cell.sampleViaSource.sampleSource}" var="library">
  -												<option value="<c:out value="${library.sampleViaSource.sampleId}" />" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Library: <c:out value="${library.sampleViaSource.name}" />
  +												<option value="0" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Library: <c:out value="${library.sampleViaSource.name}" />
   												<c:forEach items="${library.sampleViaSource.sampleMeta}" var="sm">
           											<c:if test="${fn:substringAfter(sm.k, 'Library.') == 'adaptor'}">
               											&nbsp;[Index: <c:out value="${adaptors.get(sm.v).barcodenumber}"/>, <c:out value="${adaptors.get(sm.v).barcodesequence}"/>]
  
positive.code: 								</c:choose>	
  		
  				 				<br />
  				 				<select class="FormElement ui-widget-content ui-corner-all" name="platformunitId" size="1">
  									<option value="0">--SELECT A FLOW CELL LANE--
  									<c:forEach items="${flowCells}" var="flowCell">
  										<option value="<c:out value="${flowCell.sampleId}" />" >FlowCell: <c:out value="${flowCell.name}" />
  										<c:forEach items="${flowCell.sampleSource}" var="cell">
  											<option value="<c:out value="${cell.sampleViaSource.sampleId}" />" >&nbsp;&nbsp;&nbsp;Lane: <c:out value="${cell.sampleViaSource.name}" />
  											<c:forEach items="${cell.sampleViaSource.sampleSource}" var="library">
  												<option value="<c:out value="${library.sampleViaSource.sampleId}" />" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Library: <c:out value="${library.sampleViaSource.name}" />
  												<c:forEach items="${library.sampleViaSource.sampleMeta}" var="sm">
          											<c:if test="${fn:substringAfter(sm.k, 'Library.') == 'adaptor'}">
              											&nbsp;[Index: <c:out value="${adaptors.get(sm.v).barcodenumber}"/>, <c:out value="${adaptors.get(sm.v).barcodesequence}"/>]
  
negative.code: 		showButton.style.display = 'block';
  		theForm.style.display = 'none';
  	}	
  }
  function validate(obj){
  	if(obj.value==0){
  		alert("You must select a Lane");
  		return false;
  	}
  }
  </script>
  </head>
  