    jQuery(document).ready(function(){
 
    jQuery("#pagenav li").hover(
 
                     function(){
               jQuery(this).find('ul').show();
        },
 
        function(){
        jQuery(this).find('ul').hide();
           }
    );
});