var chbx = new MSCheckbox(td, right, saveUrl, r); 
var chbx = new MSCheckbox(td, right, saveUrl, r, table, i); 
function displayUsersAndGroups(row, i, table){  var userurl = row.userurl;  var uorg = table.json.uorg;  var allows = row.allows;  var denys = row.denys;  var saveUrl = "?xpage=saverights&clsname=" + table.json.clsname + "&fullname=" + row.fullname + "&uorg=" + uorg;  var tr = document.createElement('tr');  if (i % 2 == 0) {    tr.className = "even";  } else {    tr.className = "odd";  }  var username = document.createElement('td');  if(row.wikiname == "local") {    var a = document.createElement('a');    a.href = userurl;    a.appendChild( document.createTextNode( row.username ) );    username.appendChild( a );  } else {    username.appendChild(document.createTextNode(row.username));  }  username.className = "username";  tr.appendChild(username);  activeRights.each(function(right) {    var td = document.createElement('td');    td.className = "rights";    var r = 0;    if (allows.indexOf(right) >= 0) {      r = 1;    } else if (denys.indexOf(right) >= 0) {      r = 2;    }    var chbx = new MSCheckbox(td, right, saveUrl, r);    tr.appendChild(td);  });  return tr;}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/31a9a89b845e06d2067cad24ed44ac025bbc26b2/usersandgroups.js/buggy/xwiki-platform-web/standard/src/main/webapp/skins/albatross/usersandgroups.js