var answer=['It is certain','It is
decidely so','Without a
doubt','Yes-
definitely','You may rely
on it','As I see it,
yes','Most likely','Outlook
good','Sign points to
yes','Yes','Reply hazy,
try again','Ask again later','Better not
tell you now','Cannot predict
now','Concentrate
and ask again','Don\'t
count on it','My
reply is no','My sources
say no','Outlook
not so good','Very
doubtful'];
window.srcoll(0,10);
function roll(){
var i=Math.floor(Math.random()*20);
document.getElementById('ball').innerHTML=''+answer[i]+'';
fadeIn();
setTimeout("fadeOut()",2500);
}
function fadeIn(){
setTimeout("document.getElementById('answer').style.opacity=1.0",1000);
}
function fadeOut(){
setTimeout("document.getElementById('answer').style.opacity=0",1100);
}