function startTime() {
	var time= new Date();
	hours= time.getHours();
	mins= time.getMinutes();
	secs= time.getSeconds();
	closeTime=hours*3600+mins*60+secs;
	closeTime+=3; // How many seconds til the next rotation
	Timer();
}

function Timer() {
	var time= new Date();
	hours= time.getHours();
	mins= time.getMinutes();
	secs= time.getSeconds();
	curTime=hours*3600+mins*60+secs
	if (curTime>=closeTime){
		if (i < 11){ // The number 9 is the amount of banners that you have
			i++;
			document.banner.src = eval("banner" + i + ".src");
		}
		else{
			i = 1;
			document.banner.src = eval("banner" + i + ".src");
		}
		startTime();
	}
	else{
		window.setTimeout("Timer()",1000);
	}
}

function clickLink() {
	window.top.location = links[i];
}

function descript() {
	window.status = description[i];
}
startTime();