var cached=0;

if (document.images){

the_about_off = new Image()
the_about_off.src = "/navbar/about_off.gif"
the_about_on = new Image()
the_about_on.src = "/navbar/about_on.gif"

the_club_racing_off = new Image()
the_club_racing_off.src = "/navbar/club_racing_off.gif"
the_club_racing_on = new Image()
the_club_racing_on.src = "/navbar/club_racing_on.gif"

the_happenings_off = new Image()
the_happenings_off.src = "/navbar/happenings_off.gif"
the_happenings_on = new Image()
the_happenings_on.src = "/navbar/happenings_on.gif"

the_joining_off = new Image()
the_joining_off.src = "/navbar/joining_off.gif"
the_joining_on = new Image()
the_joining_on.src = "/navbar/joining_on.gif"

the_links_off = new Image()
the_links_off.src = "/navbar/links_off.gif"
the_links_on = new Image()
the_links_on.src = "/navbar/links_on.gif"

the_members_off = new Image()
the_members_off.src = "/navbar/members_off.gif"
the_members_on = new Image()
the_members_on.src = "/navbar/members_on.gif"

the_phr_off = new Image()
the_phr_off.src = "/navbar/phr_off.gif"
the_phr_on = new Image()
the_phr_on.src = "/navbar/phr_on.gif"

the_publications_off = new Image()
the_publications_off.src = "/navbar/publications_off.gif"
the_publications_on = new Image()
the_publications_on.src = "/navbar/publications_on.gif"

the_sales_off = new Image()
the_sales_off.src = "/navbar/sales_off.gif"
the_sales_on = new Image()
the_sales_on.src = "/navbar/sales_on.gif"

the_services_off = new Image()
the_services_off.src = "/navbar/services_off.gif"
the_services_on = new Image()
the_services_on.src = "/navbar/services_on.gif"

the_contact_off = new Image()
the_contact_off.src = "/navbar/contact_us_off.gif"
the_contact_on = new Image()
the_contact_on.src = "/navbar/contact_us_on.gif"

the_calendar_off = new Image()
the_calendar_off.src = "/navbar/calendar_off.gif"
the_calendar_on = new Image()
the_calendar_on.src = "/navbar/calendar_on.gif"

the_screensavers_off = new Image()
the_screensavers_off.src = "/navbar/screensavers_off.gif"
the_screensavers_on = new Image()
the_screensavers_on.src = "/navbar/screensavers_on.gif"

the_classic_off = new Image()
the_classic_off.src = "/navbar/classic_off.gif"
the_classic_on = new Image()
the_classic_on.src = "/navbar/classic_on.gif"

cached=1;
}

function imageOn(imgName) {
	if (cached==1) {
	lineOn = eval("the_" + imgName + "_on.src");
	document [imgName].src= lineOn;
	}
}

function imageOff(imgName) {
	if (cached==1) {
	lineOff = eval("the_" + imgName + "_off.src");
	document [imgName].src= lineOff;
	}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

