function toggleLayers(whichLayer1, whichLayer2)
{
    if (document.getElementById)
    {
        // this is the way the standards work
        var style1 = document.getElementById(whichLayer1).style;
        style1.display = style1.display? "":"block";
        var style2 = document.getElementById(whichLayer2).style;
        style2.display = style2.display? "":"none";
    }
    else if (document.all)
    {
        // this is the way old msie versions work
        var style1 = document.all[whichLayer1].style;
        style1.display = style1.display? "":"block";
        var style2 = document.all[whichLayer2].style;
        style2.display = style2.display? "":"none";
    }
    else if (document.layers)
    {
        // this is the way nn4 works
        var style1 = document.layers[whichLayer1].style;
        style1.display = style1.display? "":"block";
        var style2 = document.layers[whichLayer2].style;
        style2.display = style2.display? "":"none";
    }
}