function
getBrowser()
{

        var userAgent = navigator.userAgent;

        var idx = userAgent.indexOf("Netscape");

        if (idx >= 0) {
                return "Netscape"
        }

        // AH - note that the userAgent for netscape
        // also contains the string 'Gecko', thats
        // why the check for 'Netscape' is done first.
        var idx = userAgent.indexOf("Firefox");
        if (idx >= 0) {
                return "Mozilla";
        }

        var idx = userAgent.indexOf("MSIE");
        if (idx >= 0) {
                return "IE";
        }

    
        return "";
}

