function scroll(speed)
{
position++;
var output = "";
if (position == text.length) position = -(size + 2);
if (position < 0)
{
for (i = 1; i <= Math.abs(position); i++) output = output + " ";
output = output + text.substring(0,size - i + 1);
}
else
{
output = output + text.substring(position, size+position);
}
window.status = output;
setTimeout("scroll(" +speed+ ")",speed);
}
var text = "To give hope to the impoverished, the hungry, and those who have suffered greatly....";
var size = 100;
var position = -(size + 2);
scroll(100);
// -->