printPreviewTB.hidden = false; 
var browser = getPPBrowser(); if (browser) browser.collapsed = false; 
  enterPrintPreview: function (aWindow)  {    var webBrowserPrint = this.getWebBrowserPrint(aWindow);    var printSettings   = this.getPrintSettings();    try {      webBrowserPrint.printPreview(printSettings, null, this._webProgressPP.value);    } 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      return;    }    var printPreviewTB = document.getElementById("print-preview-toolbar");    if (printPreviewTB) {      printPreviewTB.updateToolbar();      printPreviewTB.hidden = false;      return;    }    // show the toolbar after we go into print preview mode so    // that we can initialize the toolbar with total num pages    printPreviewTB = document.createElementNS(XUL_NS, "toolbar");    printPreviewTB.setAttribute("printpreview", true);    printPreviewTB.setAttribute("id", "print-preview-toolbar");#ifdef MOZ_PHOENIX    getBrowser().parentNode.insertBefore(printPreviewTB, getBrowser());    // Tab browser...    if ("getStripVisibility" in getBrowser()) {      this._chromeState.hadTabStrip = getBrowser().getStripVisibility();      getBrowser().setStripVisibilityTo(false);    }#endif    // copy the window close handler    if (document.documentElement.hasAttribute("onclose"))      this._closeHandlerPP = document.documentElement.getAttribute("onclose");    else      this._closeHandlerPP = null;    document.documentElement.setAttribute("onclose", "PrintUtils.exitPrintPreview(); return false;");    // disable chrome shortcuts...    window.addEventListener("keypress", this.onKeyPressPP, true);     var contentWindow = aWindow || window.content;    contentWindow.focus();    // on Enter PP Call back    if (this._onEnterPP) {      this._onEnterPP();      this._onEnterPP = null;    }  },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/36d38a4df6b41a5fa9742ad2d6b59cd4ca82fe83/printUtils.js/buggy/toolkit/components/printing/content/printUtils.js