anchor.diff:  			editItem.innerHTML = "" + s;
   			
   			var deleteItem = document.getElementById('<%=Constants.DELETE%>');
  -			//deleteItem.innerHTML = "&nbsp;<a HREF='AdvanceSearch.do?delete=true'>Delete</a>";
  +			var deleteLink = "AdvanceSearch.do?delete=true&itemId="+itemId;
  +			deleteItem.innerHTML = "&nbsp;<a HREF='" + deleteLink + "'>Delete</a>";
   			
   		}
   		else
  
positive.code: 		if(sum == 0)
  		{
  			disableAll();
  			var PItem = document.getElementById('<%=Constants.P%>');
  			PItem.className="linkChange";
  			var link = "<%=util.getLink("Participant")%>"+ selectedNode;
  			PItem.innerHTML ="&nbsp;<img src='images/Participant.GIF' alt='Participant' />  &nbsp;<a HREF='"+link+"' target='searchPageFrame'><%=Constants.PARTICIPANT%></a>";
  		}	
  	}	
  	
  
negative.code: 			editItem.innerHTML = "" + s;
  			
  			var deleteItem = document.getElementById('<%=Constants.DELETE%>');
  			var deleteLink = "AdvanceSearch.do?delete=true&itemId="+itemId;
  			deleteItem.innerHTML = "&nbsp;<a HREF='" + deleteLink + "'>Delete</a>";
  			
  		}
  		else if(scGroupCount == sum)
  		{
  			var sItem = document.getElementById('<%=Constants.S%>');
  			sItem.className="linkChange";
  			var link = "<%=util.getLink("Specimen")%>"+ selectedNode;
  			sItem.innerHTML ="&nbsp;<img src='images/Specimen.GIF' alt='Specimen' /> &nbsp;<a HREF='"+link+"' target='searchPageFrame'><%=Constants.SPECIMEN%></a>";
  			
  			var editItem = document.getElementById('<%=Constants.EDIT%>');
  