I have a MainPortal.jsp. From the mainportal user can click on a button which goes to RefPortal.jsp. In the RefPortal page I have buttons that open new html files. Is it possible for the open html files to also close when the user clicks on Exit in the MainPortal?
Would appreciate any help.

//This is the code in MainPortal to Exit the program...this only closes the main program and not the open html file
<a href="#" onClick="javascript:top.window.close()" ><IMG SRC="/images/PORTALS/t_67.gif" WIDTH=161 HEIGHT=33
name="t_67" border="0" ALT="EXIT">

//Here is the code in RefPortal that opens a new html file
<TD width="161"><a href="../Library/libraryPopFrame.htm" ><IMG SRC="/images/PORTALS/t_223.gif" WIDTH=161 HEIGHT=33
name="t_223" border="0" ALT="LIBRARY">