var tout;
$(document).ready(function() {
	$.each($(".ddnav"), function() {
		var i = $(this);
		$(this).bind("mouseenter", function(e) {
			$(".dropdown").hide();
			clearTimeout(tout);
			$(i).children(".dropdown").fadeIn(200);
		}),
		$(this).bind("mouseleave", function(e) {
			//$(i).children(".dropdown").hide();
			tout = setTimeout(function(){
				$(i).children(".dropdown").hide();
			}, 500);
		})
	});
});