rem: setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  reviewerLevelArray); 
add: setCheckBoxes(changeSettings, markAsRead, newForum, newResponse,  r2R, newTopic, read, revisePostings, reviewerLevelArray); 
context: function setCorrespondingCheckboxes(checkBox){  var2 = checkBox.split(":");  selectLevel = getTheElement(var2[0]+":"+ var2[1]+":"+ var2[2]+":level");  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");  role=getTheElement(var2[0]+":role");  if(selectLevel){    if(!(changeSettings && markAsRead &&  movePosting && newForum && newResponse && r2R && newTopic && postGrades && read &&moderatePostings && deletePostings && revisePostings)){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  noneLevelArray);    }    if(selectLevel.options[selectLevel.selectedIndex].value==owner){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  ownerLevelArray);    }    else if(selectLevel.options[selectLevel.selectedIndex].value==author){					          setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  authorLevelArray);    }    else if(selectLevel.options[selectLevel.selectedIndex].value==nonEditingAuthor){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  noneditingAuthorLevelArray);    }    else if(selectLevel.options[selectLevel.selectedIndex].value==reviewer){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  reviewerLevelArray);    }    else if(selectLevel.options[selectLevel.selectedIndex].value==none){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  noneLevelArray);    }    else if(selectLevel.options[selectLevel.selectedIndex].value==contributor){      setCheckBoxes(changeSettings, deletePostings, markAsRead ,movePosting, newForum, newResponse,  r2R, newTopic, postGrades, read,revisePostings, moderatePostings,  contributorLevelArray);    }    roleValue=role.options[var2[2]].value;    var lev=selectLevel.options[selectLevel.selectedIndex].text;    var newval=roleValue+"("+lev+")";    role.options[var2[2]]=new Option(newval, roleValue, true);    role.options[var2[2]].selected=true;  }}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1235/44d290106f620a99755d3975687578f7e05dbe98/permissions_header.js/buggy/msgcntr/messageforums-app/src/webapp/js/permissions_header.js