function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function ventana(page_name)
{
   PictureWin=window.open(page_name,"VentanaImagenes","width=620,height=380,left=50,top=50");
   PictureWin.focus();
}
function actualizaReloj(){  
	marcacion = new Date()  
	Hora = marcacion.getHours()  
	Minutos = marcacion.getMinutes()  
	Segundos = marcacion.getSeconds()  
	
	if (Hora<=9) 
	Hora = "0" + Hora 
	
	if (Minutos<=9) 
	Minutos = "0" + Minutos 
	
	if (Segundos<=9) 
	Segundos = "0" + Segundos 
	
	var Dia = new Array("Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"); 
	var Mes = new Array("01","02","03","04","05","06","07","08","09","10","11","12"); 
	var Hoy = new Date(); 
	var Anio = Hoy.getFullYear(); 
	var Fecha ="&nbsp  &nbsp &nbsp;" + Dia[Hoy.getDay()] + ", " + Hoy.getDate() + "-" + Mes[Hoy.getMonth()] + "-" + Anio + "&nbsp;"; 
	
	var Inicio, Script, Final, Total 
	
	
	Inicio = "<color=000000>"
	Script = Fecha
	Script2 = Hora + ":" + Minutos + ":" + Segundos 
	Final = "</font>" 
	
	Total2 = Inicio + Script2 + Final 
	Total = Inicio + Script + Final 
	document.getElementById('Fecha_Reloj').innerHTML = Total2
	document.getElementById('Fecha_Reloj2').innerHTML = Total
	
	setTimeout("actualizaReloj()",1000)  
}

