    function CambiaProp(objeto,propiedad,valor){
	var cadena = "";
	cadena=objeto+'.style.'+propiedad+'='+valor;
	eval(cadena);
	return true;
	}
	
	function SinMouse_texto(objeto){
	CambiaProp(objeto,"color",'"#FFFFFF"');
	return true;
	}
	
	function ConMouse_texto(objeto){
	CambiaProp(objeto,"color",'"#000000"');
	return true;
	}
	
	function SinMouse_celda(objeto){
	CambiaProp(objeto,"background",'"url(imagenes/celdas.gif)"');
	return true;
	}
	
	function ConMouse_celda(objeto){
	CambiaProp(objeto,"background",'"url(imagenes/cmouse.gif)"');
	return true;
	}
	
	function SinMouse_celda2(objeto){
	CambiaProp(objeto,"background",'"url(../imagenes/celdas.gif)"');
	return true;
	}
	
	function ConMouse_celda2(objeto){
	CambiaProp(objeto,"background",'"url(../imagenes/cmouse.gif)"');
	return true;
	}
	
	function SinMouse_celda3(objeto){
	CambiaProp(objeto,"background",'"url(../../imagenes/celdas.gif)"');
	return true;
	}
	
	function ConMouse_celda3(objeto){
	CambiaProp(objeto,"background",'"url(../../imagenes/cmouse.gif)"');
	return true;
	}
	
	function winwm()
	{
	popupWin = window.open('img/zoom.gif', 'wm', 'status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=670,height=500')
	}
	
	function winbanner(banner,win,px,py)
	{
	str = "status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no,width="+px+",height="+py
	popupWin = window.open(banner, win, str)
	}
		
	function GetFecha()
	{
			today = new Date();
			day = today.getDay();
			date = today.getDate();
			month = today.getMonth();
			year = today.getYear();

			if (day == 0) dayName = "Domingo"
			else if (day == 1) dayName = "Lunes"
			else if (day == 2) dayName = "Martes"
			else if (day == 3) dayName = "Miércoles"
			else if (day == 4) dayName = "Jueves"
			else if (day == 5) dayName = "Viernes"
			else dayName = "Sábado"
			
			if (month == 0) monthName = "de Enero"
			else if (month == 1) monthName = "de Febrero"
			else if (month == 2) monthName = "de Marzo"
			else if (month == 3) monthName = "de Abril"
			else if (month == 4) monthName = "de Mayo"
			else if (month == 5) monthName = "de Junio"
			else if (month == 6) monthName = "de Julio"
			else if (month == 7) monthName = "de Agosto"
			else if (month == 8) monthName = "de Septiembre"
			else if (month == 9) monthName = "de Octubre"
			else if (month == 10) monthName = "de Noviembre"
			else monthName = "de Diciembre"
			
			return("SJL, " + dayName + " " + date + " " + monthName + " del " + year);
	}
	
	function go_opcion(form) {
	var myindex=form.openlaces.selectedIndex
	location=form.openlaces.options[myindex].value;
	}
	
	function OcultarSubMenus()
	{
	   sm1.style.visibility = "hidden";
	   sm2.style.visibility = "hidden";
	   sm3.style.visibility = "hidden";
	   sm4.style.visibility = "hidden";
	   stop_time();
	}
	var timer = false;
	function stop_time()
	{
		if(timer)      
			clearInterval(timerID);
		timer = false;
	}
	
	function MostrarSubMenu(objeto,num)
	{
			var myWidth = 0, myHeight = 0;
			  if( typeof( window.innerWidth ) == 'number' ) {
				//Non-IE
				myWidth = window.innerWidth;
				myHeight = window.innerHeight;
			  } else {
				if( document.documentElement &&	( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
				  //IE 6+ in 'standards compliant mode'
				  myWidth = document.documentElement.clientWidth;
				  myHeight = document.documentElement.clientHeight;
				} else {
				  if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
					//IE 4 compatible
					myWidth = document.body.clientWidth;
					myHeight = document.body.clientHeight;
				  }
				}
  				}
		
		if (num==1)
		{
			coorpx = 0
		}
		
		if (num==2)
		{
			coorpx = 61
		}
		
		if (num==3)
		{
			coorpx = 149
		}
		
		if (num==4)
		{
			coorpx = 280
		}
		
		if (myWidth>760)
		{
			objeto.style.left = (myWidth-760)/2+coorpx;
	   	}
		else
		{
			objeto.style.left = coorpx;
		}
	   objeto.style.visibility = "visible";
	   stop_time();
	}
	
function openWindow(url)
{
popupWin = window.open(url,'new_page1','status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no,width=550,height=760')
}
