rem: if (SelectedMessagesAreJunk()) junkButtonDeck.selectedIndex = 1; else junkButtonDeck.selectedIndex = 0; 
add: if (junkButtonDeck) { if (SelectedMessagesAreJunk()) junkButtonDeck.selectedIndex = 1; else junkButtonDeck.selectedIndex = 0; } 
context: function UpdateJunkToolbarButton(){  var junkButtonDeck = document.getElementById("junk-deck");  if (SelectedMessagesAreJunk())    junkButtonDeck.selectedIndex = 1;  else    junkButtonDeck.selectedIndex = 0;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/cdbc29e0a1bc359d549b6f26fde03a2b338be50e/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js