function makeData()
{

	if (document.images) 
	{
	  races = new Object();
races.k2010 = new Array("Race?",
        "New Year's Day 5k",
	"Dirty Dozen Doozy 8k",
	"Calhouns Ten-Miler",
	"Strawberry Plains Half Marathon",
	"Strawberry Plains 10k",
	"Whitestone 30k"),
races.n2010 = new Array("Race?",
        "Race Against Racism 5k",
	"Surgoinsville Ten-Miler",
	"Be Great 8k"),
races.k2009 = new Array("Race?",
        "New Year's Day 5K",
	    "Dirty Dozen Doozy 8K",
	    "Calhouns Ten-Miler",
	    "Strawberry Plains 10K",
	    "Strawberry Plains Half Marathon",
	    "Whitestone 30K / Team Relay",
	    "Belly of the Beast",
	    "Covenant Health Knoxville Marathon",
	    "Covenant Health Knoxville Half Marathon",
	    "Covenant Health Knoxville 5K",
	    "Greenways 5K",
	    "Dogwood Classic 5K",
	    "Kids Road Mile",
	    "Forks of the River Trail Race",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "Tennessee Sports Medicine Expo 5K Run/Walk",
	    "Fast 40 Dash",
	    "Summer Solstice 8K",
	    "Seven Islands Sunblast Trail Race",
	    "Trail That Can't Be Concord",
	    "Pilot Fireball Classic 5K",
	    "Carter Mill 10K",
	    "I.C. King of Trails Race",
	    "Haw Ridge Trail Race",
		"Norris Dam Hard Trail Race",
		"Wears Valley 15K",
		"Big South Fork Trail Race",
		"Cumberland Trail 50K",
		"Mill House Classic 15K",
		"BlueCross Autumnfest 8K"),
races.n2009 = new Array("Race?",
        "Race Against Racism 5K",
	    "Love Your Libraries",
	    "Teen Driver Awareness 5K",
	    "Run for Schools 5K",
	    "Run for Clean Air 5K",
	    "Spring Sprint 5K",
	    "Breakthrough Ribbon Run for Autism",
	    "Rittenhouse Emory River Half Marathon",
	    "Rittenhouse Emory River 5K",
	    "Run for the Deaf",
	    "SMARM Rescue Run 5K",
	    "Law Enforcement 5K",
	    "Haiti Run for Health 4-Miler",
	    "Panther Creek 4-Mile Trail Run",
	    "City People Downtown Dash Mile",
	    "Jackie Long Memorial 5K",
	    "4Kay for Kay",
	    "Cove Lake 5K",
	    "Firecracker 4-Miler",
	    "Surgoinsville 10-Miler",
	    "Tomato Festival 5K",
	    "Race for Ramps 5K",
	    "Karns Community Fair 5K",
	    "Phipps Bend 5K",
	    "Wolf Run Trail Race",
	    "West Hills 5K",
	    "VMC 5K",
	    "Scholars Run 5K",
	    "Trojan Trek 5K",
	    "Man Run 5K",
	    "Hotter'n Hell 5K",
	    "Miners Mile 10K",
	    "Miners Mile 5K",
	    "Eastman 10K",
		"Farragut Fall 5K",
		"Bays Mountain Trail Race",
		"Lakeway to the Smokies 5K",
		"Tiger 8K",
		"CrossKnox 15K",
		"Laurel Run Ascent",
		"CASA 8K",
		"Bays Mountain Challenge",
		"Townsend 10K",
		"Building Blocks for Africa 5K",
		"KnoxVenture Race",
		"Seymour Rotary 5K",
		"Hops'n'Hope 5K",
		"Mountain Makins 8K",
		"Buddy's Race Against Cancer",
		"Clayton Turkey Trot for Education",
		"Dance Marathon 5K",
		"Hot to Trot 10K",
		"Hot to Trot 5K",
		"Reindeer Run 5K",
		"Jingle Bells Run for Arthritis"),
races.k2008 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns Ten-Miler",
	    "Strawberry Plains Half Marathon",
	    "Strawberry Plains 10K",
	    "Whitestone 30K",
	    "Belly of the Beast",
	    "Covenant Health Knoxville Half Marathon",
	    "Covenant Health Knoxville Marathon",
	    "Covenant Health Knoxville 5K",
	    "Greenways 5K",
	    "Haw Ridge Spring Splat",
	    "BlueCross Dogwood Classic 5K",
	    "Kids Road Mile",
	    "Seven Islands Sunblast",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "Tennessee Sports Medicine EXPO 5K",
	    "The Trail That Can't Be Concord",
		"Summer Solstice 8K",
		"Jackie Long 5K",
		"Forks of the River Trail Race",
		"Pilot Fireball Classic 5K",
		"I.C. King of Trails Race",
		"Carter Mill 10K",
		"Norris Dam Hard Trail Race",
		"Wears Valley 15K",
		"Big South Fork Trail Race",
		"Mill House Classic 15K",
		"BlueCross Autumnfest 8K"),
races.n2008 = new Array("Race?",
	    "New Year's Wake-Up 5K",
	    "Race Against Racism 5K",
	    "Love Your Libraries 5K",
	    "Low Vision 5K",
	    "Adam Downen Race for Responsbility",
	    "Catch the Leprechaun 5K",
	    "Surgoinsville Ten-Miler",
	    "Tennessee National River Run 5K",
	    "Spring Sprint 5K",
	    "Run for Clean Air 5K",
	    "Run and Play 5K",
	    "Rittenhouse Emory River Half Marathon",
	    "Run for the Deaf 5K",
	    "Law Enforcement 5K",
	    "Panther Creek Trail Race",
	    "Cove Lake 5K",
	    "Loudon Lions 5K",
	    "Karns 5K",
	    "Tomato Festival 5K",
	    "West Hills 5K",
	    "Haw Ridge Trail Race",
	    "Trojan Trek 5K",
	    "Scholars Run 5K",
	    "Rocket Run 10K",
	    "Lakeside Autumn Chase 5K",
	    "Miners Mile 10K",
	    "Miners Mile 5K",
		"Man Run 5K",
		"Eastman 10K",
		"Farragut Fall Classic 5K",
		"Lakeway to the Smokies 5K",
		"Hops and Hope 5K",
		"Townsend 10K",
		"Halloween Howl 10K",
		"Run for Education",
		"Fitness is Fun 5K",
		"Seymour Rotary 5K",
		"Buddy's Race Against Cancer 5K",
		"Cross Knox 15K",
		"Mountain Masters Trail Race",
		"Reindeer Run 5K",
		"Jingle Bells Run for Arthritis"),
races.k2007 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns Ten-Miler",
	    "Straw Plains Half Marathon",
	    "Straw Plains 10K",
	    "Whitestone 30K",
	    "Covenant Health Knoxville Marathon",
	    "Covenant Health Knoxville Half Marathon",
	    "Covenant Health Knoxville 5K",
	    "Greenways 5K",
	    "XTERRA Belly of the Beast Trail Run",
	    "BlueCross Dogwood Classic 5K",
	    "Kids Road Mile",
	    "XTERRA Seven Islands Trail Run",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "Tennessee Sports Medicine EXPO 5K",
	    "Panther Creek Trail Race",
	    "Healthstar Physicians Jackie Long 5K",
	    "Summer Solstice 8K",
	    "XTERRA I.C. King of Trails Run",
	    "Pilot Fireball Classic 5K",
	    "Carter Mill 7 Miler",
	    "Wears Valley 15K",
	    "Big South Fork Trail Race",
	    "Mill House Classic 15K",
	    "Autumnfest 8K"),
