<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html> <head>
<body>
<form action="http://tratata.php" target="blank" id="form" name="myform" method="post">
<input type="submit" name="join" value="join777" onclick="clk(this);">
<input type="submit" name="info" value="info777" onclick="clk(this);">
<input type="submit" name="create" value="create777" onclick="clk(this);">
</form>
<script type="text/javascript">
var form = document.getElementById('form');
function clk(ths)
{
form.setAttribute('target', ths.getAttribute('name') == 'join' ? 'blank' : '');
}
</script>
</body>
</html>