var obj = null;

function checkHover() {
	if (obj) {
		obj.hide();
           obj = null;	
	} //if
} //checkHover

$(function() {
	$('#header_navi > ul > li').hover(function() {
           checkHover();
		$(this).find('ul').show();
	}, function() {
		obj = $(this).find('ul');
		checkHover();
	});
});