
function openFlWin(pageURL) {
  popupWin = window.open(pageURL, "remote", "status,width=420,height=180,left=25,top=10,scrollbars=yes,resizable=yes")
}

function openFloatWindow(pageURL) {
  popupWin = window.open(pageURL, "remote", "status,width=350,height=600,left=25,top=10")
}


function openURLFloatWindow(strURL, intwidth, intheight, intleft, inttop, strtitle) {   
        strparam='"status,height=' + intheight + ',width=' + intwidth + ',left=' + intleft + ',top=' + intleft + '"';
        msgWindow=window.open(strURL,"remote",strparam);
        return true;
}

function openMsgFloatWindow(strmsg, intwidth, intheight, intleft, inttop, strtitle) {   
        if (typeof(msgWindow) == "object") {    
                msgWindow.focus();
        }
        else
        {
        strparam='"status,height=' + intheight + ',width=' + intwidth + ',left=' + intleft + ',top=' + intleft + '"';
        msgWindow=window.open("","strmsg",strparam);
        msgWindow.document.write("<html><title>" + strtitle + "</title>");
        msgWindow.document.write("<style type=text/css>.Link2 {font-family : Arial, Helvetica, Verdana, sans-serif; font-size : 12px;   color : #172169; text-decoration : none;}</style>");
        msgWindow.document.write("<body bgcolor='white' onblur=window.close()>");
        msgWindow.document.write("<center><font class=Link2>" + strmsg + "</font></center>");
        msgWindow.document.write("<br><center><a HREF='javascript: window.close();' target=_parent class=ButtonBlue><img src=/images/diamond3.gif WIDTH=16 HEIGHT=17 border=0>Close Window</a></center><br>");
        msgWindow.document.write("</body></html>");
        if (!msgWindow.opener) msgWindow.opener = self;
        msgWindow.focus();
        return true;
        }
}

function CloseMsgFloatWindow() {
        if (typeof(msgWindow) == "object") {
                if (!msgWindow.closed) {
                        msgWindow.close();
                }
        }
}
