rem: panel.setAttribute("tooltiptext", bundle.GetStringFromName("onlineTooltip")); 
add: panel.setAttribute("context", "networkProperties"); try { var networkProxyType = prefBranch.getIntPref("network.proxy.type"); } catch(e) {} var onlineTooltip = "onlineTooltip" + networkProxyType; panel.setAttribute("tooltiptext", bundle.GetStringFromName(onlineTooltip)); 
context: function setOfflineUI(offline){  var broadcaster = document.getElementById("Communicator:WorkMode");  var panel = document.getElementById("offline-status");  if (!broadcaster || !panel) return;  //Checking for a preference "network.online", if it's locked, disabling   // network icon and menu item  var prefService = Components.classes["@mozilla.org/preferences-service;1"];  prefService = prefService.getService();  prefService = prefService.QueryInterface(Components.interfaces.nsIPrefService);    var prefBranch = prefService.getBranch(null);    var offlineLocked = prefBranch.prefIsLocked("network.online");     if (offlineLocked ) {      broadcaster.setAttribute("disabled","true");  }  var bundle = srGetStrBundle("chrome://communicator/locale/utilityOverlay.properties");  if (offline)    {      broadcaster.setAttribute("offline", "true");      broadcaster.setAttribute("checked", "true");      panel.setAttribute("tooltiptext", bundle.GetStringFromName("offlineTooltip"));    }  else    {      broadcaster.removeAttribute("offline");      broadcaster.removeAttribute("checked");      panel.setAttribute("tooltiptext", bundle.GetStringFromName("onlineTooltip"));    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3536b06cbe23e10766f5a8dd6e10537967e96dab/utilityOverlay.js/clean/suite/common/utilityOverlay.js