{ currentNode.parent.selected = isAllChildrenSelected(currentNode.parent); currentNode.parent.childSelected = isSomeChildrenSelected(currentNode.parent); currentNode = currentNode.parent; 
{ currentNode.parent.selected = isAllChildrenSelected(currentNode.parent); currentNode.parent.childSelected = isSomeChildrenSelected(currentNode.parent); currentNode = currentNode.parent; 
function ToggleSelected(item, ReturnValue) {  item.selected = (item.selected) ? false : true;  item.childSelected = false;  var currentNode = item;  while (currentNode.parent)  {         currentNode.parent.selected = isAllChildrenSelected(currentNode.parent);       currentNode.parent.childSelected = isSomeChildrenSelected(currentNode.parent);	   currentNode = currentNode.parent;  }    MarkChildren(item,item.selected);    if(!ReturnValue) {    setTimeout("MTMDisplayMenu()", 10);  }  return ReturnValue;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-111557.js/clean/js/tests/js1_5/Regress/regress-111557.js