 <!--
       browserName = navigator.appName;
       browserVer = parseInt(navigator.appVersion);
       if ((browserName == "Netscape" && browserVer >= 3) || (browserName == "Microsoft Internet Explorer" && browserVer >=4)) {
           browserOK = "yes";
           }
       else {
           browserOK = "no";
           }

       if (browserOK == "yes")

   {
           pasttripsOn = new Image;
           pasttripsOn.src = "gif/pasttrips1.gif";
           pasttripsOff = new Image;
		   pasttripsOff.src = "gif/pasttrips.gif";
           }
   {
           talladegaOn = new Image;
           talladegaOn.src = "gif/talladega1.gif";
           talladegaOff = new Image;
		   talladegaOff.src = "gif/talladega.gif";
           }
		      {
           brickyardOn = new Image;
           brickyardOn.src = "gif/brickyard1.gif";
           brickyardOff = new Image;
		   brickyardOff.src = "gif/brickyard.gif";
           }
		   {
		  bristolOn = new Image;
          bristolOn.src = "gif/bristol1.gif";
          bristolOff = new Image;
          bristolOff.src = "gif/bristol.gif";
           }	
		  {
		  atlantaOn = new Image;
          atlantaOn.src = "gif/atlanta1.gif";
          atlantaOff = new Image;
          atlantaOff.src = "gif/atlanta.gif";
           }	
{
          doverOn = new Image;
          doverOn.src = "gif/dover1.gif";
          doverOff = new Image;
           doverOff.src = "gif/dover.gif";
           }
{
          richmondOn = new Image;
          richmondOn.src = "gif/richmond1.gif";
          richmondOff = new Image;
           richmondOff.src = "gif/richmond.gif";
           }	
		   
{
         martinsvilleOn = new Image;
         martinsvilleOn.src = "gif/martinsville1.gif";
          martinsvilleOff = new Image;
          martinsvilleOff.src = "gif/martinsville.gif";
           }
		   {
         miamiOn = new Image;
         miamiOn.src = "gif/miami1.gif";
          miamiOff = new Image;
          miamiOff.src = "gif/miami.gif";
           }	
		   {
         martinsville2On = new Image;
         martinsville2On.src = "gif/martinsville21.gif";
          martinsville2Off = new Image;
          martinsville2Off.src = "gif/martinsville2.gif";
           }
		   
{
         phoenixOn = new Image;
         phoenixOn.src = "gif/phoenix1.gif";
          phoenixOff = new Image;
          phoenixOff.src = "gif/phoenix.gif";
           }	
		   {
         phoenix2On = new Image;
         phoenix2On.src = "gif/phoenix3.gif";
          phoenix2Off = new Image;
          phoenix2Off.src = "gif/phoenix2.gif";
           }
		   {
          charlotteOn = new Image;
          charlotteOn.src = "gif/charlotte1.gif";
           charlotteOff = new Image;
           charlotteOff.src = "gif/charlotte.gif";
           }	   
{

           usgpOn = new Image;
           usgpOn.src = "gif/usgp1.gif";
           usgpOff = new Image;
           usgpOff.src = "gif/usgp.gif";
           }

{

           molsonOn = new Image;
           molsonOn.src = "gif/molson2.gif";
           molsonOff = new Image;
           molsonOff.src = "gif/molson1.gif";
           }
		   
		   {

           cangpOn = new Image;
           cangpOn.src = "gif/cangp1.gif";
           cangpOff = new Image;
           cangpOff.src = "gif/cangp.gif";
           }

{
           customOn = new Image;
           customOn.src = "gif/custom1.gif";
           customOff = new Image;
           customOff.src = "gif/custom.gif";
           }

{
           beachOn = new Image;
           beachOn.src = "gif/beach1.gif";
           beachOff = new Image;
           beachOff.src = "gif/beach.gif";
           }
		   {
           dalejrOn = new Image;
           dalejrOn.src = "gif/dalejr1.gif";
           dalejrOff = new Image;
           dalejrOff.src = "gif/dalejr.gif";
           }
		   {
           seasplashOn = new Image;
           seasplashOn.src = "gif/seasplash1.gif";
           seasplashOff = new Image;
           seasplashOff.src = "gif/seasplash.gif";
           }

