<!--
function RandomNumber()
	{
	var today = new Date();
	var num= Math.abs(Math.sin(today.getTime()/1000));
	return num;
	}

function openEncuesta1()
{
MovieWindow = window.open('http://www.losglaciares.com/es/encuestas/encuesta1.php','encuesta1','resizable=no,scrollbars=no,location=no,directories=no,status=no,menubar=no,width=400,height=400,top=0,left=0');
}

function openEncuesta2()
{
MovieWindow = window.open('http://www.losglaciares.com/es/encuestas/encuesta2.php','encuesta1','resizable=no,scrollbars=no,location=no,directories=no,status=no,menubar=no,width=400,height=400,top=0,left=0');
}

function RandomGraphics() 
	{
	var x = RandomNumber();
	if (x > 0.8)
		{
		document.write("<a href='javascript:openEncuesta2()'><img src='http://www.losglaciares.com/es/img/nav/encuesta2.gif' alt='Encuesta 2' width=110 height=60 border=0></a>"); return;
		}
	if (x > 0.5)
		{
		document.write("<a href='javascript:openEncuesta1()'><img src='http://www.losglaciares.com/es/img/nav/encuesta1.gif' alt='Encuesta 1' width=110 height=60 border=0></a>"); return;
		}
	if (x > 0.25)
		{
		document.write("<A HREF='http://www.losglaciares.com/es/mapas.html' target=_self><img src='http://www.losglaciares.com/es/img/promos/mapas.gif' alt='Mapas y referencias' width=110 height=60 align=center border=0></a>"); return;
		}
	if (x > 0)
		{
		document.write("<A HREF='http://www.losglaciares.com/es/galeria.html' target=_self><img src='http://www.losglaciares.com/es/img/promos/galerias.gif' alt='Galerķas de fotos' width=110 height=60 align=center border=0></a>"); return;
		}
	}
RandomGraphics();
//End Script -->