$(document).ready(function(){

	// slide down sub menu bar from head_panel
	$('#head_panel_main').mouseover(function() {
		$('#submenu').slideDown('slow', function() {
		});
		$('#submenu_docs').slideUp('slow');
	});

	// hide sub menu when mouse leave
	$('#mouseleave').mouseleave(function() {
		$('#submenu').slideUp('slow');
	});



	// slide down sub menu bar from head_panel
	$('#head_panel_docs').mouseover(function() {
		$('#submenu_docs').slideDown('slow', function() {
		});
		$('#submenu').slideUp('slow');
	});


	// hide sub menu when mouse leave
	$('#mouseleave').mouseleave(function() {
		$('#submenu_docs').slideUp('slow');
	});

	// toggle display method on team/index.html
	$("#toggle_display").click(function () {
		$("#sortbygroup").toggle();
		$("#sortbyname").toggle();
		$("#listbygroup").toggle();
		$("#listbyname").toggle();
	});

});


@@ -127,24 +127,29 @@
 #submenu
+_docs
 ').slide
 Down('sl
@@ -144,37 +144,17 @@
 lide
-Down
+Up
 ('slow'
-, function() %7B%0A%09%09%7D
 );%0A%09
@@ -161,37 +161,32 @@
 %09$('#submenu
-_docs
 ').slide
 Up('slow');%0A
@@ -169,33 +169,53 @@
 menu').slide
-Up
+Down
 ('slow'
+, function() %7B%0A%09%09%7D
 );%0A%09%7D);%0A%0A%09//
@@ -411,32 +411,65 @@
 er(function() %7B%0A
+%09%09$('#submenu').slideUp('slow');%0A
 %09%09$('#submenu_do
@@ -514,41 +514,8 @@
 %7D);%0A
-%09%09$('#submenu').slideUp('slow');%0A
 %09%7D);

drop down menu no longer piles up