
$(document).ready(function () {
        if ($.browser.msie && $.browser.version < 7) return;
        
        $('#menu ul')
            .find('a.root').removeClass("nojs")
            .append('<span class="hover" />').each(function () {
                    var $span = $('> span.hover', this).css('opacity', 0);
                    $(this).parent().hover(function () {
                        // on hover
                        $span.stop().fadeTo(500, 1);
                    }, function () {
                        // off hover
                        $span.stop().fadeTo(500, 0);
                    });
                });
                
    });
