Riderway.whenAppReady(function() {
  var quotes = $$(".left blockquote");
  
  var length = quotes.length,
      index = 0,
      nextIndex = 1;
      
  new PeriodicalExecuter(function() {
    new Effect.Parallel(
      [ new Effect.Appear(quotes[nextIndex], {sync: true}),
        new Effect.Fade(quotes[index], {sync: true})],
      {
        duration: 0.4
      }
    );

    index = nextIndex;
    nextIndex = (nextIndex === length - 1) ? 0 : nextIndex + 1;
  }, 10);
});
