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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dba7948855d895e708e5924098b80748cd3ce8a1/advanced.js/buggy/mail/components/preferences/advanced.js