<script language="JavaScript">
<!--
var current = 0
var x = 0
var veloc = 30
var veloc2 = 800

function inicia(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}

texto = new inicia(4)
texto[0]="frase um"
texto[1]="frase dois"
texto[2]="frase três"
texto[3]="frase quatro"
function imprime_digito() {
var frase = texto[current]

window.status = frase.substring(0, x++) + "_"

if (x == frase.length + 1) {
x = 0
current++

if (current > texto.length - 1) {
current = 0
}

setTimeout("imprime_digito()", veloc2)
}

else {
setTimeout("imprime_digito()", veloc)
}
}

imprime_digito()
//-->
</script>