anchor.diff:  			}
   			
   		}
  -		function submitform()
  -		{
  -		 // resetVirtualLocated();
  -		  var indexId=document.getElementById('specimenCollectionGroupId');
  -		  var indexValue=indexId.value;
  -  		  var selectedIndex=indexId.selectedIndex;
  -		  if(selectedIndex!=0)
  -		  {
  -			  var action ="NewSpecimen.do?pageOf=pageOfNewSpecimen&showConsents=yes&tableId4=disable&id="+indexValue;
  -			  document.forms[0].action = action;
  -			  document.forms[0].submit();
  -		  }		 
  -		}
  -		
   		function onCollOrClassChange()
   		{
   			var specimenCollGroupElement = document.getElementById("specimenCollectionGroupId");
  
positive.code: 			if(specimenCollGroupElement.value != "-1" || classNameElement.value != "-1")
  			{
  				<%
  				String actionOnCollOrClassChange = "NewSpecimen.do?pageOf=pageOfNewSpecimen&virtualLocated=false&showConsents=yes&tableId4=disable";
  				if(pageOf.equals(Constants.PAGE_OF_SPECIMEN_CP_QUERY))
  				{
  					actionOnCollOrClassChange = "CPQueryNewSpecimen.do?pageOf=pageOfNewSpecimenCPQuery&virtualLocated=false";
  
negative.code: 	  function showConsents()
  	  {
  		var showConsents = "<%=tab%>";
  		if(showConsents=="<%=Constants.NULL%>" || showConsents=="<%=Constants.NEWSPECIMEN_FORM%>")
  		{
  			newspecimenPage();
  		}
  		else
  		{
  			consentPage();			
  		}
  	  }
  // Consent Tracking Module Virender mehta	 
  