The best thing is you can assign the new values to either the hidden form fields or the
java script variables in the parent window and close the child window. Once you have assigned the values you can either submit the form and get the page with new values of if you have used the java script variables just just set the location bar url to the new one with the new set of values and generate the new page with new values.