$(function(){
	// show sub-nav on hover
	$('#nav li')
		.mouseover(function(){
			$(this).addClass("hovered");
			$(this).find("ul").show();
		})
		.mouseout(function(){
			$(this).removeClass("hovered");
			$(this).find("ul").hide();
		})
});
