/*$(document).ready(function(){
  rotatePics(1);
});

function rotatePics(currentPhoto) {
  var numberOfPhotos = $('#flashContent img').length;
  currentPhoto = currentPhoto % numberOfPhotos;
	
  $('#flashContent img').eq(currentPhoto).fadeOut((2000), function() {
		// re-order the z-index
    $('#flashContent img').each(function(i) {
      $(this).css(
        'zIndex', ((numberOfPhotos - i) + currentPhoto) % numberOfPhotos
      );
    }
	);
    $(this).show();
    setTimeout(function() {rotatePics(++currentPhoto);}, 6000);
  });
}
*/

$(document).ready(function() {
    $('#flashContent').cycle({
		fx: 'fade',
		random: 1,
	});
});
