anchor.diff:  </head>
   
   <%
  -	String collectionProtocolId="";
  -		if (request.getAttribute(Constants.COLLECTION_PROTOCOL_ID)==null)
  -			collectionProtocolId="";
  -		else
  -		 collectionProtocolId =(String) request.getAttribute(Constants.COLLECTION_PROTOCOL_ID);
  -
  -	String storageContainerName =(String) request.getAttribute(Constants.CONTAINER_NAME);
  -
  -	String controlName =(String) request.getAttribute("controlName");
  -	System.out.println("Control name :: "+controlName);
  +    String collectionProtocolId="";
  +        if (request.getAttribute(Constants.COLLECTION_PROTOCOL_ID)==null)
  +            collectionProtocolId="";
  +        else
  +         collectionProtocolId =(String) request.getAttribute(Constants.COLLECTION_PROTOCOL_ID);
  +
  +    String storageContainerName =(String) request.getAttribute(Constants.CONTAINER_NAME);
  +
  +    String controlName =(String) request.getAttribute("controlName");
  +    System.out.println("Control name :: "+controlName);
   %>
   
   <script>
  
positive.code: //dhtmlxCombo.enableFilteringMode(true);
  dhtmlxCombo.attachEvent("onOpen", 
  function(){
  	reloadGrid=false;
  	populateValueInCombo=false;
  	dhtmlxCombo.loadXML(getActionToDoURL());
  });  
  dhtmlxCombo.attachEvent("onChange", 
  function()
  {
  	reloadGrid=true;
  	document.getElementById("pos1").value="";
  	document.getElementById("pos2").value="";
  	showContainerGrid();
  });
  dhtmlxCombo.attachEvent("onKeyPressed", 
  function(keyCode){
  	if(keyCode != 8 || keyCode != 46)
  	{
  		document.getElementById('error').innerHTML="";
  		reloadGrid=true;
  		populateValueInCombo=false;
  
  	}
  	if(keyCode != 13 && keyCode != 39 && keyCode != 37 )
  	{	
  				populateValueInCombo=false;
  				dhtmlxCombo.loadXML(getActionToDoURL());
  	}
  });
  
  function getDimensionLabel(dimLabel)
  {
  	var temp ="";
      var tempLabel ="";
      var label ="";
      var filler = " ";
      for( var j=0; j<dimLabel.length;j++)
      {
          temp =dimLabel.substring(j,j+1);
  		if(temp==" ")
  		{
  			tempLabel=temp+"&nbsp;&nbsp;\n"; 
  		}
  		else
  		{
  			tempLabel=temp+filler;
  		}
  		label=label+tempLabel;
      } 
  	return label;
  }
  </script>
  
negative.code: var globalPos2="";
  function getActionToDoURL()
  {//alert('invalid.container.name.message');
      var className="${requestScope.holdSpecimenClass}";
      var sptype="${requestScope.holdSpecimenType}";
      var collectionProtocolId="<%=collectionProtocolId%>";
      var containerName="${requestScope.containerName}";
      //alert(containerName);
      if(dhtmlxCombo!=null)
      {
          containerName=dhtmlxCombo.getComboText();
      }
      var url="CatissueCommonAjaxAction.do?type=getStorageContainerListForDHTMLXcombo&holdSpecimenClass="+className+"&specimenType="+sptype+ "&holdCollectionProtocol=" + collectionProtocolId+"&selectedContainerName=${requestScope.containerName}";
      if(reloadGrid!=null && reloadGrid)
      {
          url=url+"&containerName="+containerName;
      }
      if(populateValueInCombo!=null)
      {
          url=url+"&populateValueInCombo="+populateValueInCombo;
      }
      //alert(url);
      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" width="660px" >
                      <tr>
                          <td class="black_ar" align="left" style="padding:5px 5px 0 0;"  Width="70px">&nbsp;&nbsp;&nbsp;<span style="white-space:nowrap;"><b>Container Name:</b></span>
                          </td>
                          <td class="black_ar" Width="330px">
                              <div id="comboDiv" style="width:200px;display:block;"></div>
                          </td>           
                          <td class="black_ar"  style="padding-left:15px;"   Width="30px">
                              <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;"  Width="30px">
                              <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"   Width="30px">
                              <input type="radio" id ="virtualCont" name="virtualCont" onClick="setVirtual()"/>&nbsp;
                          </td>
                          <td class="black_ar" align="left" style="padding-top:5px"  Width="100px"> <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(",");
  