function saveGame() { sendRequest("craftmine.php", "op=saveGame"); } function downGame() { window.open("craftmine.php?op=downSave", "_blank"); }