anchor.diff:           callFlexMethod();
   	     interfaceObj.refreshParticipants();
   	}
  -	function onParticipantClick(pId,cpId)
  +	function onParticipantClick(pId,cpId,refParticipants)
   	{
  -      window.parent.frames[1].location ="QueryParticipantSearch.do?pageOf=pageOfParticipantCPQueryEdit&operation=edit&<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&id="+pId;
  -	 
  +      
  +	  window.parent.frames[1].location ="QueryParticipantSearch.do?pageOf=pageOfParticipantCPQueryEdit&operation=edit&<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&id="+pId;
   	}
     
       /*
          To register a participant for a CP
   	*/
  -	function RegisterParticipants(cpId)
  +	function RegisterParticipants(cpId,refParticipants)
   	{
  -        
  +      
   		if(cpId == "-1")
   		{
   				alert("please select collection protocol.");
   		}    
           else
   		{
  -			window.parent.frames[1].location = "QueryParticipant.do?operation=add&pageOf=<%=Constants.PAGE_OF_PARTICIPANT_CP_QUERY%>&clearConsentSession=true&<%=Constants.CP_SEARCH_CP_ID%>="+cpId;
  -			
  +			window.parent.frames[1].location = "QueryParticipant.do?operation=add&pageOf=<%=Constants.PAGE_OF_PARTICIPANT_CP_QUERY%>&clearConsentSession=true&<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&refresh="+refParticipants;
   		} 
  -
  -    }
  +	}
   
       /*
          This method is invoked on click of a tree node
  
positive.code: 					window.parent.frames[1].location = "QuerySpecimenCollectionGroupSearch.do?pageOf=pageOfSpecimenCollectionGroupAdd&operation=add&id="+id1+"&<%=Constants.CP_SEARCH_PARTICIPANT_ID%>="+pId+"&<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&<%=Constants.QUERY_RESULTS_COLLECTION_PROTOCOL_EVENT_ID%>="+eventId+"&clickedNodeId="+id;
                   }else
  				 {
  					 window.parent.frames[1].location = "QuerySpecimenCollectionGroupSearch.do?pageOf=pageOfSpecimenCollectionGroupCPQueryEdit&operation=edit&id="+id1+"&<%=Constants.CP_SEARCH_PARTICIPANT_ID%>="+pId+"&<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&clickedNodeId="+id;
                    }
  			<%}%>
  		}
  		else
  		{
             window.parent.frames[1].location = "QuerySpecimenSearch.do?pageOf=pageOfNewSpecimenCPQuery&operation=edit&id="+id1+"&<%=Constants.CP_SEARCH_PARTICIPANT_ID%>="+pId+"&<%=Constants.CP_SEARCH_CP_ID%>="+cpId;
  		}
  	
  	};
  
negative.code: 	{
          var index = id.indexOf(":");
  		var isFuture = "";
  		if(index != -1)
  		{
  			isFuture = id.substring(index+1);
  