rem: gFromGlobalPref = true; 
context: function enableAutocomplete(){  var autocompleteLDAP = document.getElementById("autocompleteLDAP");    var directoriesList =  document.getElementById("directoriesList");   var directoriesListPopup = document.getElementById("directoriesListPopup");  var editButton = document.getElementById("editButton");//  var autocompleteSkipDirectory = document.getElementById("autocompleteSkipDirectory");  if (autocompleteLDAP.checked) {    // If the default directory preference is locked     // disable the list popup    if (gPrefInt.prefIsLocked("ldap_2.autoComplete.directoryServer")) {      directoriesList.setAttribute("disabled", true);      directoriesListPopup.setAttribute("disabled", true);    }    else {      directoriesList.removeAttribute("disabled");      directoriesListPopup.removeAttribute("disabled");    }     editButton.removeAttribute("disabled");//    autocompleteSkipDirectory.removeAttribute("disabled");  }  else {    directoriesList.setAttribute("disabled", true);    directoriesListPopup.setAttribute("disabled", true);    editButton.setAttribute("disabled", true);//    autocompleteSkipDirectory.setAttribute("disabled", true);  }  // if we do not have any directories disable the dropdown list box  if (!gAvailDirectories || (gAvailDirectories.length < 1))    directoriesList.setAttribute("disabled", true);  gFromGlobalPref = true;  LoadDirectories(directoriesListPopup);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/9fcc4a4a1fd575244ae87a69e6387eee7c1483c7/pref-directory.js/clean/mailnews/addrbook/prefs/resources/content/pref-directory.js