jQuery(document).ready(function(){
       jQuery(".sub").hide();
       jQuery(".sub").parent().addClass("hasSub");
       jQuery(".hasSub").hover(function(){
    	   jQuery(this).children(".sub").show();
       },function(){
    	   jQuery(this).children(".sub").hide();
       })
       
});

