function set_main_navi () {

    $('.level1').mouseover(function () {
        var sub_container_id=$(this).attr('id');
        $('.level2-container').hide(); //slideUp('fast');
        var this_container=$("#l2-"+sub_container_id);
        var main_item=$(this);
        var posX=main_item.position().left;
        var posY=main_item.position().top;
        var item_height=main_item.height();
        
        var con_posX=posX;
        var con_posY=posY+item_height;
        
        this_container.css('top',con_posY);
        this_container.css('left',posX);
        
        this_container.slideDown('fast');
        
    });
    
    $('.level2').mouseover(function () {
        var sub_container_id=$(this).attr('id');
        $('.level3-container').hide(); //('fast');
        var this_container=$("#l3-"+sub_container_id);
        if(this_container.children('a').length>0) {
            var main_item=$(this);
            
            var posX=main_item.position().left;
            var posY=main_item.position().top;
            var con_width=this_container.width();
            
            var con_posX=posX+con_width+5;
            var con_posY=posY-5;
            
            this_container.css('top',con_posY);
            this_container.css('left',con_posX);
            
            this_container.animate({
                width: ['toggle', 'swing']
                }, 100)
        }        
    });
    
    $('#header-right').mouseover(function () {
        $('.container').hide();
    })
  
    $('#header-img').mouseover(function () {
        $('.container').hide();
    })
  

}
