case "hide_menu":
document.getElementById("eddies").style.visibility = "hidden";
break;

All we are doing with the addition of this case to the ajaxManager function is first targeting the ul elements by obtaining the id value of eddie that we set earlier and then setting its visibility property to hidden.

You can see how this works in practice from the following link:

View Example

Pretty neat huh? And what is cool is that not a lot of additional JavaScript was needed to dynamically manipulate that file. The simpler you can keep things, the better off you will be.