// Put jQuery in compatibility mode (so it will work together with other js libraries)
var $j = jQuery.noConflict();

$j(document).ready(function() {

    // Round the top nav dropdown menu corners
    $j('.top_nav_menu').corner("round 8px").parent().corner("round 10px");

    // Set the top nav button to be highlighted/active when the user hovers over its dropdown menu
    $j('#menu_guide').mouseenter(function(){
        $j('#top_nav a.guide').addClass('active');
    });
    $j('#menu_guide').mouseleave(function(){
        $j('#top_nav a.guide').removeClass('active');
    });

    $j('#menu_komatta').mouseenter(function(){
        $j('#top_nav a.komatta').addClass('active');
    });
    $j('#menu_komatta').mouseleave(function(){
        $j('#top_nav a.komatta').removeClass('active');
    });

});
