rem: document.commandDispatcher.advanceFocusIntoSubtree(document.getElementById("content")); document.commandDispatcher.advanceFocus(); 
add:    document.commandDispatcher.advanceFocusIntoSubtree(document.getElementById("nav-bar")); document.commandDispatcher.rewindFocus(); 
context: function eventHandlerMenu(e) {  if( (e.keyCode==39 || e.keyCode==37) && (gShowingMenuPopup) ) {    BrowserMenuPopupFalse();    document.getElementById("menu-button").focus(); // forcing state back to the menu.   }  if(e.charCode==513) {  	document.getElementById("menu-button").focus();    e.preventBubble();  }     var outnavTarget=document.commandDispatcher.focusedElement.getAttribute("accessrule");  if(outnavTarget!="" && (e.keyCode==40||e.keyCode==38) && !gShowingMenuPopup) {      e.preventBubble();      if(e.keyCode==40) {        ruleElement=findRuleById(document.getElementById(outnavTarget).getAttribute("accessnextrule"),"accessnextrule");      }      if(e.keyCode==38) {        ruleElement=findRuleById(document.getElementById(outnavTarget).getAttribute("accessprevrule"),"accessprevrule");       }	  var tempElement=ruleElement.getAttribute("accessfocus");      if(tempElement.indexOf("#")>-1) {              if(tempElement=="#tabContainer") {           if(ruleElement.tabContainer) {            ruleElement.selectedTab.focus();          }        } 		if(tempElement=="#tabContent") {           document.commandDispatcher.advanceFocusIntoSubtree(document.getElementById("content"));          document.commandDispatcher.advanceFocus();        }         	  } else { 		  document.getElementById(tempElement).focus();	  }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/001d6425097c908cb4cccaf46f0d68425afa1453/minimo.js/clean/minimo/chrome/content/minimo.js