To pass on some values to the "opener" window from the "opened" window, you have to use the window.opener object.

Example:
Code:
//in the original window
  var bValueFromPopup = false;
  document.form.myForm.button.onClick=function()
  {
     window.open("pop.htm","testt");
  }
  
  //this opens the file pop.htm in a new pop-up window.
  
  //in pop.htm, if you want to change/pass a value to the orginal window
  document.form.newForm.myButton.onClick=function()
  {
     window.opener.bValueFronPopup=true;
  }
  
  //this will change the value of the variable bValueFronPopup in the main window.
You got the logic, hope now u can work on your problem.In case of any prob, dont worry, I am just a mouse click away ;-)

----------------------------------
Computers are like airconditioners, if you open WINDOZE they don't function!

http://spradeep.blogspot.com