rem: var preference = document.getElementById("mail.preferences.advanced.selectedTabIndex"); if (preference.value) document.getElementById("advancedPrefs").selectedIndex = preference.value; 
add: if ("arguments" in window && window.arguments[1] && document.getElementById(window.arguments[1])) document.getElementById("advancedPrefs").selectedTab = document.getElementById(window.arguments[1]); else { var preference = document.getElementById("mail.preferences.advanced.selectedTabIndex"); if (preference.value) document.getElementById("advancedPrefs").selectedIndex = preference.value; } 
context:   init: function ()  {    this.mPane = document.getElementById("paneAdvanced");    this.updateMarkAsReadTextbox(false);    var preference = document.getElementById("mail.preferences.advanced.selectedTabIndex");    if (preference.value)      document.getElementById("advancedPrefs").selectedIndex = preference.value;    this.mInitialized = true;  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f895d1b6747f8e852d03fe09b31d4ede16e8c52d/advanced.js/clean/mail/components/preferences/advanced.js