rem: var navTB = document.getElementById("nav-bar"); 
add: var navToolbox = document.getElementById("navigator-toolbox"); 
context: function BrowserExitPrintPreview(){  gInPrintPreviewMode = false;  var browser = getBrowser();  browser.setAttribute("handleCtrlPageUpDown", "true");  // exit print preview galley mode in content area  var ifreq = _content.QueryInterface(    Components.interfaces.nsIInterfaceRequestor);  var webBrowserPrint = ifreq.getInterface(    Components.interfaces.nsIWebBrowserPrint);       webBrowserPrint.exitPrintPreview();   _content.focus();  // remove the print preview toolbar  var navTB = document.getElementById("nav-bar");  var printPreviewTB = document.getElementById("print-preview-toolbar");  navTB.parentNode.removeChild(printPreviewTB);  // restore chrome to original state  toggleAffectedChrome(false);  // restore old onclose handler if we found one before previewing  var mainWin = document.getElementById("main-window");  mainWin.setAttribute("onclose", gOldCloseHandler);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/222201cc0ab562723f846a9389c8cda0b11e2c82/browser.js/clean/suite/browser/browser.js