rem: var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn]; 
add: var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn]; 
context: function setCorrespondingLevel(checkBox){  //alert(checkBox);  var2 = checkBox.split(":");  selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level");  //alert(selectLevel);  changeSettings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":changeSetting");  //deletePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":deletePostings");  //deleteAny=getDeleteAny(deletePostings);  //deleteOwn=getDeleteOwn(deletePostings);  markAsRead=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":markAsRead");  //movePosting=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":movePosting");  newForum=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newForum");  newResponse=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newR");  r2R=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newRtoR");  newTopic=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":newTopic");  //postGrades=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":postGrades");  read=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":read");  revisePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":revisePostings")  reviseAny=getReviseAny(revisePostings);  reviseOwn= getReviseOwn(revisePostings);  //moderatePostings=getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":moderatePostings");  if(selectLevel){    if(!(changeSettings && markAsRead && newForum && newResponse && r2R && newTopic && read && revisePostings)){      //alert(changeSettings + " " + markAsRead + " " + newForum + " " + newResponse + " " + r2R + " " + newTopic + " " + read  + " " + revisePostings);      setIndexWithTextValue(selectLevel, custom)    }    else{      //var newArray = [changeSettings.checked,deleteAny,deleteOwn,markAsRead.checked, movePosting.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, postGrades.checked, read.checked, reviseAny, reviseOwn, moderatePostings.checked];      var newArray = [changeSettings.checked,markAsRead.checked, newForum.checked, newResponse.checked, r2R.checked, newTopic.checked, read.checked, reviseAny, reviseOwn];      //alert(newArray);      //alert(checkLevel(newArray));      setIndexWithTextValue(selectLevel, checkLevel(newArray));    }    role=getTheElement(var2[0]+":role");    //alert(role);    roleValue=role.options[var2[2]].value;    //alert(roleValue);    var lev=selectLevel.options[selectLevel.selectedIndex].text;    //alert(lev);    var newval=roleValue+"("+lev+")";    //alert(newval);    role.options[var2[2]]=new Option(newval, roleValue, true);    role.options[var2[2]].selected=true;  }}
meta: 6080	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6080/50f90fecd29a222ad92942c64f769794f985a2d7/permissions_header.js/buggy/messageforums-app/src/webapp/js/permissions_header.js