rem: if(!gShowingMenuPopup) { document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft"); gShowingMenuPopup=true; } else { document.getElementById("menu_MainPopup").hidePopup(); gShowingMenuPopup=false; } 
add: ref=document.getElementById("menu_MainPopup");  if(gShowingMenuCurrent==ref) { gShowingMenuCurrent.hidePopup(); gShowingMenuCurrent=null; } else { if(!gShowingMenuCurrent) { gShowingMenuCurrent=ref; } gShowingMenuCurrent.showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft"); } 
context: function BrowserMenuPopup() {  if(!gShowingMenuPopup) {     document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft");    gShowingMenuPopup=true;  } else {    document.getElementById("menu_MainPopup").hidePopup();    gShowingMenuPopup=false;  } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cf910cfe555b3ce0e31b738ae738c409edda1161/minimo.js/buggy/minimo/chrome/content/minimo.js