var obj = null;
function checkHover() {
	if (obj) obj.find('ul').fadeOut('fast');
}


/** BEGIN jQuery actions **/
jQuery(function() {

	/** begin submenu **/
	jQuery('#header ul > li').hover(
		function() {
			if (obj) {
				obj.children('ul:first')
					.css('display', 'none');
				obj = null;
			}
			jQuery(this).children('ul:first')
				.fadeIn();
		},
		function() {
			obj = jQuery(this);
			setTimeout("checkHover()", 1000);
		}
	);
});



