$(function(){
	$(".has-submenu").hover(function(){
		$(this).find("ul").show();
	},function(){
		$(this).find("ul").hide();
	});
});