/*
 * (c) 2008 2km interativa!
 * This script is freely distributable under the terms of an MIT-style license.
 * For details, see web site: http://www.2km.com.br/
 *
 */
AC_FL_RunContent = 0;
jQuery(function(){
    jQuery('.toggle-menu').click(function(){
        var selecionado = jQuery(this);
        jQuery(this).parent().parent().children('li').each(function(){
            jQuery(this).find('a').not(selecionado).next().slideUp(function(){
                jQuery(this).parent().removeClass('ativo');
            })
        });
        if (!jQuery(selecionado).parent().is('.ativo')){
          jQuery(selecionado).parent().addClass('ativo');
          jQuery(this).next().slideDown();
        } else {
          jQuery(this).next().slideUp(function(){
              jQuery(selecionado).parent().removeClass('ativo');
          });
        }
        return false;
    });
    // Scrollpane
    //jQuery('#text').jScrollPane({scrollbarWidth:10, scrollbarMargin:10});
})
