I have three forms A1,A2,A3.
The first form A1 is opened in a window and when a button called 'secForm' is pressed the second form A2 is opened in a new window (I've done part by calling a javascript function when the button is clicked)
Now when a button in the second window is pressed the second window should be closed and the third form A3 should be opened in the first window

**( Sounds funny !! but I need some help on this )