add: gButton = document.getElementById("search-button"); 
context: function initializeSearchWindowWidgets(){    gFolderPicker = document.getElementById("searchableFolders");    gThreadTree = document.getElementById("threadTree");    msgWindow = Components.classes[msgWindowContractID].createInstance(nsIMsgWindow);    msgWindow.statusFeedback = gStatusFeedback;    msgWindow.SetDOMWindow(window);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/83df4a1b807519e3887338ff2d095e214007dd37/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js