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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/commandglue.js/clean/mailnews/base/resources/content/commandglue.js