rem: SetCardValues(cardproperty, frames["editcard"].document); 
add: SetCardValues(cardproperty, document); 
context: function NewCardOKButton(){	var cardproperty = Components.classes["component://netscape/addressbook/cardproperty"].createInstance();	cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard);	dump("cardproperty = " + cardproperty + "\n");	if ( cardproperty )	{		SetCardValues(cardproperty, frames["editcard"].document);			cardproperty.AddCardToDatabase(editCard.abURI);	}		return true;	// close the window}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f60b3ef9702f763c5ca196f771e9e4140c953092/editcard.js/clean/mailnews/addrbook/resources/content/editcard.js