var $J = jQuery.noConflict();

$J(document).ready(function() {
	$J(".cat-item").find("ul").slideUp(0);
	$J(".cat-item").css('margin-bottom', '5px');
	/*$(".cat-item").hover(
		function() {
			$(this).find("ul").each(function() {
				$(this).slideDown();
			});
		},
		function() {
			$(this).find("ul").each(function() {
				$(this).slideUp();
			});
		});*/
	$J(".cat-item").mouseenter(function() {
		$J(this).find("ul").each(function() { $J(this).slideDown(); });	
	});

	$J(".cat-item").parent().mouseleave(function() {
		$J(this).find("ul").each(function() { $J(this).slideUp(); });
	});

	$J(".collapse").click(function() {
		$J(this).parent().slideUp();
		return false;
	});
});
