anchor.diff:  		}
   		function onGridLoadSetAutoGenerated(grid_obj,rowCount){
   			if("${isLabelGenerationOn}"=="true" || "${isBarGenerationOn}"=="true"){
  -				for(var cnt=1;cnt<=grid_obj.getRowsNum();cnt++){
  -					grid_obj.cellById(cnt,0).setValue("Auto Generated");
  -					grid_obj.cellById(cnt,1).setValue("Auto Generated");
  +				for(var cnt=1;cnt<grid_obj.getRowsNum();cnt++){
  +					grid_obj.cellByIndex(cnt,0).setValue("Auto Generated");
  +					grid_obj.cellByIndex(cnt,1).setValue("Auto Generated");
   				}
   			}
   		}
   		function onGridLoad(grid_obj,rowCount){
  -			for(var cnt=1;cnt<=grid_obj.getRowsNum();cnt++){
  -				grid_obj.cellById(cnt,6).setValue("<a href='#' onClick='openMapPopUp(\""+cnt+"\")' >Map</a>");
  +			for(var cnt=1;cnt<grid_obj.getRowsNum();cnt++){
  +				grid_obj.cellByIndex(cnt,6).setValue("<a href='#' onClick='openMapPopUp(\""+cnt+"\")' >Map</a>");
   			}
   		}
   		function openMapPopUp(rowNum){
   			aliquotGrid.selectRow(rowNum);
  -			var containerName = aliquotGrid.cellById(rowNum,3).getValue();
  -			var pos1 = aliquotGrid.cellById(rowNum,4).getValue();
  -			var pos2 = aliquotGrid.cellById(rowNum,5).getValue();
  +			var containerName = aliquotGrid.cellByIndex(rowNum,3).getValue();
  +			var pos1 = aliquotGrid.cellByIndex(rowNum,4).getValue();
  +			var pos2 = aliquotGrid.cellByIndex(rowNum,5).getValue();
   				String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g, '');};
   			if(containerName.trim()!=""){
   				loadDHTMLXWindowForTransferEvent(containerName,pos1,pos2,rowNum);
  
positive.code: 		function loadAliquotDetail(){
  			var selectedLabel = getCheckedRadioId("aliquotRadio");
  			onResubmit('true',selectedLabel);
  			closeTermWindow();
  		}
  		
  
negative.code: 				+"<div  class='aliquot_details aliquot_form_label'><input type='radio' name='aliquotRadio' value='"+conflictingSpecimens[1].label+"' style='margin-left:25px;'></div>"
  			+"</div>"
  			+"<div  style='float:left;width:25%;'><div class='black_ar_b'><spna>Label</span></div>"
  				+"<div  class='aliquot_details aliquot_form_label'><span>"+conflictingSpecimens[0].label+"</span>&nbsp</div>"
  				+"<div  class='aliquot_details aliquot_form_label'><span>"+conflictingSpecimens[1].label+"</span></div>"
  			+"</div>"
  			+"<div  style='float:left;width:25%;'><div class='black_ar_b'><spna>Barcode</span></div>"
  