rem: if (!networkProxyNo || !networkProxyManual || !networkProxyPac) return;  var networkProxyStatus = [networkProxyNo, networkProxyManual, networkProxyPac]; 
add: var networkProxyWpad = document.getElementById("network-proxy-wpad"); 
context: function InitProxyMenu(){  var networkProxyNo = document.getElementById("network-proxy-no");  var networkProxyManual = document.getElementById("network-proxy-manual");  var networkProxyPac = document.getElementById("network-proxy-pac");  if (!networkProxyNo || !networkProxyManual || !networkProxyPac)    return;  var networkProxyStatus = [networkProxyNo, networkProxyManual, networkProxyPac];  var prefService = Components.classes["@mozilla.org/preferences-service;1"];  prefService = prefService.getService(Components.interfaces.nsIPrefService);  var prefBranch = prefService.getBranch(null);  var proxyLocked = prefBranch.prefIsLocked("network.proxy.type");  if (proxyLocked) {        networkProxyNo.setAttribute("disabled", "true");  }  else {        networkProxyNo.removeAttribute("disabled");  }  // If no proxy is configured, disable the menuitems.  // Checking for proxy manual settings.  var proxyManuallyConfigured = false;  for (var i = 0; i < kProxyManual.length; i++) {    if (GetStringPref(kProxyManual[i]) != "") {      proxyManuallyConfigured = true;      break;    }  }  if (proxyManuallyConfigured && !proxyLocked) {    networkProxyManual.removeAttribute("disabled");  }  else {    networkProxyManual.setAttribute("disabled", "true");  }  //Checking for proxy PAC settings.  var proxyAutoConfigured = false;  if (GetStringPref("network.proxy.autoconfig_url") != "")    proxyAutoConfigured = true;  if (proxyAutoConfigured && !proxyLocked) {    networkProxyPac.removeAttribute("disabled");  }  else {    networkProxyPac.setAttribute("disabled", "true");  }  var networkProxyType;  try {    networkProxyType = prefBranch.getIntPref("network.proxy.type");  } catch(e) {}  networkProxyStatus[networkProxyType].setAttribute("checked", "true");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9eb09d6bd89dcf3fdc1e5b02fdced549c1413b4f/utilityOverlay.js/clean/suite/common/utilityOverlay.js