add: _content.focus(); 
context: function BrowserPrintPreview(){  var mainWin = document.getElementById("main-window");  // save previous close handler to restoreon exiting print preview mode  if (mainWin.hasAttribute("onclose"))    gOldCloseHandler = mainWin.getAttribute("onclose");  else    gOldCloseHandler = null;  mainWin.setAttribute("onclose", "BrowserExitPrintPreview(); return false;");   try {    var ifreq = _content.QueryInterface(      Components.interfaces.nsIInterfaceRequestor);    var webBrowserPrint = ifreq.getInterface(      Components.interfaces.nsIWebBrowserPrint);         if (webBrowserPrint) {      gPrintSettings = GetPrintSettings(webBrowserPrint);      webBrowserPrint.printPreview(gPrintSettings);    }    // show the toolbar after we go into print preview mode so    // that we can initialize the toolbar with total num pages    showPrintPreviewToolbar();  } catch (e) {    // Pressing cancel is expressed as an NS_ERROR_ABORT return value,    // causing an exception to be thrown which we catch here.    // Unfortunately this will also consume helpful failures, so add a    // dump(e); // if you need to debug  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fada20b4c959fca530639b30c40bc6b2d9341899/browser.js/clean/suite/browser/browser.js