$(function() {
	//$('.treeMenu li div:eq(0)').slideToggle();
	
	
	$('.treeMenu li a.cat').click( function() {
		// Get the content that needs to be shown
		var cur = $("div", $(this).parent() );
		
		// Get the content that needs to be hidden
		var old = $('.treeMenu li div:visible');
		
		// Make sure the content that needs to be shown 
		// isn't already visible
		if ( cur.is(':visible') )
			return false;
		
		// Hide the old content
		old.slideToggle(500);
		
		// Show the new content
		cur.stop().slideToggle(500);
		return false;
		
	
	} );
});