races.n2007 = new Array("Race?",
	    "Race Against Racism",
	    "Norris Dam 12K Challenge",
	    "RAT Race 5K",
	    "Love Your Libraries 5K",
	    "Surgoinsville Ten-Miler",
	    "Low Vision 5K",
	    "Catch the Leprechaun 5K",
	    "CASA Leprechaun 5K",
	    "Ribbon Run 5K",
	    "Michael Curtin Renaissance Run",
	    "Run for Clean Air",
	    "Emory River Half Marathon",
	    "Adam Downen 5K",
	    "Run For Your Life 5K",
	    "Spring Sprint 5K",
	    "Run for the Deaf 5K",
	    "Run for the Park 8K",
	    "General's Jaunt 5K",
	    "Blue Plum 5K",
	    "Cove Lake 5K",
	    "Loudon Lions Club Run for Vision 5K",
	    "Tomato Festival 5K",
	    "West Hills 5K",
	    "Haw Ridge Trail Race",
	    "VMC 5K",
	    "Trojan Trek 5K",
	    "Scholars Run 5K",
	    "Phipps Bend 5K",
	    "Lakeside Autumn Chase 5K",
	    "Eastman 10K",
	    "Farragut Fall 5K",
	    "Bays Mountain 15-Mile Trail Race",
	    "Run for the Hills 10K",
	    "Robert Tino 5K",
	    "Blount Memorial Wellness 10K",
	    "Ruth's Chris CrossKnox 15K",
	    "Lakeway to the Smokies 5K",
	    "Hops and Hope 5K",
	    "Run for Ed 5K",
	    "Townsend 10K",
	    "Maple Lane Farms 4-Miler",
	    "Cosby Moonshiner 3.2-miler",
	    "Run for the Bears 5K",
	    "Buddy's 5K Race Against Cancer",
	    "Baptist Turkey Trot 5K",
		"Jingle Jog 5K",
		"Jonesborough Jingle Bell 5K",
		"Reindeer Run 5K",
		"Jingle Bells Run for Arthritis"),
