$(document).ready(
function($)
{

    $("#start").hover( 
		    function(){
                        $("#boks_start_hover").fadeIn(300);
                    },
                    function(){
                       $("#boks_start_hover").fadeOut(300);
                    }
    );
    $("#treningi").hover( 
		    function(){
                        $("#boks_treningi_hover").fadeIn(300);
                    },
                    function(){
                       $("#boks_treningi_hover").fadeOut(300);
                    }
    );
    $("#forum").hover( 
		    function(){
                        $("#boks_forum_hover").fadeIn(300);
                    },
                    function(){
                       $("#boks_forum_hover").fadeOut(300);
                    }
    );
    $("#informacje").hover( 
		    function(){
                        $("#boks_informacje_hover").fadeIn(300);
                    },
                    function(){
                       $("#boks_informacje_hover").fadeOut(300);
                    }
    );
    $("#partner").hover( 
		    function(){
                        $("#boks_partner_hover").fadeIn(300);
                    },
                    function(){
                       $("#boks_partner_hover").fadeOut(300);
                    }
    );
    $("img#fb").hover( 
		    function(){
                        $(this).attr("src","img/fb_hover.png");
                    },
                    function(){
                       $(this).attr("src","img/fb.png");
                    }
    );
    $("img#yt").hover( 
		    function(){
                        $(this).attr("src","img/yt_hover.png");
                    },
                    function(){
                       $(this).attr("src","img/yt.png");
                    }
    );
    $(".submenu_link").hover(
		    function(){
			$(this).css("background","url('img/link_hover.png')");
		    },
		    function(){
			$(this).css("background","url('img/link.png')");
		    }
    );
});



