anchor.diff:  		 	  	if(theForm[i].type == 'checkbox' && theForm[i].checked==true)
   			        selected[j++]=theForm[i].value;
   			}
  -		}		
  +		}
  +		
  +		
  +		function checkAll(element)
  +		{
  +			if(element.name == "checkAll1")
  +			{
  +				var check2 = document.getElementById("checkAll2");
  +				check2.checked = element.checked;
  +				checkUncheck(element);
  +			}
  +			else
  +			{
  +				var check1 = document.getElementById("checkAll1");
  +				check1.checked = element.checked;
  +				checkUncheck(element);
  +			}
  +		}	
   	</script>
   </head>
   
  
positive.code: 		    {
  		    	var e = document.forms[0].elements[i];
  		    	
  		        if (e.type == "checkbox" && e.checked == true)
  		        {
  		        	isChecked = "true";
  		        	break;
  
negative.code: 			<table cellpadding="5" cellspacing="0" border="0" width="100%">
  			<tr>
  				<td width="10%" nowrap>
  					<input type='checkbox' name='checkAll2' id='checkAll2' onClick='checkAll(this)'>
  					<bean:message key="buttons.checkAll" />
  				</td>
  				<td width="80%">
  