<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Beginning of JavaScript -

// Redirection by hour
// Copyright Peter Gehrig
// 12/6/99

// This block extracts today's date
// Do not change this block
var now = new Date()
var now_monthsday = now.getDate()
var now_hour = now.getHours()

// Configure the URL for each hour of day
// hour[0] contains the URL for midnight
// hour[1] contains the URL for 1 o'clock
// hour[2] contains the URL for 2 o'clock
// and so on
var hourURL=new Array()
hourURL[0]="http://www.24fun.ch"
hourURL[1]="http://www.lycos.com"
hourURL[2]="http://www.yahoo.com"
hourURL[3]="http://www.amazon.com"
hourURL[4]="http://www.altavista.com"
hourURL[5]="http://www.javascripts.com"
hourURL[6]="http://www.dynamicdrive.com"
hourURL[7]="http://www.24fun.ch"
hourURL[8]="http://www.netscape.com"
hourURL[9]="http://www.microsoft.com"
hourURL[10]="http://www.love.com"
hourURL[11]="http://www.happy.com"
hourURL[12]="http://www.laugh.com"
hourURL[13]="http://www.smile.com"
hourURL[14]="http://www.weep.com"
hourURL[15]="http://www.magellan.com"
hourURL[16]="http://www.24fun.ch"
hourURL[17]="http://www.lycos.com"
hourURL[18]="http://www.yahoo.com"
hourURL[19]="http://www.amazon.com"
hourURL[20]="http://www.altavista.com"
hourURL[21]="http://www.javascripts.com"
hourURL[22]="http://www.dynamicdrive.com"
hourURL[23]="http://www.24fun.ch"

// waiting time until the redirection will proceed
var pause = 7000

var choosenURL

function waitabit() {
	var timer=setTimeout("redirection()",pause)
}

function redirection() {
	document.location.href=hourURL[now_hour]
}

// - End of JavaScript - -->
</SCRIPT>

</HEAD>
<style>

#maintext {
position:relative;
font-family:Verdana;
font-size:20pt;
color:FF8888;
width:520px;
}

A {
color:FF0000;
}

A:Hover {
color:FFFFFF;
}

</style>
<BODY onLoad="waitabit()" bgcolor="#000000">

<div id="maintext" align="center"><b>Redirection by Hour</b><br><br>In about 7 seconds you will be redirected to the page of the hour. <a href="http://www.24fun.ch" target="_blank">Download more redirection-scripts and over 150 DHTML-samples for free</a><br></div>

</BODY>
</HTML>