races.k2006 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns Ten-Miler",
	    "Strawberry Plains Half Marathon",
	    "Strawberry Plains 10K",
	    "Whitestone 30K",
	    "Covenant Health Knoxville Marathon",
	    "Covenant Health Knoxville Half Marathon",
	    "Covenant Health Knoxville 5K",
	    "Cariten Kids Run",
	    "Greenways 5K",
	    "Belly of the Beast Offroad",
	    "Dogwood Classic 5K",
	    "Kids Road Mile",
	    "Lakeway Center 5K",
	    "Seven Islands Sunblast Trail Race",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "Tennessee Sports Medicine EXPO 5K",
	    "Panther Creek 8K Trail Race",
	    "I.C. King of Trails Race",
	    "Summer Solstice 8K",
	    "Fireball Moonlite Classic 5K",
	    "Carter Mill 10K",
	    "Trail That Can't Be Concord",
	    "Guns 'n' Hoses 5K",
	    "Rising From the Ashes Cross Country",
	    "Wears Valley 15K",
	    "Big South Fork Trail Race",
	    "XTerra North Boundary Scramble", 
	    "Mill House Classic 15K",
	    "Autumnfest 8K"),
races.n2006 = new Array("Race?",
	    "Race Against Racism 5K",
	    "RAT Race for Blind & Dyslexic",
	    "Love Your Libraries 5K",
	    "Surgoinsville Ten-Miler",
	    "Low Vision 5K",
	    "Catch the Leprechaun 5K",
	    "Resurrection Run 5K",
	    "Run for Clean Air 5K",
	    "Adam Downen 5K",
	    "Michael Curtin Renaissance Run",
	    "Emory River Half Marathon",
	    "Run for the Deaf 5K",
	    "Tri-State Choir 5K",
	    "Run for the Park 8K",
	    "Haiti 4-Mile Run for Health",
	    "Blue Plum 5K",
	    "Actors Coop 5K",
	    "Run and Play 5K",
	    "Cove Lake 5K",
	    "Freedom Run 5K",
	    "Tomato Festival 5K",
	    "Haw Ridge Trail Race",
	    "VMC 5K",
	    "Gazebo Run 5K",
	    "Phipps Bend 5K",
	    "Scholars Run 5K",
	    "Loudon Lions 5K",
	    "Lakeside Autumn Chase 5K",
	    "Eastman 10K",
	    "Farragut Fall 5K",
	    "Lakeway to Smokies 5K",
	    "Hops and Hope 5K",
	    "Union County Heritage 5K",
	    "Union County Heritage 10K",
	    "Jacksboro Fall Chase 5K",
	    "Townsend 10K",
	    "Seymour Rotary 5K",
	    "Buddy's 5K Race against Cancer",
	    "Cumberland Plateau 5K",
	    "Baptist Turkey Trot 5K",
	    "Powell Jingle Jog 5K",
	    "Reindeer Run 5K",
	    "Jingle Bells 5K for Arthritis");
races.k2005 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns 10-Miler",
	    "Straw Plains Half Marathon",
	    "Straw Plains 10K",
	    "Whitestone 30K",
	    "Knoxville Marathon",
	    "Knoxville Half Marathon",
	    "Knoxville 5K",
	    "Knoxville Kids Fun Run",
	    "Greenways 5K",
	    "Ijams 10K",
	    "Seven Islands Sunblast Trail Race",
	    "Dogwood Classic 5K",
	    "Kids Road Mile",
	    "Spring Splash Cross Country",
	    "Panther Creek 8K Trail Race",
	    "Tennessee Sports Medicine EXPO 5K",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "I.C. King of Trails Race",
	    "Summer Solstice 8K",
	    "Pilot Fireball Classic 5K",
	    "Carter Mill 10K",
	    "The Trail That Can't Be Concord Race",
	    "Rising from the Ashes Cross Country",
	    "Wanderers Trail Race",
	    "Guns'n'Hoses 5K",
	    "Wears Valley 15K",
	    "Big South Fork Trail Race",
	    "Belly of the Beast Cross Country",
	    "GNIKCI Trail Race",
	    "XTerra Scramble 15K Trail Race",
	    "Mill House Classic 15K",
	    "Autumnfest 8K");
