rem: .createInstance(Components.interfaces.nsIAddressBook) 
add: .getService(Components.interfaces.nsIAddressBook) 
context: function abNameOKButton(){  var newName = gNameInput.value.replace(/^\s+|\s+$/g, '');  // Either create a new directory or update an existing one depending on what  // we were given when we started.  if (gDirectory)    gDirectory.dirName = newName;  else    Components.classes["@mozilla.org/addressbook;1"]              .createInstance(Components.interfaces.nsIAddressBook)              .newAddressBook(newName, "", kPABDirectory);  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/7bedc789ce4693f8b68d8f9969c41b7272a65e21/abAddressBookNameDialog.js/buggy/mailnews/addrbook/resources/content/abAddressBookNameDialog.js