rem: var element = document.getElementById("PhoneticLastName"); element.setAttribute("hidden", "false"); element = document.getElementById("PhoneticLabel1"); element.setAttribute("hidden", "false"); element = document.getElementById("PhoneticSpacer1"); element.setAttribute("hidden", "false");  element = document.getElementById("PhoneticFirstName"); element.setAttribute("hidden", "false"); element = document.getElementById("PhoneticLabel2"); element.setAttribute("hidden", "false"); element = document.getElementById("PhoneticSpacer2"); element.setAttribute("hidden", "false"); 
add: for (var i = kPhoneticFields.length; i-- > 0; ) document.getElementById(kPhoneticFields[i]).hidden = false; 
context: function InitPhoneticFields(){  var showPhoneticFields =        gPrefs.getComplexValue("mail.addr_book.show_phonetic_fields",                                Components.interfaces.nsIPrefLocalizedString).data;  // hide phonetic fields if indicated by the pref  if (showPhoneticFields == "true")  {    var element = document.getElementById("PhoneticLastName");    element.setAttribute("hidden", "false");    element = document.getElementById("PhoneticLabel1");    element.setAttribute("hidden", "false");    element = document.getElementById("PhoneticSpacer1");    element.setAttribute("hidden", "false");    element = document.getElementById("PhoneticFirstName");    element.setAttribute("hidden", "false");    element = document.getElementById("PhoneticLabel2");    element.setAttribute("hidden", "false");    element = document.getElementById("PhoneticSpacer2");    element.setAttribute("hidden", "false");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/073433b0963e7cdfb0e6ad097343d6e23c4d4e3e/abCardOverlay.js/buggy/mail/components/addrbook/content/abCardOverlay.js