<!--

function getBrowser()
{
    blnNS6 = (typeof(window.controllers) != 'undefined' && typeof(window.locationbar) != 'undefined')? true:false;
    blnNS4 = (document.layers)? true:false;
    blnIE4 = (document.all)? true:false;
    
    if (blnNS6 == true)
    {
        return("NS6");
    }
    else if (blnNS4 == true)
    {
        return("NS4");
    }
    else if (blnIE4 == true)
    {
        return("IE4");
    }
    else
    {
        return("");
    }
}

function getLayer(strLayerName)
{
    switch (getBrowser())
    {
        case "NS4":
            return("document." + strLayerName);
            break;

        case "NS6":
            return("document.getElementById('" + strLayerName+ "').style");
            break;

        case "IE4":
            return(strLayerName + ".style");
            break;

        default:
            return("");
            break;
    }
}

function showLayer(strLayerName)
{
    eval(getLayer(strLayerName)).visibility = "visible";
}

function hideLayer(strLayerName)
{
    eval(getLayer(strLayerName)).visibility = "hidden";
}

//-->