Index: lams_central/web/author.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/author.jsp,v diff -u -r1.40 -r1.41 --- lams_central/web/author.jsp 13 Sep 2007 04:55:10 -0000 1.40 +++ lams_central/web/author.jsp 11 Oct 2007 04:45:04 -0000 1.41 @@ -33,6 +33,11 @@ var previewWin = null; var previewSessionId = null; +// Use for handling popup windows +var pWins = new Array(); +var iWins = 0; + + function getWindowSize() { var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { @@ -115,8 +120,21 @@ // thePopUp.focus(); //}else{ - thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars=yes,status="+status+",menubar="+menubar+", toolbar="+toolbar); + // thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars=yes,status="+status+",menubar="+menubar+", toolbar="+toolbar); //} + + for(var i=0; i