rem: cardproperty.homeAddress = doc.getElementById('HomeAddress').value; cardproperty.homeAddress2 = doc.getElementById('HomeAddress2').value; cardproperty.homeCity = doc.getElementById('HomeCity').value; cardproperty.homeState = doc.getElementById('HomeState').value; cardproperty.homeZipCode = doc.getElementById('HomeZipCode').value; cardproperty.homeCountry = doc.getElementById('HomeCountry').value; cardproperty.webPage2 = CleanUpWebPage(doc.getElementById('WebPage2').value); 
add: var popup = document.getElementById('PreferMailFormatPopup'); if ( popup ) cardproperty.preferMailFormat = popup.value; 
context: function SetCardValues(cardproperty, doc){	if (cardproperty)	{		cardproperty.firstName = doc.getElementById('FirstName').value;		cardproperty.lastName = doc.getElementById('LastName').value;		cardproperty.displayName = doc.getElementById('DisplayName').value;		cardproperty.nickName = doc.getElementById('NickName').value;				cardproperty.primaryEmail = doc.getElementById('PrimaryEmail').value;		cardproperty.secondEmail = doc.getElementById('SecondEmail').value;		var popup = document.getElementById('PreferMailFormatPopup');		if ( popup )			cardproperty.preferMailFormat = popup.data;				cardproperty.workPhone = doc.getElementById('WorkPhone').value;		cardproperty.homePhone = doc.getElementById('HomePhone').value;		cardproperty.faxNumber = doc.getElementById('FaxNumber').value;		cardproperty.pagerNumber = doc.getElementById('PagerNumber').value;		cardproperty.cellularNumber = doc.getElementById('CellularNumber').value;		cardproperty.homeAddress = doc.getElementById('HomeAddress').value;		cardproperty.homeAddress2 = doc.getElementById('HomeAddress2').value;		cardproperty.homeCity = doc.getElementById('HomeCity').value;		cardproperty.homeState = doc.getElementById('HomeState').value;		cardproperty.homeZipCode = doc.getElementById('HomeZipCode').value;		cardproperty.homeCountry = doc.getElementById('HomeCountry').value;		cardproperty.webPage2 = CleanUpWebPage(doc.getElementById('WebPage2').value);		cardproperty.jobTitle = doc.getElementById('JobTitle').value;		cardproperty.department = doc.getElementById('Department').value;		cardproperty.company = doc.getElementById('Company').value;		cardproperty.workAddress = doc.getElementById('WorkAddress').value;		cardproperty.workAddress2 = doc.getElementById('WorkAddress2').value;		cardproperty.workCity = doc.getElementById('WorkCity').value;		cardproperty.workState = doc.getElementById('WorkState').value;		cardproperty.workZipCode = doc.getElementById('WorkZipCode').value;		cardproperty.workCountry = doc.getElementById('WorkCountry').value;		cardproperty.webPage1 = CleanUpWebPage(doc.getElementById('WebPage1').value);		cardproperty.custom1 = doc.getElementById('Custom1').value;		cardproperty.custom2 = doc.getElementById('Custom2').value;		cardproperty.custom3 = doc.getElementById('Custom3').value;		cardproperty.custom4 = doc.getElementById('Custom4').value;		cardproperty.notes = doc.getElementById('Notes').value;	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/abCardOverlay.js/buggy/mailnews/addrbook/resources/content/abCardOverlay.js