races.n2005 = new Array("Race?",
	    "Race Against Racism 5K",
	    "Rat Race 5K",
	    "War Party 10K",
	    "Love Your Libraries 5K",
	    "Surgoinsville 10 Miler",
	    "Catch the Leprechaun 5K",
	    "Renaissance Run 5K",
	    "Resurrection Run 5K",
	    "Run for Clean Air",
	    "Spring Sprint 5K",
	    "Adam Downen 5K",
	    "Run for the Deaf 5K",
	    "Run for the Park 8K",
	    "Actors Coop 5K",
	    "Blue Plum 5K",
	    "Lakeway 5K",
	    "Cove Lake 5K",
	    "Daniel Boone 8K Trail Run",
	    "Support Your Troops 5K",
	    "Louise Mandrell 5K Run for Boy Scouts",
	    "Midnight Road Race 8K",
	    "VMC 5K",
	    "Haw Ridge Trail Race",
	    "Heels to Heal 5K",
	    "Phipps Bend 5K",
	    "Scholars Run 5K",
	    "Gazebo Run 5K",
	    "Loudon Lions 5K",
	    "Lakeside Autumn Chase 5K",
	    "Eastman 10K",
	    "Fastest of the Fair 5K",
	    "Farragut Fall 5K",
	    "Erwin Applefest 4-Miler",
	    "Lady Vols 5K",
	    "Heritage Festival 10K",
	    "Heritage Festival 5K",
	    "Hops and Hope 5K",
	    "Townsend 10K",
	    "Buddy's 5K",
	    "Lakeway to the Smokies 5K",
	    "Powell Jingle Jog 5K",
	    "Jingle Bells 5K");
races.k2004 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns 10-Miler",
	    "Strawberry Plains Half Marathon",
	    "Strawberry Plains 10K",
	    "Whitestone 30K",
	    "Smoky Mountain Half Marathon",
	    "Smoky Mountain 5K",
	    "Greenways 5K",
	    "Ijams Off-Road Runner",
	    "Kids Road Mile",
	    "Dogwood Classic 5K",
	    "Panther Creek Trail Race",
	    "Mayors' Park Appreciation Trail Race",
	    "Tennessee Sports Medicine EXPO 5K",
	    "Tennessee Sports Medicine EXPO 10K",
	    "Hill'n'Dale Cross Country",
	    "Summer Solstice 8K",
	    "Fireball Classic 5K",
	    "Carter Mill 10K",
	    "I.C. King of Trails Race",
	    "September 11 Memorial 5K",
	    "Wears Valley 15K",
	    "Big South Fork Trail Race",
	    "Mill House 15K",
	    "Autumnfest 8K");
races.n2004 = new Array("Race?",
	    "Norris Dam 12K",
	    "Race Against Racism 5K",
	    "Rat Race 5K",
	    "Love Your Libraries 5K",
	    "War Party 10K",
	    "Surgoinsville 10-Miler",
	    "Catch the Leprechaun 5K",
	    "Emory Valley Half Marathon",
	    "Resurrection Run 5K",
	    "Spring Sprint 5K",
	    "Run for Clean Air",
	    "Renaissance Run 5K",
	    "Race for Responsibility",
	    "Run for the Deaf 5K",
	    "Lakeway Center 5K",
	    "Run for the Park 8K",
	    "Bobcat Run 5K",
	    "Kidney Run 5K",
	    "Men's Health 5K",
	    "Miracle Mile",
	    "Louise Mandrell 5K",
	    "Tomato Festival 5K",
	    "Pigeon Forge Midnight 8K",
	    "Haw Ridge Trail Race",
	    "VFC 5K",
	    "VMC 5K",
	    "Marine Corps Mud Run",
	    "Gazebo 5K",
	    "Run For Bears 5K",
	    "Greekfest 5K",
	    "Lakeside 5K",
	    "Eastman 10K",
	    "Halls Has It 5K",
	    "Farragut Fall 5K",
	    "Lady Vols 5K",
	    "Nuclear Fuel Services 4-Miler",
	    "Hops & Hope 5K",
	    "Run for Pumpkins 5K",
	    "Townsend 10K",
	    "Lakeway to the Smokies 5K",
	    "Run for the Animals 5K",
	    "Roan Mountain 10K",
	    "Buddy's Race Against Cancer 5K",
	    "Baptist Turkey Trot 5K",
	    "Jingle Jog 5K",
	    "Reindeer Run 5K",
	    "Maynardville Turkey Trot 5K",
	    "Jingle Bells 5K");
