anchor.diff:  	</c:when>
   </c:choose>
   <c:set var="dispatch" value="summaryView" />
  -<c:if test="${theSample.userUpdatable}">
  +<c:if test="${theStudy.userUpdatable}">
   	<c:set var="dispatch" value="summaryEdit" />
   </c:if>
   <table summary="" cellpadding="0" cellspacing="0" border="0"
  
positive.code: 	</tr>
  	<tr>
  		<c:choose>
  			<c:when test="${theSample.hasPublications || !empty user}">
  				<c:url var="pubUrl" value="publication.do">
  					<c:param name="dispatch" value="${dispatch}" />
  					<c:param name="sampleId" value="${sampleId}" />
  					<c:param name="page" value="0" />
  					<c:param name="tab" value="ALL" />
  				</c:url>
  
negative.code: 	</tr>
  	<tr>
  	<c:choose>
  			<c:when test="${theStudy.hasSamples || !empty user}">
  				<c:url var="sampleUrl" value="sample.do">
  					<c:param name="dispatch" value="${dispatch}" />
  					<c:param name="studyId" value="${studyId}" />
  					<c:param name="page" value="0" />
  					<c:param name="tab" value="ALL" />
  				</c:url>
  				<c:choose>
  					<c:when test="${actionPath eq '/sample.do'}">
  						<td class="subMenuSecondaryTitleSelected"
  							onmouseover="changeMenuStyle(this,'subMenuSecondaryTitleOver'), showCursor()"
  							onmouseout="changeMenuStyle(this,'subMenuSecondaryTitleSelected'), hideCursor()"
  							onclick="gotoPage('${sampleUrl}')" height="20">
  							<a class="subMenuSecondary">SAMPLE</a>
  						</td>
  					</c:when>
  