// JavaScript Document
jQuery().ready(function(){  
// first simple accordion with special markup
		jQuery('#efeito').accordion({
			header: 'div.title',
			// active: false,
			alwaysOpen: false,
			// animated: false,
			autoheight: false
		});
  
var accordions = jQuery('#efeito');
		
		jQuery('#switch select').change(function() {
			accordions.accordion("activate", this.selectedIndex-1 );
		});
		jQuery('#close').click(function() {
			accordions.accordion("activate", -1);
		});
		jQuery('#switch2').change(function() {
			accordions.accordion("activate", this.value);
		});
		jQuery('#enable').click(function() {
			accordions.accordion("enable");
		});
		jQuery('#disable').click(function() {
			accordions.accordion("disable");
		});
		jQuery('#remove').click(function() {
			accordions.accordion("destroy");
			wizardButtons.unbind("click");
		});
});

