
/*
Toggle Layer Visibility
© Eddie Traversa (nirvana.media3.net)
To add more shock to your site, visit www.DHTML Shock.com
*/

function toggleVisibility(id1, NNtype1, IEtype1, WC3type1,id2, NNtype2, IEtype2, WC3type2) {
    if (document.getElementById) {
        eval("document.getElementById(id1).style.display = \"" + WC3type1 + "\"");
        eval("document.getElementById(id2).style.display = \"" + WC3type2 + "\"");
    } else {
        if (document.layers) {
            document.layers[id1].visibility = NNtype1;
            document.layers[id2].visibility = NNtype2;
        } else {
            if (document.all) {
                eval("document.all." + id1 + ".style.display = \"" + IEtype1 + "\"");
                eval("document.all." + id2 + ".style.display = \"" + IEtype2 + "\"");
            }
        }
    }
}

