Index: lams_tool_forum/web/includes/scripts.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/scripts.jsp,v diff -u -r1.3 -r1.4 --- lams_tool_forum/web/includes/scripts.jsp 1 Nov 2005 05:30:54 -0000 1.3 +++ lams_tool_forum/web/includes/scripts.jsp 24 Nov 2005 06:25:24 -0000 1.4 @@ -6,6 +6,17 @@ window.opener.parent.location.href = ""; window.close(); } - - + function launchPopup(url) { + var instructionsWindow = null; +// add the mac test back in when we have the platform detection working. +// if(mac){ +// window.open(url,'instructions','resizable,width=796,height=570,scrollbars'); +// }else{ + if(instructionsWindow && instructionsWindow.open && !instructionsWindow.closed){ + instructionsWindow.close(); + } + instructionsWindow = window.open(url,'newtopic','resizable,width=796,height=570,scrollbars'); + instructionsWindow.window.focus(); +// } + } //-->