' + ''; var options = "toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=" + width + ",height=" + height; var printWindow = window.open('', 'print', options); printWindow.document.open(); printWindow.document.write(content); printWindow.document.close(); printWindow.focus(); }