<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var text = new initArray(
"This is the wave banner",
"It's a really neat script that reminded me of the beach",
"feel free to copy it on your page");
var speed = 50;
var speed2 = 1000;
var whereat = 0;
var whichone = 0;
function waveb() {
var befor = text[whichone].substring(0,whereat);
var wave = text[whichone].substring(whereat,whereat+1).toUpperCase();
window.status = befor + wave;
if (whereat == text[whichone].length) {
whereat = 0;
++whichone;
if (whichone == text.length) whichone = 0;
setTimeout("waveb()",speed2);
}
else {
whereat++;
setTimeout("waveb()",speed);
}
}
waveb();
//-->
</script>