
<!--
function adArray() {
 for (i=0; i*2<adArray.arguments.length; i++) {
  this[i] = new Object();
  this[i].src = adArray.arguments[i*2];
  this[i].href = adArray.arguments[i*2+1];
 }
 this.length = i;
}
function getAdNum() {
 dat = new Date();
 dat = (dat.getTime()+"").charAt(8);
 if (dat.length == 1)
  ad_num = dat%ads.length;
 else
  ad_num = 0;
 return ad_num;
}
 
/*this array follows this pattern -> path to first image, first image link, path to second image, second image link....*/

var ads = new adArray(
"images/tastee_ad.jpg",
"#",
"images/lotto_ad.jpg",
"http://www.lottosport.com/",
"images/twsteel_ad.jpg",
"http://tankweld.com/",
"images/icwi_ad.jpg",
"http://www.icwi.net/",
"images/kbeerad.jpg",
"http://www.truerudejamaicanbrew.com/",
"images/whfcuis.jpg",
"#"
);


var ad_num = getAdNum(); // don't change this line

document.write('<table cellpadding=0 cellspacing=1 border=0><tr><td>'
+'<A href="'+ads[ad_num].href+'" target ="_blank"><IMG SRC="'+ads[ad_num].src+'" '
+'height="120" width="298" border="0" name="js_ad"></a></td></tr></table>');

// ****** YOU NEED NOT MODIFY ANYTHING THAT IS NOT IN BETWEEN THESE TWO COMMENTS ****

link_num = document.links.length-1;

function rotateSponsor() {
 if (document.images) {
  ad_num = (ad_num+1)%ads.length;
  document.js_ad.src = ads[ad_num].src;
  document.links[link_num].href = ads[ad_num].href;
  setTimeout("rotateSponsor()",5000);
 }
}
setTimeout("rotateSponsor()",5000);

// -->
