function toggleAction(id)
{
    $(id+"_content").toggle();
    text = $(id+"_link").innerHTML
    $(id+"_link").innerHTML = (text == 'close' ? 'open' : 'close');
}