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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/038cc7ce694932de6ff8c5632d25d52812f7aba9/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js