anchor.diff:  	var itemCount = 1;
   	
   	
  -	function CheckNum(checkName,itemName,nodeCount){
  -	
  +	/*function CheckNum(checkName,itemName,nodeCount){
  +	
  +		
  +		alert("node count"+nodeCount);
   		if(document.getElementById(checkName).checked==true){
  -			DisableAll();
  +			//DisableAll();
   			if(itemName == '<%=Constants.PARTICIPANT%>'){
  -				itemCount++;
  +				//itemCount++;
  +				//DisableAll();
  +			var item = document.getElementById('<%=Constants.P%>');
  +			item.className="linkChange";
  +			item.innerHTML = "<a HREF='<%=util.getLink("Participant")%>' target='searchPageFrame'><%=Constants.PARTICIPANT%></a>";
  +			EnableItem(nodeCount);
   			}
   			if(itemName == '<%=Constants.COLLECTION_PROTOCOL%>'){
  -				itemCount++;
  +				//itemCount++;
  +				//DisableAll();
  +				EnableItem(nodeCount);
  +			var item = document.getElementById('<%=Constants.CP%>');
  +			item.className="linkChange";
  +			item.innerHTML = "<a HREF='<%=util.getLink("CollectionProtocol")%>' target='searchPageFrame'><%=Constants.COLLECTION_PROTOCOL%></a>";
  +			
   			}
   			if(itemName == '<%=Constants.DISTRIBUTION_PROTOCOL%>'){
   				itemCount++;
  
positive.code: 			if((itemName == '<%=Constants.SPECIMEN_COLLECTION_GROUP%>') || (itemName == '<%=Constants.DISTRIBUTION%>') ){
  				itemCount++;
  			}
  			if(itemName == '<%=Constants.SPECIMEN%>')
  				itemCount++;
  		}
  		else
  			itemCount--;
  
negative.code: 		item.innerHTML = "&nbsp;<img src='images/DistributionProtocol.GIF' alt='DistributionProtocol' /> &nbsp; <a HREF='#'><%=Constants.DISTRIBUTION_PROTOCOL%></a>";
  	}
  	
  	function checkStatus(item, counter)
  	{
  		if(document.getElementById(item) != null)
  		{
  			if(document.getElementById(item).checked==true)
  			{
  				counter = counter + 1;
  			}
  		}
  		return counter; 
  	}
  	
  //	function EnableItem(nodeCount){
  	function CheckNum(checkName,itemName,nodeCount)
  	{
  		var count1 = 0;
  		var count2 = 0;
  		var count3 = 0;
  		var count4 = 0;
  		var count5 = 0;
  		var count6 = 0;
  							
  		/*alert("node count"+nodeCount);
  		alert("itemCount"+itemCount);
  		alert("check box name"+checkName);
  		alert("item name"+itemName);*/
  								
  		for(var i = 1; i <= nodeCount; i++)
  		{
  			var item1 = '<%=Constants.PARTICIPANT%>'+"_"+i;
  			count1 = checkStatus(item1, count1);
  			
  			var item2 = '<%=Constants.COLLECTION_PROTOCOL%>'+"_"+i;
  			//alert("item2 in loop"+item2);
  			count2 = checkStatus(item2, count2);
  			
  			var item3 = '<%=Constants.DISTRIBUTION_PROTOCOL%>'+"_"+i;
  			count3 = checkStatus(item3, count3);
  			
  			var item4 = '<%=Constants.SPECIMEN_COLLECTION_GROUP%>'+"_"+i;
  			count4 = checkStatus(item4, count4);
  			
  			var item5 = '<%=Constants.DISTRIBUTION%>'+"_"+i;
  			count5 = checkStatus(item5, count5);
  			
  			var item6 = '<%=Constants.SPECIMEN%>'+"_"+i;
  			count6 = checkStatus(item6, count6);
  		}
  		
  		var sum = count1 + count2 + count3 + count4 + count5 + count6;
  		
  		//alert("count1 "+count1+" count2 "+count2 );
  		//alert("sum "+sum);
  		
  		if(count1 == sum) 
  		{
  			//alert("participant rule");
  			var item = document.getElementById('<%=Constants.CP%>');
  			item.className="linkChange";
  			item.innerHTML ="&nbsp;<img src='images/CollectionProtocol.GIF' alt='CollectionProtocol' />  &nbsp;<a HREF='<%=util.getLink("CollectionProtocol")%>' target='searchPageFrame'><%=Constants.COLLECTION_PROTOCOL%></a>";
  		
  			item = document.getElementById('<%=Constants.DP%>');
  			item.className="linkChange";
  			item.innerHTML = "&nbsp;<img src='images/DistributionProtocol.GIF' alt='DistributionProtocol' /> &nbsp;<a HREF='#'><%=Constants.DISTRIBUTION_PROTOCOL%></a>";
  		}
  		else if(count2 == sum)
  		{
  			//alert("clicked coll prot");
  			var item = document.getElementById('<%=Constants.S%>');
  			item.className="linkChange";
  			item.innerHTML ="&nbsp;<img src='images/Specimen.GIF' alt='Specimen' /> &nbsp;<a HREF='<%=util.getLink("Specimen")%>' target='searchPageFrame'><%=Constants.SPECIMEN%></a>";
  		}
  		else
  			DisableAll();
  	}	
  	
  	function changeClass(element,styleName)
  