The opener property returns a reference to the window that created the window.
When opening a window with window.open(), you can use this property from the destination window to return details of the source (parent) window.
NOTE : window.opener.close() will close the source (parent) window.
ISSUE : Not working with IE.
SOLUTION : Use window.ShowModalDialog() & window.dialogArguments()