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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f54c68376eb811fd9fb4ae6d35e7ddbe26783e3a/mailCore.js/clean/mail/base/content/mailCore.js