function showSub(x)
{
        var p = document.getElementById(x);
        if (p.style.display == "none")
                p.style.display = "block";
        else
                p.style.display = "none";
}
