var monthname=new Object var x=0 monthname[x++]="January" monthname[x++]="February" monthname[x++]="March" monthname[x++]="April" monthname[x++]="May" monthname[x++]="June" monthname[x++]="July" monthname[x++]="August" monthname[x++]="September" monthname[x++]="October" monthname[x++]="November" monthname[x++]="December" var DayRideDescription = new Object DayRideDescription[4+12*2003] = "Overnight Ride to Madison" DayRideDescription[7+12*2003] = "Overnight Ride, Pancake Breakfast" DayRideDescription[8+12*2003] = "Lakeland, Plant City" DayRideDescription[9+12*2003] = "The Villages, Lake County" DayRideDescription[11+12*2003] = "National Cemetery, Bushnell" DayRideDescription[1+12*2004] = "Manatee Walk" DayRideDescription[2+12*2006] = "Okeechobee" DayRideDescription[1+12*2009] = "Orange Springs" DayRideDescription[2+12*2009] = "Ozello" DayRideDescription[3+12*2009] = "Bok Tower" DayRideDescription[4+12*2009] = "75 Chrome Shop Truck Show" DayRideDescription[5+12*2009] = "Fanning Springs" DayRideDescription[6+12*2009] = "Angel's Diner, Palatka" DayRideDescription[7+12*2009] = "Butterfly Rainforest, Gainesville" DayRideDescription[8+12*2009] = "Yankeetown" DayRideDescription[9+12*2009] = "Cherry Pocket Seafood Shack, Lake Wales" DayRideDescription[10+12*2009] = "Fanning Springs" DayRideDescription[11+12*2009] = "National Cemetery, Bushnell" DayRideDescription[12+12*2009] = "(No Ride - Merry Christmas)" DayRideDescription[1+12*2010] = "Kelly Street Cafe, Orange Springs" DayRideDescription[2+12*2010] = "Cherry Pocket Seafood Shack, Lake Wales" DayRideDescription[3+12*2010] = "Angel's Diner, Palatka" DayRideDescription[4+12*2010] = "Ozello" DayRideDescription[5+12*2010] = "National Cemetery, Citrus Tower" DayRideDescription[6+12*2010] = "(riding one week early June 19) Fanning Springs" DayRideDescription[7+12*2010] = "Kelly Street Cafe, Orange Springs" DayRideDescription[8+12*2010] = "Cherry Pocket Seafood Shack, Lake Wales" DayRideDescription[9+12*2010] = "Dam Smoker, Umatilla" DayRideDescription[10+12*2010] = "Corky Bell's, East Palatka" DayRideDescription[11+12*2010] = "Los Avina Mexican, Archer" DayRideDescription[12+12*2010] = "Ivy House, Williston" DayRideDescription[1+12*2011] = "Blue Water Bay, Melrose" DayRideDescription[2+12*2011] = "Orange Box, Frostproof" DayRideDescription[3+12*2011] = "Ocala Jai-Alai" DayRideDescription[4+12*2011] = "Smokestack BBQ, Lawtey" DayRideDescription[5+12*2011] = "Blue Crab Festival, Palatka" DayRideDescription[6+12*2011] = "Ivey House, Alachua" DayRideDescription[7+12*2011] = "Troyer's, Sarasota" DayRideDescription[8+12*2011] = "Yearling Restaurant, Cross Creek" DayRideDescription[9+12*2011] = "Becky Jack's, Weeki Wachee" DayRideDescription[10+12*2011] = "Cowboy's Steakhouse, Plant City" DayRideDescription[11+12*2011] = "Dam Smoker, Umatilla" DayRideDescription[12+12*2011] = "Ivey House, Alachua" DayRideDescription[1+12*2012] = "Spring Garden Ranch, Deleon Springs" DayRideDescription[2+12*2012] = "Florida's Natural Grove House, Lake Wales" DayRideDescription[3+12*2012] = "Cactus Jack's Anniversary Party, Salt Springs" DayRideDescription[4+12*2012] = "Western Steer, Starke" DayRideDescription[5+12*2012] = "Cafe Kokapelli, Dade City" DayRideDescription[6+12*2012] = "Frog's Barbecue, Williston" DayRideDescription[7+12*2012] = "Rocky's Villa, McIntosh" DayRideDescription[8+12*2012] = "Roy's, Steinhatchee" DayRideDescription[9+12*2012] = "Keystone Inn, Keystone Heights" DayRideDescription[10+12*2012] = "Willow Tree Cafe, Sanford" DayRideDescription[11+12*2012] = "Gyro Plus, Gainesville" DayRideDescription[12+12*2012] = "Ivey House, Williston" DayRideDescription[1+12*2013] = "Los Avina Mexican, Archer" DayRideDescription[2+12*2013] = "Rick's Downtown Grill, Starke" DayRideDescription[3+12*2013] = "Two Minutes, Zephyrhills" DayRideDescription[4+12*2013] = "Newberry's Barbecue, Newberry" DayRideDescription[5+12*2013] = "Bok Tower, Lake Wales" DayRideDescription[6+12*2013] = "Yoder's, Sarasota" DayRideDescription[7+12*2013] = "Pioneer Restaurant, Zolfo Springs" DayRideDescription[8+12*2013] = "Conestoga, Alachua" DayRideDescription[9+12*2013] = "A Matter of Taste Cafe, Dade City" DayRideDescription[10+12*2013] = "Billy's Blue Crabs, Brooksville" DayRideDescription[11+12*2013] = "Gator Dawgs, Gainesville" DayRideDescription[12+12*2013] = "Ivey House, Alachua" DayRideDescription[1+12*2014] = "Angel's Diner, Palatka" DayRideDescription[2+12*2014] = "Western Steer, Starke" DayRideDescription[3+12*2014] = "High Jackers, Palm Coast" var OvernightRide = new Object ndx=0 OvernightRide[ndx] = new RideDate(4,10,2004) OvernightRide[ndx].desc = "to Panacea" ndx++ OvernightRide[ndx] = new RideDate(6,12,2004) OvernightRide[ndx].desc = "to Ocala National Forest" ndx++ OvernightRide[ndx] = new RideDate(8,21,2004) OvernightRide[ndx].desc = "to Madison" ndx++ OvernightRide[ndx] = new RideDate(10,30,2004) OvernightRide[ndx].desc = "to Lake Okeechobee" ndx++ OvernightRide[ndx] = new RideDate(1,29,2005) OvernightRide[ndx].desc = "to Everglades City" ndx++ OvernightRide[ndx] = new RideDate(4,2,2005) OvernightRide[ndx].desc = "to Lake Seminole" ndx++ OvernightRide[ndx] = new RideDate(6,18,2005) OvernightRide[ndx].desc = "to Titusville" ndx++ OvernightRide[ndx] = new RideDate(8,13,2005) OvernightRide[ndx].desc = "to Port St. Joe" ndx++ OvernightRide[ndx] = new RideDate(10,8,2005) OvernightRide[ndx].desc = "to Okeechobee" ndx++ OvernightRide[ndx] = new RideDate(2,4,2006) OvernightRide[ndx].desc = "to Billie Swamp Safari" ndx++ OvernightRide[ndx] = new RideDate(2,7,2009) OvernightRide[ndx].desc = "to Billie Swamp Safari" ndx++ OvernightRide[ndx] = new RideDate(5,9,2009) OvernightRide[ndx].desc = "to Folkston, Georgia" ndx++ OvernightRide[ndx] = new RideDate(8,8,2009) OvernightRide[ndx].desc = "to Lake Seminole, Sneads" ndx++ OvernightRide[ndx] = new RideDate(11,14,2009) OvernightRide[ndx].desc = "to White Springs, Florida" ndx++ OvernightRide[ndx] = new RideDate(2,13,2010) OvernightRide[ndx].desc = "to LaBelle, Florida" ndx++ OvernightRide[ndx] = new RideDate(5,15,2010) OvernightRide[ndx].desc = "to Folkston, Georgia" ndx++ OvernightRide[ndx] = new RideDate(7,2,2010) OvernightRide[ndx].desc = "to Washington DC" ndx++ OvernightRide[ndx] = new RideDate(8,14,2010) OvernightRide[ndx].desc = "to Blountstown" ndx++ OvernightRide[ndx] = new RideDate(11,13,2010) OvernightRide[ndx].desc = "to Pahokee, Florida" ndx++ OvernightRide[ndx] = new RideDate(2,5,2011) OvernightRide[ndx].desc = "to Immokalee, Florida" ndx++ OvernightRide[ndx] = new RideDate(4,7,2011) OvernightRide[ndx].desc = "(7th to 17th) to Big Bend National Park, Texas" ndx++ OvernightRide[ndx] = new RideDate(5,14,2011) OvernightRide[ndx].desc = "to Tallahassee" ndx++ OvernightRide[ndx] = new RideDate(8,13,2011) OvernightRide[ndx].desc = "to Folkston, Georgia" ndx++ OvernightRide[ndx] = new RideDate(11,12,2011) OvernightRide[ndx].desc = "to Satellite Beach" ndx++ OvernightRide[ndx] = new RideDate(2,11,2012) OvernightRide[ndx].desc = "to Orange City" ndx++ OvernightRide[ndx] = new RideDate(5,19,2012) OvernightRide[ndx].desc = "to Homerville, Georgia" ndx++ OvernightRide[ndx] = new RideDate(8,11,2012) OvernightRide[ndx].desc = "to White Springs" ndx++ OvernightRide[ndx] = new RideDate(11,10,2012) OvernightRide[ndx].desc = "to Grand Ridge" ndx++ OvernightRide[ndx] = new RideDate(2,9,2013) OvernightRide[ndx].desc = "to Clewiston" ndx++ OvernightRide[ndx] = new RideDate(5,11,2013) OvernightRide[ndx].desc = "to Fernandina Beach" ndx++ OvernightRide[ndx] = new RideDate(8,10,2013) OvernightRide[ndx].desc = "to Waycross, Georgia" ndx++ OvernightRide[ndx] = new RideDate(11,10,2013) OvernightRide[ndx].desc = "to Flagler Beach" ndx++ function RideDate(month,day,year) { this.date = new Date(year,month-1,day) this.desc = "" } function RideGetDate() { return this.date.getDate() } function ShowDate(rd) { var descript=DayRideDescription[rd.date.getMonth()+1+12*rd.date.getFullYear()] if (descript==undefined) descript="Monthly Ride" document.writeln(monthname[rd.date.getMonth()]," ",rd.date.getDate()," - ",descript) } function secondSunday(adate) { return 7 + (8-adate.date.getDay())%7 } function secondSaturday(adate) { return 7 + (7-adate.date.getDay()) } function thirdSaturday(adate) { return 14 + (7-adate.date.getDay()) } function fourthSaturday(adate) { return 21 + (7-adate.date.getDay()) } function rideSaturday(adate) { if (adate.date.getMonth() < 11) return fourthSaturday(adate); else return thirdSaturday(adate) } function ShowNextRide(when,withdescript) { var now = new Date() var diff=when.date - now var diffInDays=diff/(24*60*60*1000) if (diffInDays<0) document.writeln("Today!") else if (diffInDays<1) document.writeln("Tomorrow") else if (diffInDays<5) document.writeln("This Saturday") else if (diffInDays<10) document.writeln("Next Saturday") else if (diffInDays<17) document.writeln("In Two Weeks") else if (diffInDays<24) document.writeln("In Three Weeks") else document.writeln("Next Month") document.writeln(" on ") if (withdescript) ShowDate(when); else document.writeln(monthname[when.date.getMonth()]," ",when.date.getDate()); } function ComputeRides(howmanyrides,howmanydays) { var now = new Date() var dayride = new Object() var ridemonth = now.getMonth()+1 var rideyear = now.getFullYear() var testday = new RideDate(ridemonth,1,rideyear) var sneakpeek = howmanyrides if (now.getDay() == 0) howmanyrides = 10 if (now.getDate()>rideSaturday(testday)) { ridemonth++; if (ridemonth>12) { ridemonth=1; rideyear++ } } document.writeln("