add:  var card = Components.classes["component: card = card.QueryInterface(Components.interfaces.nsIAbCard); dump("card = " + card + "\n");  if (card) { card.SetCardValue('firstname', document.getElementById('firstname').value); card.SetCardValue('lastname', document.getElementById('lastname').value); card.SetCardValue('displayname', document.getElementById('displayname').value); card.SetCardValue('nickname', document.getElementById('nickname').value); card.SetCardValue('primaryemail', document.getElementById('primaryemail').value); card.SetCardValue('secondemail', document.getElementById('secondemail').value); card.SetCardValue('workphone', document.getElementById('workphone').value); card.SetCardValue('homephone', document.getElementById('homephone').value); card.SetCardValue('faxnumber', document.getElementById('faxnumber').value); card.SetCardValue('pagernumber', document.getElementById('pagernumber').value); card.SetCardValue('cellularnumber', document.getElementById('cellularnumber').value);  card.AddCardToDatabase(); } window.close(); 
context: function EditCardOKButton(){	dump("OK Hit\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d6bb8b2c38f6ecc15196bc31badbb0453afa3207/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js