races.k2003 = new Array("Race?",
	    "New Year's Day 5K",
	    "Calhouns 10-Miler",
	    "Strawberry Plains Half Marathon",
	    "Strawberry Plains 10K",
	    "Whitestone 30K",
	    "Smoky Mountain 5K",
	    "Smoky Mountain Half Marathon",
	    "Greenways 5K",
	    "Dogwood Classic 8K and 5K Walk",
	    "Kids Road Mile",
	    "Tennessee Sports Medicine EXPO 5000",
	    "Tennessee Sports Medicine EXPO 10,000",
	    "Summer Solstice 8K",
	    "Fireball Classic 5K",
	    "Carter Mill 10K",
	    "September 11th Memorial 5K",
	    "Wears Valley 15K",
	    "Big South Fork 17.5 Mile Trail Race",
	    "Diggin' In The Dirt Cross Country",
	    "Mill House Classic 15K",
	    "Autumnfest 8K");
races.n2003 = new Array("Race?",
	    "Love Your Libraries 5K",
	    "Catch the Leprechaun 5K",
	    "Emory River Half Marathon",
	    "Emory River 5K",
	    "Race for Responsbility 5K",
	    "Renaissance Run 5K",
	    "Resurrection Run 5K",
	    "Run for Shelter 5K",
	    "Run for the Park 5K",
	    "Run for the Deaf 5K",
	    "Maniacs 5K",
	    "Historic Harriman 5K",
	    "Run for Richard 8K",
	    "Bobcat 5K",
	    "Kidney Run 5K",
	    "Blue Plum 5K",
	    "Cove Lake 5K",
	    "Daniel Boone Wilderness Trail 8K",
	    "Volunteers for Christ 5K",
	    "Tomato Festival 5K",
	    "Louise Mandrell 5K",
	    "Pigeon Forge Midnight 8K",
	    "VMC 5K",
	    "Fort Loudoun 5K",
	    "Phipps Bend 5K",
	    "Haw Ridge 7.2 mile Trail Race",
	    "Moonlight Run for the Arts 5K",
	    "Gazebo Run 5K",
	    "Eastman 10K",
	    "Halls Has It 5K",
	    "Rhythm & Roots Reunion 5K",
	    "Farragut Fall 5K",
	    "Lady Vols 5K",
	    "Run for the Bears 5K",
	    "Apple Festival 4-Mile",
	    "Hops and Hope 5K",
	    "North Boundary Trail Race",
	    "Moonshiner 5K",
	    "Run for Ed 5K",
	    "Dog Jog 5K",
	    "Run for the Pumpkins 5K",
	    "Lakeside Autumn Chase 5K",
	    "Roan Mountain 10K",
	    "Buddy's Race Against Cancer 5K",
	    "Santa Special Mile Runs",
	    "Baptist Turkey Trot 5K",
	    "CASA Reindeer 5K",
	    "Tims Ford 10K",
	    "Jingle Bells 5K");
races.k2002 = new Array("Race?",
	    "Millennium 5K",
	    "Calhouns 10-Miler",
	    "Strawberry Plains Half Marathon",
	    "Strawberry Plains 10K",
	    "Whitestone 30K",
	    "Smoky Mountain Half Marathon",
	    "Smoky Mountain Marathon",
	    "Greenways 5K",
	    "Dogwood Classic 5K",
	    "Hammer Duathlon",
	    "Tennessee Sports Medicine EXPO 10K",
	    "Tennessee Sports Medicine EXPO 5K",
	    "Kids Road Mile",
	    "Fireball Moonlite Classic 5K",
	    "Carter Mill 10K",
	    "Midsummer Nights 4-Miler",
	    "September 11th Memorial 5K",
	    "Wears Valley 15K",
	    "Big South Fork 17.5 Mile Trail Race",
	    "Race for Excellence 5K",
	    "Mill House Classic 15K",
	    "Autumnfest 8K");