{
           daytonaOn = new Image;
           daytonaOn.src = "gif/daytona1.gif";
           daytonaOff = new Image;
           daytonaOff.src = "gif/daytonaa.gif";
           }
		   {
           daytona2On = new Image;
           daytona2On.src = "gif/daytona3.gif";
           daytona2Off = new Image;
           daytona2Off.src = "gif/daytona2.gif";
           }
		   {
           californiaOn = new Image;
           californiaOn.src = "gif/california1.gif";
           californiaOff = new Image;
           californiaOff.src = "gif/california.gif";
           }
		   {
           chicagoOn = new Image;
           chicagoOn.src = "gif/chicago1.gif";
           chicagoOff = new Image;
           chicagoOff.src = "gif/chicago.gif";
           }
{
           kansasOn = new Image;
           kansasOn.src = "gif/kansas1.gif";
           kansasOff = new Image;
           kansasOff.src = "gif/kansas.gif";
           }
		   {
           texasOn = new Image;
           texasOn.src = "gif/texas1.gif";
           texasOff = new Image;
           texasOff.src = "gif/texas.gif";
           }
		   {
           vegasOn = new Image;
           vegasOn.src = "gif/vegas1.gif";
           vegasOff = new Image;
           vegasOff.src = "gif/vegas.gif";
           }
		   {
          homesteadOn = new Image;
          homesteadOn.src = "gif/homestead1.gif";
           homesteadOff = new Image;
           homesteadOff.src = "gif/homestead.gif";
           }
		   {
          darlingtonOn = new Image;
          darlingtonOn.src = "gif/darlington1.gif";
           darlingtonOff = new Image;
           darlingtonOff.src = "gif/darlington.gif";
           }
		   {
		  comingsoonOn = new Image;
          comingsoonOn.src = "gif/comingsoon1.gif";
          comingsoonOff = new Image;
          comingsoonOff.src = "gif/comingsoon.gif";
           }
		   {
           booknowOn = new Image;
           booknowOn.src = "gif/booknow1.gif";
           booknowOff = new Image;
           booknowOff.src = "gif/booknow.gif";
           }	   
{
           staffOn = new Image;
           staffOn.src = "gif/staff1.gif";
           staffOff = new Image;
           staffOff.src = "gif/staff.gif";
           }

{
           photosOn = new Image;
           photosOn.src = "gif/photos1.gif";
           photosOff = new Image;
           photosOff.src = "gif/photos.gif";
           }
{
           scheduleOn = new Image;
           scheduleOn.src = "gif/schedule1.gif";
           scheduleOff = new Image;
           scheduleOff.src = "gif/schedule.gif";
           }
		   
{
           linksOn = new Image;
           linksOn.src = "gif/links1.gif";
           linksOff = new Image;
           linksOff.src = "gif/links.gif";
           }
{
           termsOn = new Image;
           termsOn.src = "gif/terms1.gif";
           termsOff = new Image;
           termsOff.src = "gif/terms.gif";
           }
{
           emailOn = new Image;
           emailOn.src = "gif/email1.gif";
           emailOff = new Image;
           emailOff.src = "gif/email.gif";
           }
	   
{
           homeOn = new Image;
           homeOn.src = "gif/home1.gif";
           homeOff = new Image;
           homeOff.src = "gif/home.gif";

           }
       function imageOn(imgName) {
           if (browserOK == "yes") {
               imgOn = eval(imgName + "On.src");
               document.images[imgName].src = imgOn;
           }

       }
       function imageOff(imgName) {
           if (browserOK == "yes") {
               imgOff = eval(imgName + "Off.src");
               document.images[imgName].src = imgOff;
           }
       }
   //-->

