/* Author: Dom Ioanna */

// Resolve conflict issues w/ other libraries
jQuery.noConflict();

// Window load effects
// jQuery(window).load(function() {});

// When document loaded, effects
// jQuery(document).ready(function() {});


jQuery(document).ready(function() {
//Set default open/close settings
jQuery('.acc_container').hide(); //Hide/close all containers
//On Click
jQuery('.acc_trigger').click(function(){
if( jQuery(this).next().is(':hidden') ) { //If immediate next container is closed...
jQuery('.acc_trigger').removeClass('active').next().slideUp(); //Remove all "active" state and slide up the immediate next container
jQuery(this).toggleClass('active').next().slideDown(); //Add "active" state to clicked trigger and slide down the immediate next container
}
else {
jQuery(this).next().slideUp()
}
return false; //Prevent the browser jump to the link anchor
});
});