races.n2002 = new Array("Race?",
	    "Norris Dam 12K",
	    "YWCA Race Against Racism",
	    "Love Your Libraries 5K",
	    "Adam Downen Race for Responsibility",
	    "Race for Victims Rights 5K",
	    "Trots Against Clots 5K",
	    "Run for the Deaf 5K",
	    "Red Devil 5K",
	    "MATS Run for Shelter 5K",
	    "Kidney Foundation Gift of Life 5K",
	    "Bobcat Run 5K",
	    "Cove Lake 5K",
	    "Olde Towne 5K",
	    "Louise Mandrell 5K",
	    "Midnight 8K",
	    "VMC 5K",
	    "Tomato Festival 5K",
	    "Fort Loudoun 5K",
	    "Run for Technology 5K",
	    "Moonlight Run for the Arts 5K",
	    "Halls Has It 5K",
	    "Farragut Fall 5K",
	    "Blount County Run for Ed 5K",
	    "Hops and Hope 5K",
	    "Gazebo 5K",
	    "Race for the Cure 5K",
	    "Lakeside Autumn Chase 5K",
	    "Twilite Run for the Pumpkins 5K",
	    "Moonshiner 5K",
	    "Be Someone's Hero 5K",
	    "Buddy's Race Against Cancer 5K",
	    "Run for Lady Vols 5K",
	    "Power to Make a Difference 5K",
	    "IAMS / UTCVM 5K",
	    "CASA Reindeer Run 5K",
	    "Jingle Bells Run for Arthritis 5K");
races.k2001 = new Array("Race?",
	    "Millennium 5K",
	    "No Frills Chills 10K",
	    "Straw Plains Half Marathon",
	    "Smoky Mountain 5K", 
	    "Smoky Mountain Half Marathon",
	    "Calhouns 10-Miler",
	    "Hammer Duathlon",
	    "River Run 5K",
	    "Greenways 5K",
	    "Dogwood Classic 5K",
	    "News-Sentinel EXPO 10K",
	    "News-Sentinel EXPO 5K",
	    "Kids Road Mile",
	    "Fireball Moonlite Classic 5K",
	    "Carter Mill 10K",
	    "Midsummer Night's 4-Miler",
	    "Wears Valley 15K",
	    "Big South Fork 17.5M",
	    "Race for Excellence 5K",
	    "Run for the Pumpkins 8K",
	    "Mill House Classic 15K",
	    "Autumnfest 8K");
