<!--
function entrar(td,color)
{
	td.style.cursor='hand';
	td.style.background=color;
}

function salir(td,color)
{
	td.style.cursor='default';
	td.style.background=color;
}

function pulsar(td)
{
	td.children.tags('A')[0].click();
}

function fechahoy() {
  var diasemana = new Array('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado');
  var nombremes = new Array('enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre');
  var ahora;
  var fecha = new Date();
  var anio = fecha.getYear();
  var mes = fecha.getMonth();
  var dia = fecha.getDay();
  var num = fecha.getDate();
  if (anio < 2000) anio += 1900;
  ahora = diasemana[dia] + ", " + num + " de " + nombremes[mes] + " de " + anio;
  return ahora;
}  

function abrirVentanaNueva(url, nombre, w, h) {
	ancho = screen.width;
	alto = screen.height;
	x0 = (ancho-w)/2;
	if ( x0 < 0 ) 
		x0 = 0;
	y0 = (alto-h)/2;
	if ( y0 < 0 )
		y0 = 0;
	popupwin = window.open(url, nombre, 'screenX='+x0+',screenY='+y0+',resizable=yes,scrollbars=yes,menubar=no,width=' + w +
		',height=' + h);
	popupwin.moveTo(x0,y0);
}




function Pie()
{
    var mensaje='';
    mensaje='Centro de Instrucción y Capacitación Marítima | (C.I.M.A.R)<br>';
    mensaje=mensaje + '&nbsp;Subida Cementerio 300 | Recinto: Faro Punta de Ángeles | Playa-Ancha | Valparaíso';
    mensaje=mensaje + '| Chile&nbsp; <br/> Mesa Central: 56-32-2208858 / Fax: 56-32-2208858 | E-mail:';
    mensaje=mensaje + '<a href="mailto:secdinstrucc@directemar.cl"><font color="#666666">admisioncimar@directemar.cl</font></a><br/>';
	mensaje=mensaje + 'Derechos Reservados Centro de Instrucción y Capacitación Marítima 2005 ©';
    return mensaje;
}



var message="Centro de Instrucción y Capacitación Marítima.\n© CIMAR 2005 \nTodos los derechos reservados"; 

function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(message);			
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);			
			return false;
		}		
	}
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;


//-->

