') newWindow.document.write(template) newWindow.document.writeln ("