<!--
var i = 1;
banner1= new Image();
banner1.src = "http://cafemidi.com/ads/468/cafemidi_468x60.gif";
banner2 = new Image();
banner2.src = "http://cafemidi.com/ads/468/bhducati_468x60.gif"; 
banner3 = new Image();
banner3.src = "http://cafemidi.com/ads/468/motoprogt_468x60.gif"; 
banner4 = new Image();
banner4.src = "http://cafemidi.com/ads/468/americanrag_468x60.gif"; 
banner5 = new Image();
banner5.src = "http://cafemidi.com/ads/468/lapunta_468x60.gif"; 
banner6 = new Image();
banner6.src = "http://cafemidi.com/ads/468/undefeated_468x60.gif"; 
banner7 = new Image();
banner7.src = "http://cafemidi.com/ads/468/penaruiz_468x60.gif"; 
banner8 = new Image();
banner8.src = "http://savalas.tv/ads/savalastv_468x60.gif";
links = new Array
links[1] = "http://cafemidi.com/"
links[2] = "http://bhducati.com/" 
links[3] = "http://www.motoprogp.com/" 
links[4] = "http://amrag.com/" 
links[5] = "http://lapuntarealty.com/" 
links[6] = "http://www.undftd.com/" 
links[7] = "http://www.penaruiz.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+=8;	// 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]
}

// -->