
(function($) {
  $.fn.menuDD = function() {
    return this.each(function() {
			
            this.items = $(this).children("li");
			this.items.children("ul").css("display", "none");
			$(this.items).bind("mouseover", { oSelf: this }, showSubmenu);
            $(this.items).bind("mouseleave", { oSelf: this }, hideSubmenu);
            
    });

    function showSubmenu(e) {
		$(this).children("ul").css('display', 'block');
    }

    function hideSubmenu(e) {
		$(this).children("ul").css('display', 'none');
    }
  }
})(jQuery);





jQuery(document).ready(function()
{
    $('.menuDD').menuDD();
});