<!-- SCRIPT PARA MOSTRAR IMAGENES ALEATORIAS -->
<!--<script type="text/javascript">-->
var imagenes=new Array() 

imagenes[0]=new Image (380,288); 
imagenes[0].src="img/portada1.jpg"
imagenes[1]=new Image (399,291); 
imagenes[1].src="img/portada2.jpg" 


cont=0 
function presImagen() 
{ 
if (document.all){ 
document.getElementById('foto').filters.blendTrans.apply() 
document.getElementById('foto').src=imagenes[cont].src 
document.getElementById('foto').filters.blendTrans.play() 
} 
else 
    { 
    document.images.foto.src = imagenes[cont].src 
    } 
if (cont < imagenes.length-1) 
{cont ++} 
else 
{cont=0} 
tiempo=window.setTimeout('presImagen()', 3500) 
//cada 3500 milisegundos (3,5 seg.) cambia la imagen. 
} 
<!--</script> --> 
