One simple way to do this would be have to simple functions one to hide and one to show.
function showstuff(boxid){
document.getElementById(boxid).style.visibility="visible";
}
function hidestuff(boxid){
document.getElementById(boxid).style.visibility="hidden";
}
and call them like
onclick="showstuff('id_of_element_to_show');"
Regards,
Ibrahim Karakira