<script language="Javascript" type="text/javascript">
var child;
function openWin()
{
child = window.open("ifr2.html", "target_to_popup", "height=200,width=400,left=300,top=100,status=yes,toolbar=no,menubar=no,location=no");
child.focus();
}
function submitChild()
{
if (child && !child.closed)
child.ifr_name.form_name.submit();
}
</script>
<input type="button" onClick="openWin()" value="Open">
<BR><BR>
<form name="sdsd" action="http://one.lv" method="get" onsubmit="submitChild();">
<input type=submit>
</form>