
//window.open('asamblea.html', '', 'width=700,height=250,left=200,top=400,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No', '');

var timeDelay = 5; 
var Pix = new Array
("Cabecera_1.gif"
,"Cabecera home 2.jpg" 
);
var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}

var imagenes=new Array() 

imagenes[0]=new Image (380,288); 
imagenes[0].src="cabecera_home.jpg" 
imagenes[1]=new Image (399,291); 
imagenes[1].src="cabecera_home2.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()',3000) 
 //cada 5000 milisegundos (5 seg.) cambia la imagen. 
//cambia la cantidad por el tiempo que quieras que transcurra entre imagen e imagen 
}










