rem: if (!gShowingNavMenuPopup){ document.getElementById("menu_NavPopup").showPopup(document.getElementById("nav-menu-button"),-1,-1,"popup","bottomright", "topright"); gShowingNavMenuPopup=true; } else { document.getElementById("menu_NavPopup").hidePopup(); gShowingNavMenuPopup=false; } 
add: ref=document.getElementById("menu_NavPopup");  if(gShowingMenuCurrent==ref) { gShowingMenuCurrent.hidePopup(); gShowingMenuCurrent=null; } else { if(!gShowingMenuCurrent) { gShowingMenuCurrent=ref; } gShowingMenuCurrent.showPopup(document.getElementById("nav-menu-button"),-1,-1,"popup","bottomright", "topright"); } 
context: function BrowserNavMenuPopup() {  if (!gShowingNavMenuPopup){    document.getElementById("menu_NavPopup").showPopup(document.getElementById("nav-menu-button"),-1,-1,"popup","bottomright", "topright");    gShowingNavMenuPopup=true;  }  else {    document.getElementById("menu_NavPopup").hidePopup();    gShowingNavMenuPopup=false;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/486f86f7a36b61172c91601f6ad5c38f8cbbbead/minimo.js/buggy/minimo/chrome/content/minimo.js