function trocaMeio(link) {
    urlTroca(link);
    var olink = link;

    $.ajax({

        type :"POST",
        url :olink,
        data :"",
        async :false,
        success : function(html) {
            sHtml = html;
        },
        beforeSend:function(){
            $("#carregando").show();
            $("#meio").hide();
        },
        complete:function(){
            setTimeout(function(){
                $("#carregando").hide();
                $("#meio").fadeIn("slow");
            },1000)
        }

    });

    $("#meio").html(sHtml);

}

function faq(id){
    $("#r"+id).slideToggle("slow");
}

function urlTroca(link){

    var valor = link.split("secoes/");
    if(valor[1] != null){
        var item = valor[1].replace(".jsp","&").replace("?","");
        window.location.hash = "?secao="+item;
    }
}



