var obj = null;

function checkHover() {
	if (obj) {
		obj.find('ul').fadeOut('normal');	
	} //if
} //checkHover



$(document).ready(function() {
		
	$('#top_nav > li:not(.active)').hover(function() {
		if (obj) {
			obj.find('ul').hide();
			obj = null;
		} //if

		$(this).find('ul').show();
	}, function() {
		obj = $(this);
		setTimeout(
			"checkHover()",
			1000);
	});
});



