﻿jQuery(function($) {
	// Global menu
	$('ul#navi li').hover(function() {
		$(this).addClass('hover');
	}, function() {
		$(this).removeClass('hover');
	});
	
	var eachTimeout = [],
		target = $('#navi ul');
	
	target.each(function(i) {
		var $this = $(this);
		$this.parent().hover(function() {
			target.hide();
			$this.show();
		}, function() {
			$this.hide();
		});
	});
});
