/* The following function implements a simple menu structure. */
(function($) {
    $(document).ready(function() {
        $(".submenu .submenu-children").hide()
        $(".submenu .submenu-label.no-link").click( function() {
            $(this).parent().children(".submenu-children").each(function () {
                $(this).toggle()
            });
        });
        $(".submenu.is-link").hover(
            function () {
                $(this).children(".submenu-children").each(function () {
                    $(this).toggle()
                });
            });

    });
})(jQuery);
