anchor.diff:                    <label>Sample</label>
                     <c:out value="${sc.sample.name}"/>
                     <c:out value="${sc.sample.typeSample.name}"/>
  +                  <c:if test="${sc.sample.typeSample.IName == 'library'}">
  +<div>
  +<a href="javascript:{}" onclick="showAssignForm(this)">(+)</a>
  +<div style="display:none">
  +<form method="POST" action="<c:url value="/facility/platformunit/assignAdd.do" />">
  +  <input type="hidden" name="librarysampleid" value="${sc.sample.sampleId}"> 
  +  <select class="selectLane" name="lanesampleid"></select>
  +  <input type="submit" value="assign">
  +</form>
  +</div>
  +</div>
  +                  </c:if>
                     <c:forEach items="${sc.sample.sampleSourceViaSourceSampleId}" var="schild">
                       <div class="samplechild">
  -                      <label>One Deep</label>
  +                    <c:if test="${schild.sample.typeSample.IName == 'library'}">
  +                        <label>One Deep Libray</label>
  +                        <c:out value="${schild.sample.name}" />
  +<div>
  +<a href="javascript:{}" onclick="showAssignForm(this)">(+)</a>
  +<div style="display:none">
  +<form method="POST" action="<c:url value="/facility/platformunit/assignAdd.do" />">
  +  <input type="hidden" name="librarysampleid" value="${schild.sample.sampleId}"> 
  +  <select class="selectLane" name="lanesampleid"></select>
  +  <input type="submit" value="assign">
  +</form>
  +</div>
  +</div>
  +                    </c:if>
  +                    <c:if test="${schild.sample.typeSample.IName == 'lane'}">
  +                        <label>One Deep Lane</label>
  +                        <c:out value="${schild.sample.name}" />
  +                            (-)
  +                    </c:if>
                         <c:forEach items="${schild.sample.sampleSourceViaSourceSampleId}" var="schild2">
  -                        <div class="samplechild2">
  -                          <label>Two Deep</label>
  -                        </div>
  +                        <c:if test="${schild2.sample.typeSample.IName == 'lane'}">
  +                          <div class="samplechild2">
  +                            <label>Two Deep</label>
  +                              <c:out value="${schild2.sample.name}" />
  +                              (-)
  +                          </div>
  +                        </c:if>
                         </c:forEach>
                       </div>
                     </c:forEach>
  
positive.code:   </c:forEach>
  </div>
  
  <hr>
  
  <div class="platformUnitSide">
    <c:forEach items="${platformunits}" var="pu">
      <div class="platformunit">
        <label>PU</label>
        <c:out value="${pu.name}" /> 
  
negative.code:            <c:out value="${puparent.sampleSourceId}" /> 
             <c:out value="${puparent.sampleViaSource.name}" /> 
  
             <c:forEach items="${puparent.sampleViaSource.sampleSource}" var="lib">
               <div class="library">
                 <label>Library</label><c:out value="${lib.sampleViaSource.name}" /> 
               </div>
             </c:forEach>
           </div>
        </c:forEach>
      </div>
    </c:forEach>
    </c:forEach>
  </div>
  
  <div style="clear:both" />
  </div><!-- /assignmentContent -->
  
  
  <script>
    var lanes = $(".selectLane");
    <c:forEach items="${platformUnitStates}" var="state">
    <c:forEach items="${state.statesample}" var="stateSample">
      <c:set var="pu" value="${stateSample.sample}" />
  lanes.append($('<option></option>').val('<c:out value="0" />').html('<b><c:out value="${pu.name}" /></b>'));
        <c:forEach items="${pu.sampleSource}" var="puparent">
           lanes.append($('<option></option>').val('<c:out value="${puparent.sampleViaSource.sampleId}" />').html(' - <c:out value="${puparent.sampleViaSource.name}" />'));
        </c:forEach>
    </c:forEach>
    </c:forEach>
  </script>
  