anchor.diff:  			window.parent.frames['CPTreeView'].location="ProtocolEventsDetails.do?pageOf=newEvent";
   	}
   	
  -	function ViewSummary()
  +	function viewSummary()
   	{
   		var action ="GenericSpecimenSummary.do?Event_Id="+"<%=mapKey%>";
   		document.forms[0].action = action;
  
positive.code: 				      readOnlyForSpecimen = "true";
  				}
  			%>
  			    <autocomplete:AutoCompleteTag property="className"
  						  optionsList = "<%=request.getAttribute(Constants.SPECIMEN_CLASS_LIST)%>"
  						  initialValue="<%=form.getClassName()%>"
  						  readOnly="<%=readOnlyForSpecimen%>"
  						  onChange="onTypeChange(this);clearTypeCombo()"
  				/>
  	       	</td>
  		    <td class="formFieldNoBordersSimple" width="5">*</td>
  		    <td class="formFieldNoBordersSimple">
  		     	<label for="type">
  		     		<b><bean:message key="specimen.subType"/></b>
  		     	</label>
  		    </td>				    
  		    <td class="formFieldNoBordersSimple" >
  		    
  		   <autocomplete:AutoCompleteTag property="type"
  						  optionsList = "<%=request.getAttribute(Constants.SPECIMEN_TYPE_MAP)%>"
  						  initialValue="<%=form.getType()%>"
  						  onChange="<%=subTypeFunctionName%>"
  						  readOnly="<%=readOnlyForAliquot%>"
  						  dependsOn="<%=form.getClassName()%>"
  	        />
  	
  	       	</td>
  		</tr>
  		<tr>
  		     <td class="formFieldNoBordersSimple" width="5">*</td>
  		     <td class="formFieldNoBordersSimple">
  				<label for="tissueSite">
  					<b><bean:message key="specimen.tissueSite"/></b>
  				</label>
  			</td>
  		     <td class="formFieldNoBordersSimple" >
  	            <autocomplete:AutoCompleteTag property="tissueSite"
  						  size="150"
  						  optionsList = "<%=request.getAttribute(Constants.TISSUE_SITE_LIST)%>"
  						  initialValue="<%=form.getTissueSite()%>"
  						  readOnly="<%=readOnlyForAliquot%>"
  					    />
  				<%
  					String url = "ShowFramedPage.do?pageOf=pageOfTissueSite&propertyName=tissueSite&cdeName=Tissue Site";
  				%>
  				<a href="#" onclick="javascript:NewWindow('<%=url%>','name','360','525','no');return false">
  					<img src="images\Tree.gif" border="0" width="24" height="18" title='Tissue Site Selector'>
  				</a>
  	       	 </td>
  		     <td class="formFieldNoBordersSimple" width="5">*</td>
  		     <td class="formFieldNoBordersSimple">
  				<label for="tissueSide">
  					<b><bean:message key="specimen.tissueSide"/></b>
  				</label>
  			</td>
  		     <td class="formFieldNoBordersSimple" >
  			  <autocomplete:AutoCompleteTag property="tissueSide"
  						  optionsList = "<%=request.getAttribute(Constants.TISSUE_SIDE_LIST)%>"
  						  initialValue="<%=form.getTissueSide()%>"
  						  readOnly="<%=readOnlyForAliquot%>"
  					    />
  	       	  </td>
  		</tr>
  		<tr>
  		    <td class="formFieldNoBordersSimple" width="5">*</td>
  		    <td class="formFieldNoBordersSimple">
  				<label for="pathologicalStatus">
  					<b><bean:message key="specimen.pathologicalStatus"/></b>
  				</label>
  			</td>
  			<td class="formFieldNoBordersSimple" >
  				<autocomplete:AutoCompleteTag property="pathologicalStatus"
  							  optionsList = "<%=request.getAttribute(Constants.PATHOLOGICAL_STATUS_LIST)%>"
  							  initialValue="<%=form.getPathologicalStatus()%>"
  							  readOnly="<%=readOnlyForAliquot%>"
  				/>
  	       	</td>
  			
  			<td class="formFieldNoBordersSimple" width="5">*</td>
  			<td class="formFieldNoBordersSimple">
  				<label>
  					<b><bean:message key="cpbasedentry.storagelocation"/></b>
  				</label>
  			</td>
  			<td class="formFieldNoBordersSimple">
  				<autocomplete:AutoCompleteTag property="storageLocationForSpecimen"
  						  optionsList = "<%=request.getAttribute("storageContainerList")%>"
  						  initialValue="<%=form.getStorageLocationForSpecimen()%>"
  				/>
  			</td>
    		</tr>
  	    
  	    <td class="formFieldNoBordersSimple" width="5">*</td>
  		 <td class="formFieldNoBordersSimple">
  			<label for="quantity">
  				<b><bean:message key="specimen.quantity"/></b>
  			</label>
  		</td>
  	    <td class="formFieldNoBordersSimple" >
  	     	<html:text styleClass="formFieldSized15" size="30" maxlength="10"  styleId="quantity" property="quantity"/>
  	     	<span id="unitSpan"><%=unitSpecimen%></span>
  	     	<html:hidden property="unit"/>
  	    </td>
  		<td class="formFieldNoBordersSimple" width="5">
  	     	&nbsp;
  	    </td>
  	    <td class="formFieldNoBordersSimple">
  			<label for="concentration">
  				<bean:message key="specimen.concentration"/>
  			</label>
  		</td>
  		<td class="formFieldNoBordersSimple" >
  		<%
  			boolean concentrationDisabled = true;
  			if(form.getClassName().equals("Molecular") && !Constants.ALIQUOT.equals(form.getLineage()))
  				concentrationDisabled = false;
  		%>
       		<html:text styleClass="formFieldSized15" maxlength="10"  size="30" styleId="concentration" property="concentration" 
       		readonly="<%=readOnlyForAll%>" disabled="<%=concentrationDisabled%>"/>
  			&nbsp;<bean:message key="specimen.concentrationUnit"/>
  		</td>
  	 </tr>
  	 <tr>	
  		<html:hidden property="collectionEventId" />
  		<html:hidden property="collectionEventSpecimenId" />
  		<td class="formFieldNoBordersSimple" width="5">*</td>
  			<td class="formFieldNoBordersSimple"> 
  			<label for="user">
  				<b><bean:message key="specimen.collectedevents.username"/> </b>
  			</label>
  		</td>						
  		<td class="formFieldNoBordersSimple">
  			<autocomplete:AutoCompleteTag property="collectionEventUserId"
  						  optionsList = "<%=request.getAttribute(Constants.USERLIST)%>"
  						  initialValue="<%=new Long(form.getCollectionEventUserId())%>"
  						  staticField="false"
  			/>		
  		</td>		
  		<!-- RecievedEvent fields -->
  		<html:hidden property="receivedEventId" />
  		<html:hidden property="receivedEventSpecimenId" />
  		<td class="formFieldNoBordersSimple" width="5">*</td>
  		<td class="formFieldNoBordersSimple">
  			<label for="type">
  				<b><bean:message key="specimen.receivedevents.username"/> </b>
  			</label>
  		</td>
  		<td class="formFieldNoBordersSimple">
  			<autocomplete:AutoCompleteTag property="receivedEventUserId"
  				  optionsList = "<%=request.getAttribute(Constants.USERLIST)%>"
  				  initialValue="<%=new Long(form.getReceivedEventUserId())%>"
  				  staticField="false"
  		/>	
  	</tr>
  	<tr>
  	 	<td class="formFieldNoBordersSimple" width="5">*</td>
  		<td class="formFieldNoBordersSimple">
  			<label for="collectionprocedure">
  				<b><bean:message key="cpbasedentry.collectionprocedure"/></b>
  			</label>
  		</td>
  		<td class="formFieldNoBordersSimple">
  				<autocomplete:AutoCompleteTag property="collectionEventCollectionProcedure"
  						  optionsList = "<%=request.getAttribute(Constants.PROCEDURE_LIST)%>"
  						  initialValue="<%=form.getCollectionEventCollectionProcedure()%>"
  		/>							
  		</td>						
  		
  		<!-- RecievedEvent fields -->
  		<td class="formFieldNoBordersSimple" width="5"rowspan="2">*</td>
  		<td class="formFieldNoBordersSimple"rowspan="2"> 
  			<label for="quality">
  				<b><bean:message key="cpbasedentry.receivedquality"/></b>
  			</label>
  		</td>						
  		<!-- receivedeventparameters.receivedquality -->
  		<td class="formFieldNoBordersSimple"rowspan="2">
  			<autocomplete:AutoCompleteTag property="receivedEventReceivedQuality"
  						  optionsList = "<%=request.getAttribute(Constants.RECEIVED_QUALITY_LIST)%>"
  						  initialValue="<%=form.getReceivedEventReceivedQuality()%>"
  		/>
  		</td>
  	</tr>
  	
  	<!-- CollectionEvent fields -->	
  	<tr>							
  		<td class="formFieldNoBordersSimple" width="5">*</td>
  		<td class="formFieldNoBordersSimple">
  			<label for="container">
  				<b><bean:message key="cpbasedentry.collectioncontainer"/></b>
  			</label>
  		</td>
  		<td class="formFieldNoBordersSimple">
  			<autocomplete:AutoCompleteTag property="collectionEventContainer"
  					  optionsList = "<%=request.getAttribute(Constants.CONTAINER_LIST)%>"
  					  initialValue="<%=form.getCollectionEventContainer()%>"
  	    />
  		</td>
  	</tr>	
  	</table>
  	&nbsp;
  	<table summary="" cellpadding="3" cellspacing="1" border="0" width="700" id="aliquotId">
  		
  		<tr>
  			<td class="formTitle" height="20" width="700" colspan="7">
  				<bean:message key="cpbasedentry.aliquots"/>							
  			</td>
  		</tr>
  		<tr>					
  			<td class="formFieldNoBordersSimple">
  				 <label>
  			   		<bean:message key="aliquots.noOfAliquots"/>
  				 </label>
  			</td>
  			<td class="formFieldNoBordersSimple">
  	            <html:text styleClass="formFieldSized5" styleId="noOfAliquots" property="noOfAliquots"/>
  			</td>
  			<td class="formFieldNoBordersSimple">
  				 <label>
  			   		<bean:message key="aliquots.qtyPerAliquot"/>
  				 </label>
  			</td>
  	         <td class="formFieldNoBordersSimple">
  				<html:text styleClass="formFieldSized5" styleId="quantityPerAliquot" property="quantityPerAliquot"/>
  		    </td>
  			<td class="formFieldNoBordersSimple">
  				<label>
  					<b><bean:message key="cpbasedentry.storagelocation"/></b>
  				</label>
  			</td>
  			<td class="formFieldNoBordersSimple">
  					<autocomplete:AutoCompleteTag property="storageLocationForAliquotSpecimen"
  						  optionsList = "<%=request.getAttribute("storageContainerList")%>"
  						  initialValue="<%=form.getStorageLocationForAliquotSpecimen()%>"
  				/>
  			</td>
  		</tr>								
  	</table>	
  	&nbsp;
  	<table summary="" cellpadding="3" cellspacing="0" border="0" width=700>
  		<tr>
  			<td colspan="5" class="formTitle">
  				<b><bean:message key="cpbasedentry.derivespecimens"/></b>
  			</td>
  			<td class="formTitle">	
  				<html:button property="addSpecimenReq" styleClass="actionButton" value="Add More" disabled="<%=disabled%>" onclick="insRow('DeriveSpecimenBean')"/>
  			</td>
  			<td class="formTitle" align="Right">
  			<%String deleteSpecimenRequirements = "deleteChecked('DeriveSpecimenBean','CreateSpecimenTemplate.do?operation="+operation+"&pageOf=delete',document.forms[0].noOfDeriveSpecimen,'checkBox_',false)"; %>
  				<html:button property="deleteSpecimenReq" styleClass="actionButton" onclick="<%= deleteSpecimenRequirements %>" disabled="<%=disabled%>">
  						<bean:message key="buttons.delete"/>
  				</html:button>
  			</td>
  		</tr>
  	    <tr> 
  			<td class="formLeftSubTitle">
  				<bean:message key="collectionprotocol.specimennumber" />
  			</td>
  			<td class="formLeftSubTitle">* 
  				<bean:message key="collectionprotocol.specimenclass" />
  			</td>
  			<td class="formLeftSubTitle">* 
  				<bean:message key="collectionprotocol.specimetype" />
  			</td>
  			<td class="formLeftSubTitle">* 
  				<b><bean:message key="cpbasedentry.storagelocation"/></b>
  			</td>
  			<td class=formLeftSubTitle>*
  				<bean:message key="collectionprotocol.quantity" />
  			</td>
  			<td class=formLeftSubTitle>*
  				<b><bean:message key="cpbasedentry.concentration"/></b>
  			</td>
  			
  			<td class="formLeftSubTitle">
  				<label for="delete" align="center">
  					<bean:message key="addMore.delete" />
  				</label>
  			</td>
  		</tr><!-- SUB TITLES END -->
  		
  			<script> document.forms[0].noOfDeriveSpecimen.value = <%=noOfDeriveSpecimen%> </script>
  			<TBODY id="DeriveSpecimenBean">
  			<%
  
  				for(int rowno=1;rowno<=noOfDeriveSpecimen;rowno++)
  
negative.code: 		
  		//Storage Location
  		var spreqsubtype=x.insertCell(3)
  		spreqsubtype.className="black_new";
  		sname="";
  		objname = "deriveSpecimenValue(DeriveSpecimenBean:" + rowno + "_storageLocation)";
  		
  		sname= "<select name='" + objname + "' size='1' class='formFieldSized8' id='" + objname + "' onmouseover=showTip(this.id) onmouseout=hideTip(this.id)>";
  
  		<%
  			for(int i=0;i<storageContainerList.size();i++)
  