anchor.diff:  
   	<%
   	
  -	if(pageOf.equals(Constants.PAGE_OF_SPECIMEN_CP_QUERY))
  +	String refreshTree = (String)request.getAttribute("refresh");
  +	
  +	if(pageOf.equals(Constants.PAGE_OF_SPECIMEN_CP_QUERY) && (refreshTree==null || !(refreshTree.equalsIgnoreCase("false"))))
   	{
   		strCheckStatus= "checkActivityStatus(this,'" + Constants.CP_QUERY_BIO_SPECIMEN + "')";
  -		%>
  +	%>
   		<script language="javascript">
  -			refreshTree('<%=Constants.CP_AND_PARTICIPANT_VIEW%>','<%=Constants.CP_TREE_VIEW%>','<%=Constants.CP_SEARCH_CP_ID%>','<%=Constants.CP_SEARCH_PARTICIPANT_ID%>','<%=nodeId%>');					
  +		
  +	refreshTree('<%=Constants.CP_AND_PARTICIPANT_VIEW%>','<%=Constants.CP_TREE_VIEW%>','<%=Constants.CP_SEARCH_CP_ID%>','<%=Constants.CP_SEARCH_PARTICIPANT_ID%>','<%=nodeId%>');					
   		</script>
  -	<%}%>
  +	<%}
  +		
  +%>
   
   <script language="JavaScript">
   	function deleteExternalIdentifiers()
  
positive.code: 		
  		function onNormalSubmit()
  		{
  			var checked = false;
  			if(document.forms[0].checkedButton != null)
  			{
  			   checked = document.forms[0].checkedButton.checked;
  			}
  			var operation = document.forms[0].operation.value;
              var temp = "<%=frdTo%>";
  			//Bug ID: 4040(Virender)
  			if(checked)
  			{
  
negative.code: 					}
  					<%
  					actionToCall = "NewSpecimenEdit.do";
  					if(pageOf.equals(Constants.PAGE_OF_SPECIMEN_CP_QUERY))
  					{
  						actionToCall = Constants.CP_QUERY_SPECIMEN_EDIT_ACTION;
                      
  					}%>
  					
  					confirmDisable('<%=actionToCall%>',document.forms[0].activityStatus);
  