anchor.diff:  %>
   
   <script>
  +
   var globalPageOf="";
   var globalContName="";
   var globalPos1="";
   var globalPos2="";
   function getActionToDoURL()
   {
  -	var className="${requestScope.holdSpecimenClass}";//parent.window.document.getElementById('className').value;
  -	//alert(className);
  +	var className="${requestScope.holdSpecimenClass}";
   	var sptype="${requestScope.holdSpecimenType}";
   	var collectionProtocolId="<%=collectionProtocolId%>";
   	var containerName="${requestScope.containerName}";
   	if(dhtmlxCombo!=null)
   	{
  -		containerName=dhtmlxCombo.getComboText();//dhtmlxCombo.getActualValue();
  +		containerName=dhtmlxCombo.getComboText();
   	}
   	var url="CatissueCommonAjaxAction.do?type=getStorageContainerListForDHTMLXcombo&holdSpecimenClass="+className+"&specimenType="+sptype+ "&holdCollectionProtocol=" + collectionProtocolId+"&selectedContainerName=${requestScope.containerName}";
   	if(reloadGrid!=null && reloadGrid)
  
positive.code: 		document.getElementById('error').innerHTML="<font color='red'>"+ msg+"</font>";
  	}
  }
  
  /*var containerDropDownInfo, scGrid;
  var scGridVisible = false;
  
  
  function doOnLoad()
  {
  	var url=getActionToDoURL();
  	//Drop Down components information
  	containerDropDownInfo = {gridObj:"storageContainerGrid", gridDiv:"storageContainer", dropDownId:"storageContainerDropDown", pagingArea:"storageContainerPagingArea", infoArea:"storageContainerInfoArea", onOptionSelect:"containerOnRowSelect", actionToDo:url, callBackAction:onContainerListReady, visibilityStatusVariable:scGridVisible, propertyId:'selectedContainerName'};
  	// initialising grid
  	scGrid = initDropDownGrid(containerDropDownInfo,false); 
  }
  
  function containerOnRowSelect(id,ind)
  {
  	document.getElementById('selectedContainerName').value = id;
  	document.getElementById(containerDropDownInfo['dropDownId']).value = scGrid.cellById(id,ind).getValue();
  	document.getElementById("pos1").value="";
  	document.getElementById("pos2").value="";
  	hideGrid(containerDropDownInfo['gridDiv']);
  	scGridVisible = false;
  	document.getElementById('containerGrid').innerHTML="";
  	document.getElementById('error').innerHTML="";
  	onContainerDetailDisplay("storageContainerDropDown");
  }*/ 
  
  function onContainerDetailDisplay(controlName)
  {
  
  
  	var name;
  	
  	 var specimenPosition=parent.window.document.getElementById("storageContainerPosition")
  		
  		if(dhtmlxCombo!=null)// && specimenPosition!=null)
  	{
  		name=dhtmlxCombo.getComboText();//dhtmlxCombo.getActualValue();
  	}
  	else if(controlName!=null)
  	{
  ///		name = parent.window.document.getElementById(controlName).value;
  	}
  	
  	else
  	{
  		name='<%=storageContainerName%>';
  	}
  	//alert(name);
      var request = newXMLHTTPReq();	
  	if(request == null)
      {
  		alert ("Your browser does not support AJAX!");
  
negative.code: 	}
  	if(populateValueInCombo!=null)
  	{
  		url=url+"&populateValueInCombo="+populateValueInCombo;
  	}
  	
  	return url;
  }
  </script>
  <body onLoad='checkSpecimenStatus();'>
  <%@ include file="/pages/content/common/ActionErrors.jsp" %>
  	<table summary="" cellpadding="0" cellspacing="0" border="0"  width="100%" >
  
  		<tr>
  			<td class="black_ar" align="left">
  			<div id="error" style="height:50%;width:100%;"></div>
  			</td>
  		</tr>
  		<tr>
  			<td class="bottomtd"></td>
  		</tr>
  		<tr>
  			<td>
  				<table valign="center" cellpadding="0" cellspacing="0" border="0" >
  					<tr>
  						<td class="black_ar" align="left" style="padding:5px 5px 0 0;">&nbsp;&nbsp;&nbsp;<span style="white-space:nowrap;"><b>Container Name:</b></span>
  						</td>
  						<td class="black_ar">
  							<div id="comboDiv" style="width:200px;display:block;"></div>
  						</td>			
  						<td class="black_ar"  style="padding-left:15px;" >
  							<input type="text" class="black_ar_md_new"  size="1" id="pos11" name="pos11" value="${sessionScope.pos1Val}"disabled= "false"/>
  						</td>
  						<td class="black_ar" align="left" style="padding-left:5px;">
  							<input type="text" class="black_ar_md_new"  size="1" id="pos22" name="pos22" value="${sessionScope.pos2Val}" disabled= "false"/>
  							<input type="hidden" id="pos1" name="pos1" />
  							<input type="hidden" id="pos2" name="pos2" />
  						</td>
  						<td class="black_ar" align="right" style="padding-top:2px">
  							<input type="radio" name="virtualCont" onClick="setVirtual()"/>&nbsp;
  						</td>
  						<td class="black_ar" align="left" style="padding-top:5px"> <b>Virtual</b>
  						</td>
  					</tr>
  				</table>
  				<div id="storageContainerNameDiv" style="display:block"></div>
  			</td>
  		</tr>
  		<tr>
  			<td class="bottomtd"></td>
  		</tr>
  		<tr>
  			<td>
  				<table cellpadding="0" cellspacing="0" border="0">
  				<tr>
  					<td style="width:2px;"> </td>
  					<td style="padding:10px 10px 10px 10px;" class="black_ar">
  						<b><span id="dimensionTwoLabel"  style="white-space: nowrap;"></span></b>
  					</td>
  				</tr>
  				
  				<tr>
  					<td style="width:2px; padding:10px 10px 10px 10px;" class="black_ar_vlabel">
  						<b><span id="dimensionOneLabel"></span></b>
  					</td>
  					<td width="100%" height="100%" valign="top">
  						<div id="data_container" style="overflow:hidden;"></div>
  					</td>
  				</tr>
  				</table>
  			</td>
  		</tr>
  	</table>
  
  </body>
  <script>
  		
  /*var fromStoragePosition1=parent.window.document.getElementById('storageContainerPosition').value;
  var fromContainerName1=fromStoragePosition1.substring(0,fromStoragePosition1.lastIndexOf('(')-1);
  var storagePositions1=fromStoragePosition1.substring(fromStoragePosition1.lastIndexOf('(')+1,fromStoragePosition1.lastIndexOf(')')).split(",");
  document.getElementById('pos1').value=storagePositions1[0];
  document.getElementById('pos2').value=storagePositions1[1];*/
  
  function setTextBoxValue(elementId1,elementValue1,elementId2,elementValue2,pageOf)
  {
  	//alert("elementId1:  "+elementId1+"  elementValue1:  "+elementValue1+"  elementId2:   "+elementId2+"elementValue2:   "+elementValue2);
  	if(pageOf == 'pageOfSpecimen')
  	{
  		var id1 = document.getElementById("pos1");	
  		id1.value = elementValue1;
  		var id2 = document.getElementById("pos2");	
  		id2.value = elementValue2;
  	}
  	else
  	{
  		var id1 = document.getElementById(elementId1);	
  		id1.value = elementValue1;
  		var id2 = document.getElementById(elementId2);	
  		id2.value = elementValue2;
  	}
  	
  	var speCollStat = '${requestScope.collStatus}';
  	if(speCollStat != null && speCollStat != "" )
  	{
  		if(speCollStat == 'Collected')
  