/**
 * @author pedromoraes@gmail.com
 */
$(document).ready(function(){
	$("#right_menu").accordion({ autoHeight: false, collapsible : true, active: false});
	$('#right_menu').bind('accordionchange', function(event, ui) {
		ui.newHeader.animate({ backgroundColor: "#000000" });
		ui.newHeader.find("a").animate({color:"#f9a451"});
		ui.oldHeader.animate({backgroundColor:"#232323"});
		ui.oldHeader.find("a").animate({color:"#ffffff"});
	});
});
