_shouldShowMenuItem: function(metadata, rules) { for (var i = 0; i < rules.length; ++i) { if (rules[i] in metadata) return true; 
_shouldShowMenuItem: function(aMenuItem, aMetaData) { var selectiontype = aMenuItem.getAttribute("selectiontype"); if (selectiontype == "multiple" && aMetaData.length == 1) return false; if (selectiontype == "single" && aMetaData.length != 1) return false;  var forceHideRules = aMenuItem.getAttribute("forcehideselection").split("|"); for (var i = 0; i < aMetaData.length; ++i) { for (var j=0; j < forceHideRules.length; ++j) { if (forceHideRules[j] in aMetaData[i]) return false; } 
  _shouldShowMenuItem: function(metadata, rules) {    for (var i = 0; i < rules.length; ++i) {      if (rules[i] in metadata)        return true;    }    return false;  },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/dae01d62ef39570e32161afc62866f13056e324e/controller.js/buggy/browser/components/places/content/controller.js