// image fader
// NEED DEBUG mon biquet

$(document).ready(
  
  /* function()
  {
  	$('#splash-hold img').each(function(){
      $(this).css("position", "absolute");
      $(this).fadeOut(10);
    });
    swapTopImage()
	} */
	function()
  {
    $("#image-fader").carrousel(1000,2000);
  }

);

/*
TOP_SHOWN = 1;
function swapTopImage()
{
  var prev = TOP_SHOWN-1;
  if(TOP_SHOWN==1)  prev = 2;

  
  $('img#splash-0'+prev).fadeOut(1000);
  $('img#splash-0'+TOP_SHOWN).fadeIn(1000);
  if(TOP_SHOWN==1)
    TOP_SHOWN++
  else
    TOP_SHOWN=1;

  setTimeout("swapTopImage()", 5000);
}
*/