<!--
// Tim Was Here, and again
var popWin = null																// use this when referring to pop-up window
var winCount = 0
var winName = "popWin"
	function openPopWin(winURL, winWidth, winHeight, winFeatures, winLeft, winTop){
		var d_winLeft = 420														// default, pixels from screen left to window left
		var d_winTop = 20														// default, pixels from screen top to window top
																				// winName = "popWin" + winCount++
																				// unique name for each pop-up window
		closePopWin()															// close any previously opened pop-up window
		if (openPopWin.arguments.length >= 4)									// any additional features? 
			winFeatures = "," + winFeatures
		else 
			winFeatures = "" 
			if (openPopWin.arguments.length == 6)								// location specified
				winFeatures += getLocation(winWidth, winHeight, winLeft, winTop)
			else
				winFeatures += getLocation(winWidth, winHeight, d_winLeft, d_winTop)
				popWin = window.open(winURL, winName, "width=" + winWidth
					+ ",height=" + winHeight + winFeatures)
  	}
	function closePopWin(){														// close pop-up window if it is open 
		if (navigator.appName != "Microsoft Internet Explorer" 
			|| parseInt(navigator.appVersion) >=4)								//	do not close if early IE
		if(popWin != null) if(!popWin.closed) popWin.close() 
	}
	function getLocation(winWidth, winHeight, winLeft, winTop){
		return ""
	}
//-->
																				// for Netscape 4+ and IE 4+
<!--
	function getLocation(winWidth, winHeight, winLeft, winTop){
		var winLocation = ""
		if (winLeft < 0)
			winLeft = screen.width - winWidth + winLeft
		if (winTop < 0)
			winTop = screen.height - winHeight + winTop
		if (winTop == "cen")
			winTop = (screen.height - winHeight)/2 - 20
		if (winLeft == "cen")
			winLeft = (screen.width - winWidth)/2
		if (winLeft>0 & winTop>0)
			winLocation =  ",screenX=" + winLeft + ",left=" + winLeft
				+ ",screenY=" + winTop + ",top=" + winTop
		else
			winLocation = ""
		return winLocation
	}
//-->
<!-- Begin
	function popUp(URL) {
		day = new Date();
		id = "OneWinPopupOnly";
		openPopWin(URL, 621, 480, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1', 140, 20);
																				// eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=621,height=480,left = 160,top = -300');");
	}
// End -->

<!-- Begin
	function popUp2(URL) {
		day = new Date();
		id = "OneWinPopupOnly";
		openPopWin(URL, 764, 480, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1', 36, 20);
																				// eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=740,height=480,left = 160,top = -300');");
	}
// End -->

var persistmenu="yes"															// "yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide"														// enter "sitewide" for menu to persist across site, "local" for this page only
	if (document.getElementById){												// DynamicDrive.com change
		document.write('<style type="text/css">\n')
		document.write('.submenu{display: none;}\n')
		document.write('</style>\n')
	}
	function SwitchMenu(obj){
    	if(document.getElementById){
	    var el = document.getElementById(obj);
    	var ar = document.getElementById(obj).getElementsByTagName("span");		// DynamicDrive.com change
        if(el.style.display != "block"){										// DynamicDrive.com change
            for (var i=0; i<ar.length; i++){
                if (ar[i].className=="submenu")									// DynamicDrive.com change
                ar[i].style.display = "none";
            }
            el.style.display = "block";
        }else{
            el.style.display = "none";
        }
    }
}
function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { 
        offset += search.length
        end = document.cookie.indexOf(";", offset);
        if (end == -1) end = document.cookie.length;
            returnvalue=unescape(document.cookie.substring(offset, end))
        }
    }
    return returnvalue;
}
function onloadfunction(){
if (persistmenu=="yes"){
    var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
    var cookievalue=get_cookie(cookiename)
    if (cookievalue!="")
        document.getElementById(cookievalue).style.display="block"
    }
}
function savemenustate(){
	var inc=1, blockid=""
	while (document.getElementById("sub"+inc)){
    	if (document.getElementById("sub"+inc).style.display=="block"){
        	blockid="sub"+inc
	        break
    	}
	    inc++
	}
	var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
	var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
	document.cookie=cookiename+"="+cookievalue
}
if (window.addEventListener)
	window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
	window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
	window.onload=onloadfunction

if (persistmenu=="yes" && document.getElementById)
	window.onunload=savemenustate
