var obj = null;
function checkHover() {
	if (obj) {
		obj.find('ul').fadeOut(1);
	} //if
} //checkHover
$(document).ready(function() {
	$('#primary-nav > li').hover(function() {
		if (obj) {
			obj.find('ul').fadeOut(1);
			obj = null;
		} //if
		$(this).find('ul').fadeIn(1);
	}, function() {
		obj = $(this);
		setTimeout(
			"checkHover()",
			400);
	});
});