var current = 0
var x = 0
var speed = 50
var speed2 = 3000

function initArray(n) {
	this.length = n;
  	for (var i =1; i <= n; i++) {
    	this[i] = ' '
	}
}

typ = new initArray(6)
typ[0]="| Bienvenidos a www.geniosdelweb.com "
typ[1]="| Diseño y Creación de Páginas Web "
typ[2]="| Especialmente dirigido a pequeñas y medianas empresas "
typ[3]="| Dominio, Alojamiento, Instalación y Configuración de Servidores "
typ[4]="| geniosdelweb@geniosdelweb.com "

function typewrite() {
	var m = typ[current]
	window.status = m.substring(0, x++) + "|"
	if (x == m.length + 1) {
		x = 0
		current++
		if (current > typ.length - 1) {
			current = 0
		}
		setTimeout("typewrite()", speed2)
	}else{
		setTimeout("typewrite()", speed)
	}
}

typewrite()

function overTD(td,color){
	td.style.cursor='hand';td.bgColor=color;
}
function outTD(td,color){
	td.style.cursor='default';td.bgColor=color;
}
function clickIr(donde){
	document.location.href = donde;
}

