<form method="POST" action="http://farik.mihanblog.com" id=form1>
<p><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1" onclick="document.getElementById('form1').action='http://tab_o_tab.mihanblog.com';"><input type="reset" value="Reset" name="B2"></p>
</form>