onclick='window.open("<?php echo $pw; ?>" + document.getElementById("codeb").value + ".txt")'