rem: var menuitem = document.getElementById(id); if (menuitem) { menuitem.setAttribute("checked", value); } 
add: var menuitem = document.getElementById(id); if (menuitem) menuitem.setAttribute("checked", value); 
context: function setSortByMenuItemCheckState(id, value){    var menuitem = document.getElementById(id);    if (menuitem) {      menuitem.setAttribute("checked", value);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b6bb0ecf6484efaae610e6386311832c1d7effcf/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js