anchor.diff:  			String virtuallyLocatedKey = "Specimen:" + i + "_virtuallyLocated";
   			String id = Utility.toString(aliquotMap.get(idKey));
   			String onClickSpecimenFunction = "showNewPage('SearchObject.do?pageOf=pageOfNewSpecimen&operation=search&id=" + id + "')";
  +			if(CPQuery != null)
  +			{
  +				onClickSpecimenFunction = "CPQueryAliquot('QuerySpecimenSearch.do?pageOf=pageOfNewSpecimenCPQuery&id=" + id + "')";
  +			}
   	%>
   		<tr>
   			<td class="formSerialNumberField" width="5">
  
positive.code: 	     newWindow.focus(); 
  	
      }
  </script>
  
  <table summary="" cellpadding="0" cellspacing="0" border="0" class="contentPage" width="600">
  
  <%
  
negative.code: 					<html:hidden property="forwardTo" value=""/>					
  					<html:hidden property="noOfAliquots"/>					
  					<%
  
  						String confirmDisableFuncName = "confirmDisable('" + formName +"',document.forms[0].activityStatus)";			
  						String addMoreSubmitFunctionName= "setSubmittedFor('ForwardTo','" + Constants.SPECIMEN_FORWARD_TO_LIST[3][1]+"')";	
  						String distributeSubmitFuntionName= "setSubmittedFor('ForwardTo','" + Constants.SPECIMEN_FORWARD_TO_LIST[4][1]+"'),"; 			
  