anchor.diff:  <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  -<script type="text/javascript">
  -<!--
  -function refreshAgent(form, action,index) {
  -    form.action = form.action + '?dispatch='+action+'&index='+index
  -    form.submit();
  -}
  -//-->
  -</script>
   
   <html:form action="/nanoparticleFunction">
   	<table width="100%" align="center">
  
positive.code: 												<td class="rightLabel" colspan="3">
  													<c:choose>
  														<c:when test="${canUserUpdateParticle eq 'true'}">
  															<html:textarea name="function.linkage" property="description" rows="3" />
  														</c:when>
  														<c:otherwise>
  															${thisForm.map.function.linkages[status.index].description}&nbsp;
  														</c:otherwise>
  													</c:choose>
  												</td>
  											</tr>
  											<tr>
  												<td class="leftLabel">
  													<strong>Agent Type</strong>
  												</td>
  												<td class="lable">
  													<html:select name="function.linkage" property="agent.type" onchange="javascript:refreshAgent(this.form, 'updateAgentForm', ${status.index})">
  														<option />
  															<html:options name="allAgentTypes" />
  													</html:select>
  												</td>
  												<logic:notEmpty name="function.linkage" property="agent.type">
  													<logic:equal name="function.linkage" property="agent.type" value="DNA">
  														<td class="label">
  															<strong>Sequence</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.value"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  													<logic:equal name="function.linkage" property="agent.type" value="Peptide">
  														<td class="label">
  															<strong>Sequence</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.otherValue"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  													<logic:equal name="function.linkage" property="agent.type" value="Samll Molecule">
  														<td class="label">
  															<strong>Name</strong>
  														</td>
  														<td class="label">
  															<html:text name="function.linkage" indexed="true" property="agent.name"/>
  															&nbsp;
  														</td>
  														<td class="label">
  															<strong>Compound Name</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.otherValue"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  													<logic:equal name="function.linkage.agent.type" value="Probe">
  														<td class="label">
  															<strong>Name</strong>
  														</td>
  														<td class="label">
  															<html:text name="function.linkage" indexed="true" property="agent.name"/>
  															&nbsp;
  														</td>
  														<td class="label">
  															<strong>Type</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.otherValue"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  													<logic:equal name="function.linkage.agent.type" value="Antibody">
  														<td class="label">
  															<strong>Name</strong>
  														</td>
  														<td class="label">
  															<html:text name="function.linkage" indexed="true" property="agent.name"/>													
  															&nbsp;
  														</td>
  														<td class="label">
  															<strong>Species</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.otherValue"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  													<logic:equal name="function.linkage.agent.type" value="Image Contrast Agent">
  														<td class="label">
  															<strong>Name</strong>
  														</td>
  														<td class="label">
  															<html:text name="function.linkage" indexed="true" property="agent.name"/>
  															&nbsp;
  														</td>
  														<td class="label">
  															<strong>Type</strong>
  														</td>
  														<td class="rightLabel">
  															<html:text name="function.linkage" indexed="true" property="agent.otherValue"/>
  															&nbsp;
  														</td>
  													</logic:equal>
  												</logic:notEmpty>
  											</tr>
  											<!--   based on the value of function type -->
  											
  											<!--   end of based on the value of function type -->
  										</tbody>
  									</table>
  								</c:forEach>
  							</td>
  						</tr>
  				</table>
  
negative.code: 								&nbsp;
  								<c:choose>
  									<c:when test="${canUserUpdateParticle eq 'true'}">
  										<input type="button" onclick="javascript:updateFunctionLinkages()" value="Update Linkages">
  									</c:when>
  								</c:choose>
  							</td>
  						</tr>
  						<tr>
  							<td class="completeLabel" colspan="4">
  								<logic:iterate id="linkage" name="nanoparticleFunctionForm" property="function.linkages" indexId="linkageInd">
  									<table class="topBorderOnly" cellspacing="0" cellpadding="3" width="100%" align="center" summary="" border="0">
  										<tbody>
  											<tr class="topBorder">
  												<td class="formSubTitle" colspan="4">
  													<div align="justify">
  														Linkage ${linkageInd+1}
  													</div>
  												</td>
  											</tr>
  											<tr>
  												<td class="leftLabel">
  													<strong>Linkage Type </strong>
  												</td>
  												<td class="label" colspan="3">
  													<table cellspacing="0" cellpadding="3" width="100%" align="center" summary="" border="0">
  														<tr>
  															<td class="borderlessLabel">
  																<c:choose>
  																	<c:when test="${canUserUpdateParticle eq 'true'}">
  																		<html:radio property="function.linkages[${linkageInd}].type" value="Attachment" />
  																Attachement
  																</c:when>
  																	<c:otherwise>
  																${linkage.type}
  																</c:otherwise>
  																</c:choose>
  															</td>
  															<td class="borderlessLabel">
  																<strong>Bond Type</strong>
  																<c:choose>
  																	<c:when test="${canUserUpdateParticle eq 'true'}">
  																		<html:text property="function.linkages[${linkageInd}].value" /> &nbsp;				
  																	</c:when>
  																	<c:otherwise>
  																		${linkage.value}&nbsp;
  																	</c:otherwise>
  																</c:choose>
  															</td>
  														</tr>
  														<tr>
  															<td class="borderlessLabel">
  																<c:choose>
  																	<c:when test="${canUserUpdateParticle eq 'true'}">
  																		<html:radio property="function.linkages[${linkageInd}].type" value="Encapsulation" />
  																Encapsulation
  																</c:when>
  																	<c:otherwise>
  																${linkage.type}
  																</c:otherwise>
  																</c:choose>
  															</td>
  															<td class="borderlessLabel">
  																<strong>Localization</strong>
  																<c:choose>
  																	<c:when test="${canUserUpdateParticle eq 'true'}">
  																		<html:text property="function.linkages[${linkageInd}].value" /> &nbsp;
  														</c:when>
  																	<c:otherwise>
  															${linkage.value}&nbsp;
  														</c:otherwise>
  																</c:choose>
  															</td>
  														</tr>
  													</table>
  												</td>
  											</tr>
  
  											<tr>
  												<td class="leftLabel">
  													<Strong>Linkage Description</Strong>
  