    
    /* Table Hovering script */
    
    $(function() {
    
        // Start opacity of buttons in table
        $(".tablebtns").animate({ opacity: '0.3' },1);

        $("tr").hover(
        function(){
            $(this).find("td").toggleClass("trover");
            // Opacity when hovering in TR
            $(this).find(".tablebtns").animate({ opacity: '0.7' },0);
            
            $(".tablebtns").hover(
            function(){
                // Opacity when hovering on button
                $(this).animate({ opacity: '1' },1);
            },
            function() {
                $(this).animate({ opacity: '0.7' },100);
            });

        },
        function(){
            $(this).find("td").toggleClass("trover");
            $(this).find(".tablebtns").animate({ opacity: '0.3' },0);
        });
        
    });
