i've got this typewriter thingy on my shoutout. . .
but the thing is that its too fast. . .
how would i slow it down???


here's the code i used. . .pls help me edit the speed of the typewriter effect
[spoiler]x1=0;c1=0;cache=new Array()
setTimeout('clearIt()',4000)
function clearIt(){
tSpan = document.getElementById('cpShoutoutBox')
cSpan = tSpan.getElementsByTagName('span')
for(p=0;p<cSpan.length;p++){
cache[p]=cSpan[p].innerHTML
cSpan[p].innerHTML=''
}
toSpan()
}
function toSpan(){
if(x1<cSpan.length){
typeIn = cache[x1]
tp=setInterval('typeIt()', 40)
}else{
p=0;x1=0;c=0;setTimeout('clearIt()', 500)
}
}
function typeIt(){
if(cSpan[x1]!=null && c1<=typeIn.length){
cSpan[x1].innerHTML = typeIn.substring(0,c1++)
}else{
clearInterval(tp);x1++; c1=0;toSpan()
}
}[/spoiler]


thx guys