anchor.diff:  
   function setSampleTests(isVariableSampleType ){
   	deselectAllTests();
  -
  -	var id = selectedTypeRowId;
  -
  -	var allTests = $("testIds_" + id ).value;
  -	var allPanels = $("panelIds_" + id).value;
  +	var allTests = $("testIds_" + selectedTypeRowId ).value;
  +	var allPanels = $("panelIds_" + selectedTypeRowId).value;
   
   	if( allTests.length > 0 ){
   		var tests = allTests.split(",");
  
positive.code: </div>
  
  <html:hidden name="<%=formName%>" property="sampleXML"  styleId="sampleXML"/>
  	<Table width="100%">
  		<tr>
  			<td>
                  <bean:message  key="sample.entry.sample.type"/>
  
negative.code:        }else{
             $jq("#userSampleTypeHead").hide();
         }
  	   for( i = 0; i < tests.length; i++ ){
  	   		insertTestIntoTestTable( tests[i], testTable, isVariableSampleType );
  	   }
  	   var panels = response.getElementsByTagName("panel");
  	   for( i = 0; i < panels.length; i++ ){
  	   		insertPanelIntoPanelTable( panels[i], panelTable );
  	   }
  	
  