jQuery(document).ready(function(){  
  
    jQuery("li.page-item-8").mouseover(function(){  
        var theHeight= 22 + jQuery(this).find('li').length * 24;
		if(theHeight > 0) jQuery(this).stop().animate({height:theHeight+'px'},{queue:false, duration:500})
    });
  
    jQuery("li.page-item-8").mouseout(function(){  
        jQuery(this).stop().animate({height:'22px'},{queue:false, duration:200})  
    });
    
    jQuery("li.page-item-9").mouseover(function(){  
        var theHeight= 22 + jQuery(this).find('li').length * 24;
		if(theHeight > 0) jQuery(this).stop().animate({height:theHeight+'px'},{queue:false, duration:500})
    });
  
    jQuery("li.page-item-9").mouseout(function(){  
        jQuery(this).stop().animate({height:'22px'},{queue:false, duration:200})  
    });
    
    jQuery("li.page-item-13").mouseover(function(){  
        var theHeight= 22 + jQuery(this).find('li').length * 24;
    	if(theHeight > 0) jQuery(this).stop().animate({height:theHeight+'px'},{queue:false, duration:500})
    });
  
    jQuery("li.page-item-13").mouseout(function(){  
        jQuery(this).stop().animate({height:'22px'},{queue:false, duration:200})  
    });
    
    jQuery("li.page-item-124").mouseover(function(){  
        var theHeight= 22 + jQuery(this).find('li').length * 24;
    	if(theHeight > 0) jQuery(this).stop().animate({height:theHeight+'px'},{queue:false, duration:500})
    });
  
    jQuery("li.page-item-124").mouseout(function(){
    	jQuery(this).stop().animate({height:'22px'},{queue:false, duration:200})  
    });
    
    jQuery("li.page-item-135").mouseover(function(){  
    	var theHeight= 22 + jQuery(this).find('li').length * 24;
    	if(theHeight > 0) jQuery(this).stop().animate({height:theHeight+'px'},{queue:false, duration:500})
    });
  
    jQuery("li.page-item-135").mouseout(function(){  
        jQuery(this).stop().animate({height:'22px'},{queue:false, duration:200})  
    });
  
}); 
