add: window.addEventListener("load", UpdateInternetSearchResults, true);  
context:   function Startup()  {    // Position window.    var win = document.getElementById( "main-window" );    if (win) {      var x = win.getAttribute( "x" );      var y = win.getAttribute( "y" );      // dump(" move to "+x+" "+y+"\n");      window.moveTo( x, y );    }    //  TileWindow();    // Make sure window fits on screen initially   // FitToScreen();	    // Create the browser instance component.    createBrowserInstance();    if (appCore == null) {        // Give up.        window.close();    }    // Initialize browser instance..    appCore.setWebShellWindow(window);        tryToSetContentWindow();	    // Add a capturing event listener to the content window so we'll    // be notified when onloads complete.    window.addEventListener("load", UpdateHistory, true);    window.addEventListener("load", UpdateBookmarksLastVisitedDate, true);	 // Check for window.arguments[0].  If present, go to that url.    if ( window.arguments && window.arguments[0] ) {        // Load it using yet another psuedo-onload handler.        onLoadViaOpenDialog();    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/48bc87c873dab9765498d8f1de872c3c20222970/navigator.js/buggy/suite/browser/navigator.js