slide('2').is(':hidden');

function slide(id){
	var slide = $('#n-'+id);
	var botao = $('#b-'+id);

	if(slide.is(':hidden')){
		slide.animate({height: 'toggle', opacity: 'toggle'},"slow");
		botao.removeClass('arrow-down');
		botao.addClass('arrow-up');
	}
	else{
		slide.animate({height: 'toggle', opacity: 'toggle'},"slow");
		botao.removeClass('arrow-up');
		botao.addClass('arrow-down');
	}
}

function slide2(id){
	var slide = $('#n-'+id);
	var botao = $('#b-'+id);

	if(slide.is(':hidden')){
		slide.slideToggle("fast");
		botao.removeClass('arrow-down-2');
		botao.addClass('arrow-up-2');
	}
	else{
		slide.slideToggle("slow");
		botao.removeClass('arrow-up-2');
		botao.addClass('arrow-down-2');
	}
}
// select all desired input fields and attach tooltips to them 
$("#account :input").tooltip({ 
 
    // place tooltip on the right edge 
    position: "center right", 
 
    // a little tweaking of the position 
    offset: [-2, 10], 
 
    // use the built-in fadeIn/fadeOut effect 
    effect: "fade", 
 
    // custom opacity setting 
    opacity: 0.7, 
 
    // use this single tooltip element 
    tip: '.tooltip' 
 
});

animatedcollapse.addDiv('asgard', 'fade=1,speed=500,group=servidores,hide=0')
animatedcollapse.addDiv('midgard', 'fade=1,speed=500,group=servidores,hide=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
}
 
animatedcollapse.init()