 function openOutsideWindow(url, width, height)
        {
            outsideWin =
            window.open(url, 'remote', 'LOCATION=YES,MENUBAR=YES,STATUS=YES,RESIZABLE,SCROLLBARS=YES,DIRECTORY=YES,TOOLBAR=YES,width=' +
                                       width + ',height=' + height + ',left=0,top=0')
            //nextline allows focus to continue to go to the remote window
            outsideWin.focus();
        }

        function openPlainWindow(url, width, height)
        {
            outsideWin =
            window.open(url, 'remote', 'RESIZABLE,SCROLLBARS=YES,width=' + width + ',height=' + height + ',left=0,top=0')
            //nextline allows focus to continue to go to the remote window
            outsideWin.focus();
        }

        function openPlainWindowOptions(url, width, height, scrollbarsYN)
        {
            sbYN = (scrollbarsYN == "NO")?"NO":"YES";
            //alert(sbYN);
            outsideWin = window.open(url, 'remote', 'RESIZABLE,SCROLLBARS=' + sbYN + ',width=' + width + ',height=' + height +
                                                    ',left=0,top=0')
            //nextline allows focus to continue to go to the remote window
            outsideWin.focus();
        }
