$(document).ready(function(){
 $("li:has(ul)").hover(function()
  {
   $(this).children("ul").css("display", "none");
   $(this).children("ul").fadeIn("slow");
  },
  function()
  {
   $(this).children("ul").fadeOut("fast");
  });
});            