var pathname; var path; function printWindow() { bV = parseInt(navigator.appVersion); if (bV >= 4) window.print(); }