<!---
function choices()
{
this[0] = 30;
this[1] =  "<img src=\"fotografias/1.png \" width=390 height=250 border=0>";
this[2] =  "<img src=\"fotografias/2.png \" width=390 height=250 border=0>";
this[3] =  "<img src=\"fotografias/3.png \" width=390 height=250 border=0>";
this[4] =  "<img src=\"fotografias/4.png \" width=390 height=250 border=0>";
this[5] =  "<img src=\"fotografias/5.png \" width=390 height=250 border=0>";
this[6] =  "<img src=\"fotografias/6.png \" width=390 height=250 border=0>";
this[7] =  "<img src=\"fotografias/7.png \" width=390 height=250 border=0>";
this[8] =  "<img src=\"fotografias/8.png \" width=390 height=250 border=0>";
this[9] =  "<img src=\"fotografias/9.png \" width=390 height=250 border=0>";
this[10] =  "<img src=\"fotografias/10.png \" width=390 height=250 border=0>";
this[11] =  "<img src=\"fotografias/11.png \" width=390 height=250 border=0>";
this[12] =  "<img src=\"fotografias/12.png \" width=390 height=250 border=0>";
this[13] =  "<img src=\"fotografias/13.png \" width=390 height=250 border=0>";
this[14] =  "<img src=\"fotografias/14.png \" width=390 height=250 border=0>";
this[15] =  "<img src=\"fotografias/Jardines.jpg \" width=390 height=250 border=0>";
this[16] =  "<img src=\"fotografias/15.jpg \" width=390 height=250 border=0>";
this[17] =  "<img src=\"fotografias/16.jpg \" width=390 height=250 border=0>";
this[18] =  "<img src=\"fotografias/17.jpg \" width=390 height=250 border=0>";
this[19] =  "<img src=\"fotografias/18.jpg \" width=390 height=250 border=0>";
this[20] =  "<img src=\"fotografias/19.jpg \" width=390 height=250 border=0>";
this[21] =  "<img src=\"fotografias/20.jpg \" width=390 height=250 border=0>";
this[22] =  "<img src=\"fotografias/21.jpg \" width=390 height=250 border=0>";
this[23] =  "<img src=\"fotografias/22.jpg \" width=390 height=250 border=0>";
this[24] =  "<img src=\"fotografias/23.jpg \" width=390 height=250 border=0>";
this[25] =  "<img src=\"fotografias/24.jpg \" width=390 height=250 border=0>";
this[26] =  "<img src=\"fotografias/25.jpg \" width=390 height=250 border=0>";
this[27] =  "<img src=\"fotografias/26.jpg \" width=390 height=250 border=0>";
this[28] =  "<img src=\"fotografias/27.jpg \" width=390 height=250 border=0>";
this[29] =  "<img src=\"fotografias/28.jpg \" width=390 height=250 border=0>";
this[30] =  "<img src=\"fotografias/29.jpg \" width=390 height=250 border=0>";
}

function popUpBanner(list)    
{	
	var today = new Date();
	var choiceInstance = new choices();
	//var valor= (today.getSeconds() % choiceInstance[0]) + 1;
	var valor = Math.round((choiceInstance[0])*Math.random())
	if (valor == 0)
	{
	   valor = 1
	}
	var Banner = choiceInstance[valor];
	document.writeln(valor);
}
function grabBanner()
{
	var today = new Date();
	var choiceInstance = new choices();
	// var Banner = choiceInstance[(today.getSeconds() % choiceInstance[0]) + 1];

	var valor = Math.round((choiceInstance[0])*Math.random())
	if (valor == 0)
	{
	   valor = 1
	}
	var Banner = choiceInstance[valor];
	return Banner;
}
document.writeln(grabBanner());



//  FINE   --->
