rem: if (menulist) menulist.removeAllItems(); 
add:   if (menulist) { menulist.selectedItem = null; var popup = menulist.firstChild; if (popup) while (popup.firstChild) popup.removeChild(popup.firstChild); } 
context: function ClearMenulist(menulist){  if (menulist)    menulist.removeAllItems();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0710c0df671c197d7d8ba1e714e92ec47287677e/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js