$(document).ready(function(){
    /* Tabs Multimedia */
    $(".tab_content").hide();
    $("ul.tabs li:first").addClass("active").show();
    $(".tab_content:first").show();

    $("ul.tabs li").click(function()
    {
        $("ul.tabs li").removeClass("active");
        $(this).addClass("active");
        $(".tab_content").hide();

        var activeTab = $(this).find("a").attr("href");
        $(activeTab).fadeIn();
        return false;
    });

    /* Tabs Facebook y Twitter */
    $(".tabContentRedes").hide();
    $("ul.tabsRedes li:first").addClass("active").show();
    $(".tabContentRedes:first").show();

    $("ul.tabsRedes li").click(function()
    {
        $("ul.tabsRedes li").removeClass("active");
        $(this).addClass("active");
        $(".tabContentRedes").hide();

        var activeTab2 = $(this).find("a").attr("href");
        $(activeTab2).fadeIn();
        return false;
    });
});
