function CreateTabs(Objeto) {
    $("." + Objeto + "_content").hide();
    $("ul." + Objeto + "s li:first").addClass("active").show();
    $("." + Objeto + "_content:first").show();
    $("ul." + Objeto + "s li").click(function() {
        $("ul." + Objeto + "s li").removeClass("active");
        $(this).addClass("active");
        $("." + Objeto + "_content").hide();
        var activeTab = $(this).find("a").attr("href");
        $(activeTab).fadeIn();
        return false;
    });
}

function OpenShadowbox(_Title, _Page, _Width, _Height) {
    Shadowbox.open({
        title: _Title,
        player: 'iframe',
        content: _Page,
        height: _Height,
        width: _Width
    });
}