races.n2001 = new Array("Race?",
	    "Race Against Racism 5K",
	    "Love Your Libraries 5K",
	    "Cherokee 5K",
	    "Fort Loudon 5K",
	    "Race for Responsibility 5K",
	    "Run for Ed 5K",
	    "Curtin Renaissance Run 5K",
	    "ASAP 5K",
	    "Run for the Deaf 5K",
	    "Outback 5K",
	    "Run for Shelter 10K and 5K",
	    "Red Devil 5K",
	    "Gift of Life 5K",
	    "Bobcat Run 5K",
	    "Cove Lake 5K",
	    "Olde Towne 5K",
	    "Louise Mandrell 5K",
	    "Pigeon Forge 8K",
	    "VMC 5K",
	    "Gazebo 5K",
	    "Boomsday 5K",
	    "Halls Has It 5K",
	    "Moonlight Run for Arts 5K",
	    "Ijams Adventure Triathlon",
	    "Farragut Fall 5K",
	    "Sweetwater Celebration 5K",
	    "Buddy's Race Against Cancer 5K",
	    "Be Someone's Hero 5K",
	    "Seymour Rotary 5K",
	    "Hops and Hope 5K",
	    "Bethel Half Marathon",
	    "Lady Vols 5K",
	    "Lakeside Autumn Chase 5K",
	    "New Horizons Fellowship 5K",
	    "Power to Make a Difference 5K",
	    "Jingle Bells 5K");
	 races.k2000 = new Array("Race?",
	    "Millennium 5K",
	    "No Frills 10K", 
	    "Straw Plains Half Marathon", 
	    "Smoky Mountain Marathon", 
	    "Smoky Mountain 8K", 
	    "Calhouns 10M", 
	    "Running the Green 5K", 
	    "River Run 5K", 
	    "Greenways 5K", 
	    "Dogwood 5K", 
	    "Expo 10K", 
	    "Expo 5K", 
	    "Kids Mile", 
	    "Fireball 5K", 
	    "Carter Mill 10K", 
	    "Brew-Ha-Ha 8K", 
	    "Wears Valley 15K",
	    "Big South Fork 17.5M",
	    "Run for Excellence 5K",
	    "Run for the Pumpkins 8K",
	    "Mill House Classic 15K",
	    "Autumnfest 8K");
	  races.n2000 = new Array("Race?",
	    "YWCA Racism 5K",
	    "Smoky Mtn Lights 5K",
	    "Love Your Libraries 5K",
	    "Mardi Gras 5K",
	    "Cherokee 5K",
	    "Chickamauga Chase 5K",
	    "Chickamauga Chase 15K",
	    "Fort Loudon 5K",
	    "Run for Ed 5K",
	    "Renaissance 5K",
	    "Red Cross 5K",
	    "Run for Deaf 5K",
	    "Race Against Racism 5K",
	    "Outback 5K",
	    "Gift of Life 5K",
	    "Bobcat 5K",
	    "Cove Lake 5K",
	    "Old Towne 5K",
	    "Louise Mandrell 5K",
	    "Race for Rights 5K",
	    "Pigeon Forge 8K",
	    "Gazebo 5K",
	    "VMC 5K",
	    "Waterfront 5K",
	    "Halls 5K",
	    "Carpenters 5K",
	    "Farragut 5K",
	    "Sweetwater Celebration 5K",
	    "Hops and Hope 5K",
	    "Race for the Cure 5K",
	    "Race for the Cure Survivors",
	    "Be Soneone's Hero 5K",
	    "Seymour Rotary 5K",
	    "Dog Jog 5K",
	    "Lakeside 5K",
	    "Buddy's 5K",
	    "Olde Towne 5K",
	    "Jingle Bells 5K",
	    "ASAP 5K");
	 races.k1999 = new Array("Race?",
	    "No-Frills Chills 10K",
	    "Straw. Plains Half Marathon", 
	    "Smoky Mountain Marathon", 
	    "Smoky Mountain 8K", 
	    "Calhouns 10 Miler", 
	    "River Run 5K", 
	    "Greenways 5K", 
	    "Dogwood 5K", 
	    "Expo 10K", 
	    "Expo 5K", 
	    "Fireball 5K", 
	    "Carter Mill 10K", 
	    "Brew-Ha-Ha 8K", 
	    "Wears Valley 15K", 
	    "Big South Fork 17M", 
	    "Run for the Pumpkins 8K", 
	    "Mill House 15K", 
	    "Autumnfest 10K");
	 races.n1999 = new Array("Race?",
	    "Mardi Gras 5K",
	    "Run For Ed 5K",
	    "Outback 5K",
	    "Red Cross 5K",
	    "Run for Deaf 5K",
	    "Dollywood 5K",
	    "Tennessee Mile",
	    "Race Against Racism 5K",
	    "Red Devil 5K",
	    "Bobcat 5K",
	    "Cove Lake 5K",
	    "Race For Rights",
	    "Louise Mandrell 5K",
	    "Pigeon Forge 8K",
	    "VMC 5K",
	    "Gazebo 5K",
	    "Waterfront 5K",
	    "Moonlight 5K",
	    "Farragut Fall 5K",
	    "Be Someone's Hero 5K",
	    "Race for Cure 5K",
	    "Oak Ridge Half Marathon",
	    "Oak Ridge 5K",
	    "Lakeside 5K",
	    "Buddy's 5K",
	    "YMCA 5K",
	    "Jingle Bells 5K",
	    "4th & Gill 5K");
	 races.k1998 = new Array("Race?",
	    "Straw. Plains Half Marathon",
	    "Smoky Mountain Marathon",
	    "Smoky Mountain 8K",
	    "Calhouns 10-Miler",
	    "River Run 5K",
	    "Greenways 5K",
	    "Dogwood 5K",
	    "Expo 5K",
	    "Expo 10K",
	    "Fireball 5K",
	    "Carter Mill 10K",
	    "BrewHaHa 8K",
	    "Wears Valley 15K",
	    "Big South Fork 17M",
	    "Run for the Pumpkins 8K",
	    "Millhouse 15K",
	    "Autumnfest 8K");
	 races.n1998 = new Array("Race?",
	    "Mardi Gras", 
	    "Runnin' O' The Green", 
	    "Run for the Deaf", 
	    "Dollywood Dash",
	    "Outback 5K",
	    "Race Against Racism",
	    "Run fer th' Hills",
	    "Cove Lake 5K",
	    "Tennessee Road Mile",
	    "VMC 5K",
	    "Gazebo 5K",
	    "Midnight 8K",
	    "Louise Mandrell 5K",
	    "Waterfront 5K",
	    "Farragut Fall 5K",
	    "Race for Cure 5K",
	    "YMCA 5K",
	    "Be Someone's Hero 5K",
	    "4th & Gill 5K",
	    "Santa's Spec. Half Marathon",
	    "Buddy's Race Against Cancer",
	    "Jingle Bells 5K");
	 races.k1997 = new Array("Race?",
	    "Wears Valley 15K",
	    "Big South Fork 17M",
	    "Run for the Pumpkins", 
	    "Mill House 15K", 
	    "Autumnfest");
	 races.n1997 = new Array("Race?",
	     "Buddy's Race Against Cancer", 
	    "Santa's Special Open Road Mile",
	    "Santa's Special Half Marathon", 
	    "Jingle Bells");
	 orgSelected = "k";
	 resultSelected = "c";
	 yearSelected = 0;
	} 
	
	
}
 
