/* Show sub-menu on hover */

$(document).ready(function() {
	$("#nav li").hover(function() {
		$(this).find(".submenu").show();
		$(this).addClass('nav-hover');
	},
	function () {
		$(this).find(".submenu").hide();
		$(this).removeClass('nav-hover');
	});
});
