/**
 * fw_menu 24OCT2000 Version 4.0
 * John Ahlquist, October 2000
 * Copyright (c) 2000 Macromedia, Inc.
 *
 * based on menu.js
 * by gary smith, July 1997
 * Copyright (c) 1997-1999 Netscape Communications Corp.
 *
 * Netscape grants you a royalty free license to use or modify this
 * software provided that this copyright notice appears on all copies.
 * This software is provided "AS IS," without a warranty of any kind.
 */
function date(){
fecha = new Date()
mes = fecha.getMonth()
diaMes = fecha.getDate()
diaSemana = fecha.getDay()
anio = fecha.getFullYear()
dias = new Array('Domingo','Lunes','Martes','Miercoles','Jueves','Viernes','Sábado')
meses = new Array('Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre')
document.write (dias[diaSemana] + ", " + diaMes + " de " + meses[mes] + " de " + anio)
}

function CursorHand(obj){
			obj.style.cursor = 'hand'
		}

		function NonOver(texto, obj){
    			obj.style.cursor = 'hand'
				var idtd1 = texto+'1'
				var idtd2 = texto+'2'
				var idtd3 = texto+'3'
				var td1 = document.getElementById(idtd1)
				var td2 = document.getElementById(idtd2)
				var td3 = document.getElementById(idtd3)
					td1.className  = ''
					td2.className  = 'NonOver'
					td3.className  = ''}

		function Over(texto, obj){
    			obj.style.cursor = 'hand'
				var idtd1 = texto+'1'
				var idtd2 = texto+'2'
				var idtd3 = texto+'3'
				var td1 = document.getElementById(idtd1)
				var td2 = document.getElementById(idtd2)
				var td3 = document.getElementById(idtd3)
					td1.className  = 'Background'
					td2.className  = 'Over'
					td3.className  = 'Background'}

		function scrollit(seed) {
		var m1 = "Enet. La internet de ETECSA.";
		var m2 = "   Recomendamos que revise nuestros servicios";
		var m3 = " y nuestras oficinas comerciales y de aistencia técnica";
		var m4 = "";
		var msg=m1+m2+m3+m4;
		var out = " ";
		var c = 1;
		if (seed > 100) {
		seed--;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
		}
		else if (seed <= 100 && seed > 0) {
		for (c=0 ; c < seed ; c++) {
		out+=" ";
		}
		out+=msg;
		seed--;
		window.status=out;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
		}
		else if (seed <= 0) {
		if (-seed < msg.length) {
		out+=msg.substring(-seed,msg.length);
		seed--;
		window.status=out;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
		}
		else {
		window.status=" ";
		timerTwo=window.setTimeout("scrollit(100)",75);
		}
		}
		}