rem: gActionValueDeck.setAttribute("index", menuitem.getAttribute("actionvalueindex")); 
add: var indexValue = menuitem.getAttribute("actionvalueindex");  gActionValueDeck.setAttribute("index", indexValue);   document.getElementById("newFolderButton").setAttribute("disabled", indexValue == "0" ? "false" : "true"); 
context: function showActionElementFor(menuitem){    if (!menuitem) return;    gActionValueDeck.setAttribute("index", menuitem.getAttribute("actionvalueindex"));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d753791bebf0d5b417b61b9fc59f25db5513a039/FilterEditor.js/clean/mailnews/base/search/resources/content/FilterEditor.js