when you open the window, .. name it.
<a href="somepage.html" target="myname">
then when you want to reload info into that page.. setup your form like this:
<form method=post action="somepage.html" target="myname">
add your javascript and it still should work fine.