It looks right but when user clicks "print" button, a separate window opens but nothing happens further.
var player = GetPlayer();
var theName =(
var theDate =(
var urlstring = ("printCertificate.html?print=" + theName + "&" + theDate);