"; } function VoucherPrint(source) { Pagelink = ""; var pwa = window.open(Pagelink, "_new"); pwa.document.open(); pwa.document.write(VoucherSourcetoPrint(source)); pwa.document.close(); }