var album = {
  startup: function() {
    new PeriodicalExecuter(album.cycle, 4)
  },
  cycle: function() {
    new Effect.Fade('nav-flash-img', {
      duration: 1,
      fps: 100,
      afterFinish: function() {
        new Ajax.Updater('nav-flash-img','partners.php', {
          asynchronous: true,
          onSuccess: function() {
            new Effect.Appear('nav-flash-img', {
              duration: 1,
              fps: 100,
              queue:'end'
            })
          }
        })
      }
    })
  }
} 
 
Event.observe(window, 'load', album.startup, false);