jQuery(window).load(function(){function a(a,b,c,d){var e=jQuery(this).height();jQuery(this).parent().children().removeClass("active-testimonial"),jQuery(this).addClass("active-testimonial"),jQuery(this).parent().animate({height:e},500)}var b;jQuery().cycle&&(b={fx:"fade",before:a,containerResize:0,containerResizeHeight:1,height:"auto",width:"100%",fit:1,speed:500,delay:0},fusionTestimonialVars.testimonials_speed&&(b.timeout=parseInt(fusionTestimonialVars.testimonials_speed,10)),b.pager=".testimonial-pagination",jQuery(".fusion-testimonials .reviews").each(function(){1===jQuery(this).children().length&&jQuery(this).children().fadeIn(),b.pager="#"+jQuery(this).parent().find(".testimonial-pagination").attr("id"),b.random=jQuery(this).parent().data("random"),jQuery(this).cycle(b)}),jQuery(window).resize(function(){jQuery(".fusion-testimonials .reviews").each(function(){jQuery(this).css("height",jQuery(this).children(".active-testimonial").height())})}))});