rem: var menuItem = document.getElementById(menuItemID); if(menuItem) { menuItem.setAttribute("checked", currentSortColumnID == columnID); } 
add: var menuItem = document.getElementById(menuItemID); if(menuItem) { menuItem.setAttribute("checked", currentSortColumnID == columnID); } 
context: function UpdateSortMenuitem(currentSortColumnID, menuItemID, columnID){	var menuItem = document.getElementById(menuItemID);	if(menuItem)	{		menuItem.setAttribute("checked", currentSortColumnID == columnID);	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/commandglue.js/clean/mailnews/base/resources/content/commandglue.js