<html>
<head>
<script language="JavaScript">
function isnscroll(hype) {
var shameless = 100
var prtspc = " ";
var col = 1;
/* You could also have used an array here. */
var promotional="Message Number One "
+"Message Number Two "
+"Message Number Three "
+ "Message Number Four, etc.";
if (hype>shameless) {
hype--;
var cmd="isnscroll(" + hype + ")";
isntimer=window.setTimeout(cmd,shameless);
}
else if (hype<=shameless && hype>0) {
for (col=0;col<hype;col++) {
prtspc+=" ";
}
prtspc+=promotional;
hype--;
var cmd="isnscroll(" + hype + ")";
window.status=prtspc;
isntimer=window.setTimeout(cmd,shameless);
}
else if (hype<=0) {
if (-hype<promotional.length) {
prtspc+=promotional.substring(-hype,promotional.length);
hype--;
var cmd="isnscroll(" + hype + ")";
window.status=prtspc;
isntimer=window.setTimeout(cmd,100);
}
else {
window.status=" ";
isntimer=window.setTimeout("isnscroll(100)",75);
}
}
}
function startit() {
isntimer=window.setTimeout("isnscroll(100)",500);
}
</script>
</head>
<body onLoad="startit()">
</body>
</html>