message= "Welkom Bij de mooiste site van dolfijnen"
speed= 40
thislinetxt="";
num=0;
num2=0;
function start()
{
txt = "";
for(i=0;i != message.length;i++)
{
txt=txt+""+message.charAt(i)+"";
}
drive.innerHTML=txt;
secon();
setTimeout("thir()",speed*6);
}
function secon()
{
if(num != message.length+1)
{
if(num != 0)
{
chang(num-1,"visible");
}
if(num != message.length)
{
chang(num,"hidden");
}
num++;
setTimeout("secon()",speed);
}
else
{
num=0;
setTimeout("secon()",speed*5);
}
}
function thir()
{
if(num2 != message.length+1)
{
if(num2 != 0)
{
chang(num2-1,"visible");
}
if(num2 != message.length)
{
chang(num2,"hidden");
}
num2++;
setTimeout("thir()",speed);
}
}
function chang(chnum,typ)
{
eval("n"+chnum+".style.visibility=typ");
}
start();
/* Met dank aan Jelle
u aangeboden door http://www.freejava.nl
*/
var refreshinterval=20
var displaycountdown="yes"
var starttime
var nowtime
var reloadseconds=0
var secondssinceloaded=0
function starttime() {
starttime=new Date()
starttime=starttime.getTime()
countdown()
}
function countdown() {
nowtime= new Date()
nowtime=nowtime.getTime()
secondssinceloaded=(nowtime-starttime)/1000
reloadseconds=Math.round(refreshinterval-secondssinceloaded)
if (refreshinterval>=secondssinceloaded) {
var timer=setTimeout("countdown()",1000)
if (displaycountdown=="yes") {
window.status="Page refreshing in "+reloadseconds+ " seconds"
}
}
else {
clearTimeout(timer)
window.location.reload(true)
}
}
window.onload=starttime