function launchprintdialog() { if (typeof print == "object" || typeof print =="function") print(); }