<script language="javascript">
var mainwin=window.open('main.htm','main');
</script>