Same menu as seen here but now as a simple collapsing menu.
For this the source code becomes as ridiculously simple as this:
function initMenu() {
$('#menu ul').hide();
$('#menu li a').click(
function() {
$(this).next().slideToggle('normal');
}
);
}
$(document).ready(function() {initMenu();});