<!-- Begin Cycling Banners Scripts -->

<!-- Hide script from old browsers

adImages1 = new Array("images/home-driver-training.jpg","images/home-face.jpg","images/home-league-race.jpg","images/home-race-camps.jpg","images/home-birthday.jpg","images/home-corp-event.jpg")
adImages2 = new Array("images/sponsor-boathouse.jpg","images/sponsor-sr-hotel.jpg","images/sponsor-cameron.jpg","images/sponsor-bob-fm.jpg","images/sponsor-y100.jpg")
adImages3 = new Array("images/home-gift-certs1.jpg","images/home-gift-certs2.jpg")

adURL1 = new Array("drivenraceway.com/go-kart-driver-training-course.htm","facebook.com/pages/Rohnert-Park-CA/Driven-Raceway/114382868157?ref=ts","drivenraceway.com/go-kart-league-racing.htm","drivenraceway.com/go-kart-race-camps.htm","drivenraceway.com/children-adult-birthday-parties.htm","drivenraceway.com/teambuilding-corporate-events.htm")
adURL2 = new Array("boathousesushi.com","downtownsantarosahotels.com","cameronkarting.com","967bobfm.com","yourmusic.fm")
adURL3 = new Array("drivenraceway.com/gift-certificates-online.htm","drivenraceway.com/gift-certificates-online.htm")

thisAd1 = 0
thisAd2 = 0
thisAd3 = 0

imgCt1 = adImages1.length
imgCt2 = adImages2.length
imgCt3 = adImages3.length

function rotate() {

	if (document.images) {
		
		thisAd1++
		if (thisAd1 == imgCt1) 
		
		{thisAd1 = 0}
		
		document.adBanner1.src=adImages1[thisAd1]
		
		thisAd2++
		if (thisAd2 == imgCt2) 
		
		{thisAd2 = 0}
		
		document.adBanner2.src=adImages2[thisAd2]
		
		thisAd3++
		if (thisAd3 == imgCt3) 
		
		{thisAd3 = 0}
		
		document.adBanner3.src=adImages3[thisAd3]
		
		setTimeout("rotate()" , 6000)

	}
}
function newLocation1() {
	document.location.href = "http://www." + adURL1[thisAd1]
}
function newLocation2() {
	document.location.href = "http://www." + adURL2[thisAd2]
}
function newLocation3() {
	document.location.href = "http://www." + adURL3[thisAd3]
}

<!-- Specials Banner Script -->
 (function() {
var imgs = new Array(); var imgcnt = 0; var thisimg = 0;
imgs[imgcnt++] = "images/specials1.jpg";
imgs[imgcnt++] = "images/specials2.jpg";
imgs[imgcnt++] = "images/specials3.jpg";
imgs[imgcnt++] = "images/specials3.jpg";

function rotate() {
if (document.images) {
thisimg++;
if (thisimg >= imgcnt) thisimg = 0;
document.getElementById('specialsbanner').src = imgs[thisimg];
}
}
setInterval(rotate,1000);
})(); 

<!-- End of Specials Banner Script -->

// End hiding script from old browsers -->


<!-- End Cycling Banners Scripts -->
