rem: var folder = selectedFolders[0]; 
add: var folder = selectedFolders[0]; 
context: function IsCompactFolderEnabled(){    var folderTree = GetFolderTree();    var selectedFolders = folderTree.selectedItems;    var numFolders = selectedFolders.length;    if (numFolders <= 0 )        return false;	var folder = selectedFolders[0];    if (!folder)         return false;    return (folder.getAttribute('CanCompact') == "true");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4acec0e951a9d1c6dbb41b5c3931539465f3abe8/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js