// JavaScript Document
var obj = null;

function checkHover() {
	if (obj) {
		obj.find('ul').fadeOut('fast');
	} //if
} //checkHover

$(document).ready(function() {
	$('#Nav > li.sub').hover(function() {
		if (obj) {
			obj.find('ul').fadeOut('fast');
			obj = null;
		} //if
		$(this).find('ul').fadeIn('fast');
		$(this).addClass("selected");
		$(this).fadeIn('fast');
	}, function() {
		obj = $(this);
		obj.removeClass("selected");
		obj.find('ul').fadeOut('fast');
		//setTimeout("checkHover()",400);
	});
});

