// JavaScript Document
   var i,j;
   i=0; 
   function CambiarImagen (foto){
   		$('#img1').animate({opacity:0},2000, function(){
	        $('#img1').attr("src","imaxes/intro/" + foto + ".jpg");
			// Delay 2 second...
			$(this).delay(1000,function(){
				$('#img1').animate({opacity:1},2500);
			});
        });
   }	 
   function cambio(){
	   if(i==2)
	   	 i=0;
	   i++;
   	   CambiarImagen(i);			
   }
