	$(".nav li a").each(function() {
		if ($(this).next().length) {
			$(this).addClass("parent");
		};
	});

@@ -1,25 +1,217 @@
-%09$(%22.nav li a%22).each(
+$(document).ready(function() %7B%09%0A    $(%22.nav ul%22).parent('li').addClass('clearfix parent');%0A    $('%3Cspan class=%22more%22%3E+++%3C/span%3E').insertAfter($('.parent %3E a'));%0A    $(%22nav li .more%22).unbind('click').bind('click', 
 func
@@ -225,20 +225,16 @@
 %7B%0A%09%09
-if (
 $(this).
 next
@@ -233,62 +233,110 @@
 is).
-next().length) %7B%0A%09%09%09$(this).add
+parent(%22li%22).toggleClass(%22hover%22);%0A        $(this).parent(%22li%22).siblings().remove
 Class(%22
-parent
+hover
 %22);%0A
-%09
 %09%7D
+)
 ;%0A
-%09
 %7D);%0A

Update naavi.js