rem: toolbar.collapsed = aEvent.originalTarget.getAttribute("checked") != "true"; document.persist(id, "collapsed"); 
add:  menuItem.setAttribute('checked', toolbarCollapsed);   toolbar.collapsed = !toolbarCollapsed;  document.persist(aToolbarId, 'collapsed'); document.persist(aMenuItemId, 'checked'); 
context: function onViewToolbarCommand(id, aEvent){  var toolbar = document.getElementById(id);  if (!toolbar) return;    toolbar.collapsed = aEvent.originalTarget.getAttribute("checked") != "true";  document.persist(id, "collapsed");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/70bc1f1e04aef735d66a06aa02e4ade18d4553eb/mailCore.js/buggy/mail/base/content/mailCore.js