function showInfoPanel(link, code, text)
{
    if (link.getAttribute("opened") == "no")
    {
        link.innerText = code + ": " + text;
        link.setAttribute("opened", "yes");
    }
    else
    {
        link.innerText = code;
        link.setAttribute("opened", "no");
    }
     
}
function hideInfoPanel(link, code)
{
    link.innerText = code;
}
