rem: menuItem.setAttribute("checked","true"); 
context: function toggleAddressPicker(){  var sidebarBox = document.getElementById("sidebar-box");  var sidebarSplitter = document.getElementById("sidebar-splitter");  var menuItem = document.getElementById("menu_AddressSidebar");  if (sidebarBox.hidden)   {    sidebarBox.hidden = false;    sidebarSplitter.hidden = false;    var sidebar = document.getElementById("sidebar");    var sidebarUrl = sidebar.getAttribute("src");    // if we have yet to initialize the src url on the sidebar than go ahead and do so now...    // we do this lazily here, so we don't spend time when bringing up the compose window loading the address book    // data sources. Only when the user opens the address picker do we set the src url for the sidebar...    if (sidebarUrl == "")      sidebar.setAttribute("src", "chrome://messenger/content/addressbook/abContactsPanel.xul");    menuItem.setAttribute("checked","true");    sidebarBox.setAttribute("sidebarVisible", "true");  }  else  {    sidebarBox.hidden = true;    sidebarSplitter.hidden = true;    menuItem.setAttribute("checked","false");    sidebarBox.setAttribute("sidebarVisible", "false");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/fc69bb23108a488ef524c03de1d46e0714bed1c3/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js