if (BrowserSearch.getSearchBar()) 
if (isElementVisible(BrowserSearch.searchBar)) 
  isTextSelection: function() {    // Get 16 characters, so that we can trim the selection if it's greater    // than 15 chars    var selectedText = getBrowserSelection(16);    if (!selectedText)      return false;    if (selectedText.length > 15)      selectedText = selectedText.substr(0,15) + "...";    // Use the current engine if the search bar is visible, the default    // engine otherwise.    var engineName = "";    var ss = Cc["@mozilla.org/browser/search-service;1"].             getService(Ci.nsIBrowserSearchService);    if (BrowserSearch.getSearchBar())      engineName = ss.currentEngine.name;    else      engineName = ss.defaultEngine.name;    // format "Search <engine> for <selection>" string to show in menu    var menuLabel = gNavigatorBundle.getFormattedString("contextMenuSearchText",                                                        [engineName,                                                         selectedText]);    document.getElementById("context-searchselect").label = menuLabel;    return true;  },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/bd2b254d12ebf93d37bbbce6eba176b7bad15131/nsContextMenu.js/clean/browser/base/content/nsContextMenu.js