<!--
var i = 1;
banner1= new Image();
banner1.src = "http://jimmcgillis.com/ads/banner_468.gif";
banner2 = new Image();
banner2.src = "http://moablive.com/moabtime/ads/banner_468.gif"; 
banner3 = new Image();
banner3.src = "http://moablive.com/ads/banner_468x60.gif"; 
banner4 = new Image();
banner4.src = "http://meditsearch.com/ads/anibanner_468x60.gif"; 
banner5 = new Image();
banner5.src = "http://moablive.com/moabrun/ads/banner_468.gif"; 
banner6 = new Image();
banner6.src = "http://moablive.com/moabrv/ads/banner_468.gif"; 
banner7 = new Image();
banner7.src = "http://moablive.com/moabranch/ads/banner_468.gif"; 
banner8 = new Image();
banner8.src = "http://savalas.tv/ads/savalastv_468x60.gif";
links = new Array
links[1] = "http://jimmcgillis.com/"
links[2] = "http://moabtime.com/" 
links[3] = "http://moablive.com/" 
links[4] = "http://meditsearch.com/" 
links[5] = "http://moabrun.com/" 
links[6] = "http://moabrv.com/" 
links[7] = "http://moabranch.com/" 
links[8] = "http://savalas.tv/" 

function startTime(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
closeTime=hours*3600+mins*60+secs;
closeTime+=15;	// How many seconds until the next banner 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 < 8){	// The number 2 is the amount of banners that you have above - adjust accordingly
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(){
top.location = links[i]
}

// -->