<script language="javascript">
function xxx()
{win = window.open("","xxx","width=100,height=100")}
</script>
<form action="xxx.asp" target="xxx" οnsubmit="return xxx()">
<input type="submit" value="submit">
</form>
<script language="javascript">
function xxx()
{win = window.open("","xxx","width=100,height=100")}
</script>
<form action="xxx.asp" target="xxx" οnsubmit="return xxx()">
<input type="submit" value="submit">
</form>