$(document).ready(function(){
	$('#navbar>ul>li>a[href="#"]').toggle(
		function(){
			$($(this).parent()).children('ul ul').show();
		},
		function(){
			$($(this).parent()).children('ul ul').hide();
		}		
	);
})

