function popupLargeWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=450,height=300,screenX=0,screenY=0,top=50,left=50')
}
//-->
<!--
function popupLargeWindow2(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=840,height=620,screenX=0,screenY=0,top=50,left=50')
}

// Use the following variable to specify 
// the number of images
var NumberOfImages = 5

var img = new Array(NumberOfImages)

// Use the following variables to specify the image names:
img[0] = "portada_1.jpg"
img[1] = "portada_2.jpg"
img[2] = "portada_3.jpg"
img[3] = "portada_4.jpg"
img[4] = "portada_5.jpg"

var imgNumber = 0

function NextImage()
{
    imgNumber++
    if (imgNumber == NumberOfImages)
        imgNumber = 0
    document.images["VCRImage"].src = img[imgNumber]
}

function PreviousImage()
{
    imgNumber--
    if (imgNumber < 0)
        imgNumber = NumberOfImages - 1
    document.images["VCRImage"].src = img[imgNumber]
}

// written by Elvin B. Gibson, Jr. (c) 2004//



//Array for your pictures//

// put the # of pictures in ()//

images=new Array(3)



//Array images//



images[0]=new Image;
images[0].src="rec/portada_1.jpg";
images[1]=new Image;
images[1].src="rec/portada_2.jpg";
images[2]=new Image;
images[2].src="rec/portada_3.jpg";
//images[3]=new Image;
//images[3].src="rec/portada_4.jpg";
//images[4]=new Image;
//images[4].src="rec/portada_5.jpg";


//set to zero so the function has starting point//

index = 0;



function cycling()

{

document.getElementById("banner").src = images[index].src;

index++;



//Literal number of images//

if (index==3)

{

//restarts//

index=0;

}



//Time for each picture to run milliseconds//

setTimeout("cycling()",5000);

return;

}


