function high(which2)
{
	theobject=which2;
	highlighting=setInterval("highlightit(theobject)",50);
}

function low(which2)
{
	clearInterval(highlighting);
	which2.filters.alpha.opacity=50;
}

function highlightit(cur2)
{
	if(cur2.filters.alpha.opacity<100)
		cur2.filters.alpha.opacity+=20
	else if(window.highlighting)
		clearInterval(highlighting)
}

function makeArray()
{
     for (i = 0; i<makeArray.arguments.length; i++)
          this[i + 1] = makeArray.arguments[i];
}

function Fecha()
{
	var months = new makeArray('Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre', 'Octubre','Noviembre','Diciembre');

	var semana = new makeArray('Domingo','Lunes','Martes','Miércoles', 'Jueves','Viernes','Sábado');

	var date = new Date();
	var wd = date.getDay(); //dia de la semana
	var day  = date.getDate();//dia del mes
	var month = date.getMonth() + 1;
	var yy = date.getYear();
	var year = (yy < 1000) ? yy + 1900 : yy;
	//document.write("<font face='Verdana' color='#808080' size='1'>" + semana[wd+1] + ", " + day + " de " + months[month] + " de " + year + "</font>");
	document.write("<font face='Verdana' color='#808080' size='1'>" + day + " de " + months[month] + " de " + year + "</font>");
}

function Anyo()
{
	var date = new Date();
	var yy = date.getYear();
	var year = (yy < 1000) ? yy + 1900 : yy;

	document.write(year);
}

