anchor.diff:  
   function SelectAll()
     {
  -    var numRows2 = document.LabActivitiesSearchResultForm.recordIds.length;
  +    var numRows2 = document.getElementsByName("recordIds").length;
       
       if(SelectAllOn == false)
       {
         for(k=0; k<numRows2; k++)
         {
  -         
  -        formObj= eval(document.LabActivitiesSearchResultForm.recordIds[k]);
  +        formObj= eval(document.getElementsByName("recordIds")[k]);
           if(formObj && formObj.checked == false)
           {
             formObj.checked=true;
  
positive.code: 														oddRow = "true";%>
  													<tr class="dataRowDark">
  														<td class="dataCellNumerical" width="5%">
  															<html:multibox style="formFieldSized" property="recordIds" value="<%=searchResultObject.getRecordId()%>"></html:multibox>
  														</td>
  														<td class="dataCellText" width="9%">
  															<bean:write name="searchResultObject" property="patientId" />
  
negative.code:   		}
    		else
    		{   
  	  		var radioLen = document.getElementsByName("recordIds").length;
  	
  	  		if(radioLen == undefined)
  	  		{
  	 			if (document.getElementsByName("recordIds").checked) 			
  				{	document.LabActivitiesSearchResultForm.recordId.value = document.getElementsByName("recordIds").value;
  					ischecked = true;
  				}
  	  		}
  			for (var i = 0; i <radioLen; i++)
  			{   
  				if (document.getElementsByName("recordIds")[i].checked) 
  				{	document.LabActivitiesSearchResultForm.recordId.value = document.LabActivitiesSearchResultForm.recordId.value + "," + document.getElementsByName("recordIds")[i].value;
  					ischecked = true;
  				}
  			}
  