$(function() {
	// hide all the sub-menus
	$("#menu a.head, a.sub-head").next().hide();
	$("a.head, a.sub-head").css("cursor", "pointer");
	$("a.head").click(function() {
		$("a.head:visible").next().hide(300);
		$(this).next().show(300);
	});
		$("a.sub-head").click(function() {
		$("a.sub-head:visible").next().hide(300);
		$(this).next().show(300);
	});
});