rem: if (!folder || !folder.server.canSearchMessages) { 
add: if (!folder || !folder.server.canSearchMessages || (folder.flags & MSG_FOLDER_FLAG_VIRTUAL)) { 
context: function selectFolder(folder) {    var folderURI;    // if we can't search messages on this folder, just select the first one    if (!folder || !folder.server.canSearchMessages) {        // walk folders to find first item        var firstItem = getFirstItemByTag(gFolderPicker, "menu");        folderURI = firstItem.id;    } else {        folderURI = folder.URI;    }    updateSearchFolderPicker(folderURI);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d5306d51872a83030a4d5145cb6c611f14a6db3f/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js