rem: promptService.Alert(window, errorTitle, errorMessage); 
add: promptService.alert(window, errorTitle, errorMessage); 
context: function DomainAlreadyPresent(obj, domain_name, dup){  var errorTitle;  var errorMsg;  var pref_string = obj.domain_pref.getAttribute('label');  var found = false;  try {    var arrayOfPrefs = pref_string.split(',');    if (arrayOfPrefs)      for (var i = 0; i < arrayOfPrefs.length; i++) {        var str = arrayOfPrefs[i].replace(/ /g,"");        if (str == domain_name) {          dump("###ERROR DOMAIN ALREADY EXISTS\n");          errorTitle = document.getElementById("domainerrdlg").getAttribute("domainerrdlg_title");          if(dup)          errorMsg = document.getElementById("domainerrdlg").getAttribute("duperr");          else          errorMsg = document.getElementById("domainerrdlg").getAttribute("dualerr");          var errorMessage = errorMsg.replace(/@string@/, domain_name);          if (promptService)            promptService.Alert(window, errorTitle, errorMessage);          else            window.alert(errorMessage);          found = true;          break;        }//if    }//for    return found;  }//try  catch(ex){     return false;  }//catch}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bfe4893c0ce5a1433f30a24140ce959e59b65d59/pref-formatting.js/clean/mailnews/compose/prefs/resources/content/pref-formatting.js