function fncPopup(url,h,w,n) {
        var url = url;
        var h = h;
        var w = w;
        var n = n;

        if ((h == null)||(h == "undefined")||(h == "")) {h=580};
        if ((w == null)||(w == "undefined")||(w == "")) {w=780};
        if ((n == null)||(n == "undefined")||(n == "")) {n="sldpopup"};

        var jpopVariables = "height=" + h + ",width=" + w + ",toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes";
        
        // open new window
        var sldWindow = window.open(url, n, jpopVariables);

        // check if we can focus it
        if (sldWindow && window.focus && sldWindow.focus)
        {
            window.focus(); // focus the opener
            if (window.blur) // check if we can blur
            window.blur(); // blur the opener explicitely
            sldWindow.focus(); // focus the popup
        }
}
