//js for accordian using button image
$(document).ready(function() {
    
    $(".open").show();
    
    $(".toggle_container").hide();

    $(".trigger").toggle(function() {
        $(this).addClass("active");
    }, function() {
        $(this).removeClass("active");
    });

    $(".trigger").click(function() {
        $(this).next(".toggle_container").slideToggle("slow,");
    });
    
     $(".trigger").click(function() {
        $(this).next(".open").slideToggle("slow,");
    });

});

//js for accordian using bar image
$(document).ready(function() {
    
    $(".open").show();
    
    $(".toggle_container_bar").hide();

    $(".trigger_bar").toggle(function() {
        $(this).addClass("active_bar");
    }, function() {
        $(this).removeClass("active_bar");
    });

    $(".trigger_bar").click(function() {
        $(this).next(".toggle_container_bar").slideToggle("slow,");
    });
    
     $(".trigger_bar").click(function() {
        $(this).next(".open").slideToggle("slow,");
    });

});
