"use strict";var head,content,animateTime=500;$(".accordion > h3").click(function(){function n(n,t){var i=n.height(),r=n.css("height","auto").height();n.height(i);n.stop().animate({height:r},t)}head=$(this);content=$(this).next("div");$(".accordion > h3").each(function(){let n=$(this);n.attr("class")==="opened"&&(n.removeClass("opened"),n.next("div").stop().animate({height:"0"},animateTime),$(".accordion-image").css("display","block"))});head.addClass("opened");n(content,animateTime)})