// Toggle nos menus

jQuery(document).ready(function() {
	// trigger the function when clicking on an assigned element
	jQuery(".abre-fecha").click(function () {
		// check the visibility of the next element in the DOM
		if (jQuery(this).next().is(":hidden")) {
			jQuery(this).next().slideDown("fast");
			jQuery(this).children('span').html('-');			
			return false; // slide it down
		} else {
			jQuery(this).next().slideUp("fast");
			jQuery(this).children('span').html('+');			
			return false;
		}
	});
});

/*
  // Com toggle (sem trocar os + e -)
    jQuery(document).ready(function() {
      jQuery('div.servicos> div').hide();  
      jQuery('div.servicos> h3').click(function() {
        var $nextDiv = jQuery(this).next();
        var $visibleSiblings = $nextDiv.siblings('div:visible');
     
        if ($visibleSiblings.length ) {
          $visibleSiblings.slideUp('fast', function() {
            $nextDiv.slideToggle('fast');
          });
        } else {
           $nextDiv.slideToggle('fast');
        }
      });
    });
*/

