slidebar = {	
	nav: function() {
		var timeout = null;

		$('#nav li a').mouseover(function() {
			$link = $(this);
			var ul = next = $link.next();

			if (ul.length > 0) {
				ul.slideDown();
			}
		});
		
		$('#nav').hover(function() {
			clearTimeout(timeout);
			timeout = null;
		}, function() {
			timeout = setTimeout(function() {
				$('#nav ul ul').slideUp();
				clearTimeout(timeout);
				timeout = null;
			}, 2600);
		});

		$('#nav_svc li a').mouseover(function() {
			$link = $(this);
			var ul = next = $link.next();

			if (ul.length > 0) {
				ul.slideDown();
			}
		});
		
		$('#nav_svc').hover(function() {
			clearTimeout(timeout);
			timeout = null;
		}, function() {
			timeout = setTimeout(function() {
				$('#nav_svc ul ul').slideUp();
				clearTimeout(timeout);
				timeout = null;
			}, 2600);
		});

		$('#nav_pkg li a').show(function() {
			$link = $(this);
			var ul = next = $link.next();

			if (ul.length > 0) {
				ul.show();
			}
		});
	}
}