| <SCRIPT>
var seconds = 3;
var thisAd = -1;
var adImages = new Array();
if (document.images) {
for (var i = 0; i < adImages.length; i++) {
adImages[i] = new
Image();
adImages[i].src
= "images/banner" + (i + 1) + ".gif";
}
}
var url = new Array();
url[0] = "index.htm";
url[1] = "rollover.htm";
url[2] = "crossword.htm";
url[3] = "emailcheck.htm";
// Status Bar Messages Array is created
var statusMsg = new Array();
statusMsg[0] = "JavaScript is the way to go";
statusMsg[1] = "Drink Java in the morning to start your
motor";
statusMsg[2] = "Cure Heartburn with Bismo-Pepto"
statusMsg[3] = "For the Best Food - Eat at Joe's"
function rotate() {
if (document.images)
{
if (document.adBanner.complete)
{
thisAd++;
if (thisAd == adImages.length) thisAd
= 0;
document.adBanner.src = adImages[thisAd].src;
// the Status Bar Messages are synchronized with the Rotating Ad Banner
window.status = statusMsg[thisAd];
}
setTimeout("rotate()",
seconds * 1000);
}
}
function jumpBillboard()
{
location.href
= url[thisAd];
}
</SCRIPT>
<BODY onLoad="rotate()">
<A HREF="javascript:jumpBillboard()">
<IMG SRC="images/banner1.gif"
NAME="adBanner">
</A> |