﻿$(document).ready(function () {
    $('.menuitem').mouseenter(function () {
        $(this).find('ul').show();
    });

    $('.menuitem').mouseleave(function (e) {
        e.stopPropagation();
        $(this).find('ul').hide();
    });

    $('ul.submenu').parents('td').addClass('hassub');
});
