anchor.diff:  			//-->
   	
   		function setAllStudents(){
  +			
   			var allUsers = document.getElementsByName("studentIdNameHidden");
   			var allSelected =new String(document.getElementById("allSelected").value);
   			var todos = true;
  
positive.code: 		});
  		
  	});
  
  </script>
  
  
negative.code: 			A.one('#<portlet:namespace />selected_users').setContent(selectedUsers);
  			A.one('#<portlet:namespace />to').val(window.<portlet:namespace />selectedUsers.get('id').toString());
  			A.all('#<portlet:namespace />addUser_'+userId).each(function(addUserDiv){ addUserDiv.show(); });  
  			A.all('#<portlet:namespace />deleteUser_'+userId).each(function(deleteUserDiv){deleteUserDiv.hide(); });
  			
  			var addUserElement = A.one('#_courseadmin_WAR_liferaylmsportlet_addUser_'+userId);
  			if (addUserElement != null) {
  