rem:  getViewName("search");   
add: saveAsVirtualFolder(); 
context:     doCommand: function(command)    {        switch(command) {        case "cmd_open":            MsgOpenSelectedMessages();            return true;        case "cmd_delete":        case "button_delete":            MsgDeleteSelectedMessages(nsMsgViewCommandType.deleteMsg);            return true;        case "cmd_shiftDelete":            MsgDeleteSelectedMessages(nsMsgViewCommandType.deleteNoTrash);            return true;        case "goto_folder_button":            GoToFolder();            return true;        case "saveas_vf_button":            // prompt for view name - create virtual folder in ok callback.          getViewName("search");            return true;        default:            return false;        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b54857c23bc1f84403c3b8b3a6c34e7ccc64c793/SearchDialog.js/clean/mailnews/base/search/resources/content/SearchDialog.js