jQuery(document).ready(function () {
    // for each toggleNest
    jQuery('.rgaccord1-nest').each(function () {
        var thisSlider = jQuery(this).find('.rgaccord1-content');
        thisSlider.hide();
        jQuery(this).find('.rgaccord1-toggle').click(function () {
            thisSlider.toggle();

            // add the act class
            if (jQuery(this).hasClass('act')) {
                jQuery(this).removeClass('act');
            } else {
                jQuery(this).addClass('act');
            }
        });
    });
});

