jQuery(document).ready(function() {
    jQuery(".accordion_content").hide();
    jQuery(".accordion_toggle").click(function() {
        jQuery(this).next().toggle();
    });
    jQuery(".ngg-gallery-thumbnail").css("text-align", "center");
    jQuery(".ngg-gallery-thumbnail").each(function() {
        imgHeight = jQuery("img", this).height();
        jQuery("img", this).css("margin-top", (145-imgHeight)/2);
        imgWidth = jQuery("img", this).width();
        jQuery("img", this).css("margin-left", (145-imgWidth)/2);
    });

//    jQuery("#conteudo").height(jQuery("#textointernas").height());
});
