$(function() {
  animate($('.photo.fadein'));
});

function animate(myArray, start_index) {
  if(!start_index) start_index = 0;

  next_index = start_index+1;
  if(next_index > myArray.length) { return; }

  box = myArray[start_index]; 
  $(box).fadeIn(1000, function() { animate(myArray,next_index); });
}