function updateYear(year) {
  yearSelected = 2011-year.selectedIndex;
  updateMenu();
  document.forms[0].elements[1].selectedIndex = 0;
}
 
function updateOrg(org) {
  if (org.selectedIndex == 0) {
   orgSelected = "k";
  } else {
   orgSelected = "n";
  }
  updateMenu();
  document.forms[0].elements[1].selectedIndex = 0;
}
 
function updateResult(result) {
  if (result.selectedIndex == 0) {
    resultSelected = "c";
  } else {
    resultSelected = "o";
  }
  if (document.forms[0].elements[1].selectedIndex > 0) {
    displayResults();
  }
}
 
function updateMenu() {
 if (document.images) {
  if (yearSelected == 1997) {
    if(orgSelected == "k") {
      act = races.k1997;
    } else {
      act = races.n1997;
    }
  } else if (yearSelected == 1998) {
    if(orgSelected == "k") {
      act = races.k1998;
    } else {
      act = races.n1998;
    }
  } else if (yearSelected == 1999) {
    if(orgSelected == "k") {
      act = races.k1999;
    } else {
      act = races.n1999;
    }
  } else if (yearSelected == 2000) {
    if(orgSelected == "k") {
      act = races.k2000;
    } else {
      act = races.n2000;
    }
  } else if (yearSelected == 2001) {
    if(orgSelected == "k") {
      act = races.k2001;
    } else {
      act = races.n2001;
    }
} else if (yearSelected == 2002) {
    if(orgSelected == "k") {
      act = races.k2002;
    } else {
      act = races.n2002;
    }
} else if (yearSelected == 2003) {
    if(orgSelected == "k") {
      act = races.k2003;
    } else {
      act = races.n2003;
    }
} else if (yearSelected == 2004) {
    if(orgSelected == "k") {
      act = races.k2004;
    } else {
      act = races.n2004;
    }
} else if (yearSelected == 2005) {
    if(orgSelected == "k") {
      act = races.k2005;
    } else {
      act = races.n2005;
    }
} else if (yearSelected == 2006) {
    if(orgSelected == "k") {
      act = races.k2006;
    } else {
      act = races.n2006;
    }
} else if (yearSelected == 2007) {
    if(orgSelected == "k") {
      act = races.k2007;
    } else {
      act = races.n2007;
    }
} else if (yearSelected == 2008) {
    if(orgSelected == "k") {
      act = races.k2008;
    } else {
      act = races.n2008;
      }
} else if (yearSelected == 2009) {
    if(orgSelected == "k") {
      act = races.k2009;
    } else {
      act = races.n2009;
      }
} else if (yearSelected == 2010) {
    if(orgSelected == "k") {
      act = races.k2010;
    } else {
      act = races.n2010;
    }} else {
   act = new Array();
  }
  document.forms[0].elements[1].length = act.length;
  for(i=0;i<act.length;i++)
    document.forms[0].elements[1].options[i].text = act[i];
 } else {
   alert("Your browser does not allow this script to modify the race selection list.");
 }
}
 
function displayResults() {
  raceNumber = document.forms[0].elements[1].selectedIndex
  newLocOverall = "Races/" + orgSelected+yearSelected+"-"+raceNumber+"c.htm"
  newLocAge = "Races/" + orgSelected+yearSelected+"-"+raceNumber+"o.htm"
  
  var hrefs = $('tablist').getElementsBySelector('a');
 
  hrefs[0].href=newLocOverall;
  hrefs[1].href=newLocAge
  
  handlelink(hrefs[0], 'Overall')
  
/*  GetResultsAjaxOverall(newLocOverall);
  GetResultsAjaxAge(newLocAge); */
  
  return false;
  //parent.bottom_frame.location=newLoc;
}