var current = 0
var x = 0
var speed = 100 //tempo de preenchimento
var speed2 = 2000 //tempo de espera

function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}

typ = new initArray(4) //quantidade de mensagens
//querendo por mais mensagens, copie a linha e mude o número obedecendo a sequência.
typ[0]="www.imagescrap.com.br"
typ[1]="Site de Scrapbooking e Design Gráfico"
typ[2]="Aqui você encontra lembrancinhas de casamento, formatura, debutante, maternidade, livroas de assinaturas..."
typ[3]="Recursos de dicas, artigos e diversos..."
typ[4]="Seja Bem Vindo..."

function typewrite() {
var m = typ[current]
window.status = m.substring(0, x++) + "..." //este é o caracter que aparece preenchendo o texto
if (x == m.length + 1) {
x = 0
current++
if (current > typ.length - 1) {
current = 0
}
setTimeout("typewrite()", speed2)
}
else {
setTimeout("typewrite()", speed)
}
}
typewrite()

