 
            var Picture = new Array(); 

			var tss;
			var iss;
			var jss = 0;
			var SlideShowSpeed = 1000;

			// Set the duration of crossfade (in seconds)
			var CrossFadeDuration = 1;

			var Caption = new Array(); // don't change this
			var showHot = false;       // don't change this			
			var pss;
	
			var preLoad = new Array();

		function InicializaFoto(PictureAux)
		{
			Picture = PictureAux;
            pss = Picture.length-1;	
			for (iss = 1; iss < pss+1; iss++)
			{
			 preLoad[iss] = new Image();
			 preLoad[iss].src = Picture[iss];
			}
			            		
		} // Fin de Pinta	

		function control(how)
		{
	
			if (showHot)
			{
				if (how=="H") jss = 1;
				if (how=="F") jss = jss + 1;
				if (how=="B") jss = jss - 1;
				if (jss > (pss)) jss=1;
				if (jss < 1) jss = pss;
			
								
				if (document.all)
				{ 
					document.images._ctl0_PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
					document.images._ctl0_PictureBox.filters.blendTrans.Apply();
				}
				document.images._ctl0_PictureBox.src = preLoad[jss].src;
				if (document.getElementById) document.getElementById("_ctl0_CaptionBox").innerHTML= "Foto " + jss + "/" + pss;
				if (document.all) document.images._ctl0_PictureBox.filters.blendTrans.Play();
										
				
		   }// Fin de showHot
		}// Fin de control


