
// The following scripts handle the setups for the 4 dropdown lists
// Build Array Function

function makeArray() {
var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
this.length = args.length;
}

// This array holds the names of the archery club websites

var clubs = new makeArray("Select and visit a club",
                          "Black Mountain Bowmen - San Jose",
                          "Briones Archers - Orinda",
                          "Bowhunters Unlimited - San Jose",
						  "California State Archery Assoc. (NAA)",
						  "Cherry Valley Bowhunters - Cherry Valley",						  
                          "Conejo Valley Archers - Simi Valley",
						  "Cougar Mountain Archers - Brownsville",
						  "Cupid's Gate Archery - San Francisco",
                          "Diablo Bowmen - Clayton",
						  "Eastern Sierra Bowmen - Bishop",
						  "El Dorado Hills Bowmen",
						  "El Toro Archers",
						  "Fresno Field Archers",
                          "Humboldt State Archery Club",
						  "Ishi Archers - Red Bluff",
						  "Kern River Archers - Lake Isabella",
                          "Kings Mountain Archers - Woodside",
                          "Lodi Bowmen",
						  "Madera Field Archers - Madera",
						  "Manteca Sportsman's Club - Archery Range", 
                          "Maya Archers - Roseville",						 
                    	  "Nevada County Gold - JOAD",
						  "Nevada County Sportsmen - Nevada City",
                          "Northwoods Bowmen - Sonoma",
                          "Ojai Valley Field Archers - Ojai",
						  "Oranco Bowmen - Chino",
						  "Palomo Archery - Palo Alto", 
                          "Pasadena Roving Archers",
						  "Riverside Archers",
                          "Silverado Archers - Napa",
						  "Saddleback Archery - San Juan Capistrano",
						  "Salinas Bowmen",
                          "San Diego Archers",
						  "San Francisco Archers - Pacifica",
                          "Santa Cruz Archers",
						  "Silverado Archers - Napa",
						  "Silver Arrow Bowmen - Nevada",
						  "Sonoma County Bowmen - Santa Rosa",
						  "South Bay Archery Club - Rancho Palos Verdes",
						  "Stanford Archery - Stanford University",
						  "State Archers of CA (Target Archery)",
                          "Straight Arrow Bowhunters - Redding",
						  "USC Archery Club",
                          "Verdugo Hills Archers",
						  "Widsith Archers",
						  "Whittier Narrows Archery Club - LA Area",
						  "Woodlake-Antelope Archers",
						  "Woodley Park Archery Range - LA Area",
                          "Yahi Bowmen",
						  "Yuba-Sutter Bowhunters",                                                   
                 		  "SoCal Archery",                        
                          "NCFAA");

// This array hold the URLs of the archery club websites

var clubUrls = new makeArray("",
                         "http://www.quicksitemaker.com/members/archery",                               
                         "http://www.brionesarchers.org",
                         "http://www.bhuarchers.org/",
						 "http://www.calarchery.com",
						 "http://www.cherryvalleybowhunters.wikispaces.com",
                         "http://www.cvarchers.org",
						 "http://www.cougarmountainarchers.com",
						 "http://www.cupidsgatearchery.com", 
                         "http://www.diablo-bowmen.org",
						 "http://archeryclub.tripod.com",
						 "http://www.eldoradohillsbowmen.com",
						 "http://www.eltoroarchers.org",
						 "http://fresnofieldarchers.homestead.com", 
                         "http://www.humboldt.edu/~zdt1/Archery_club.html#archery",
						 "http://ishi-archery.clearwire.net/",
                         "http://www.geocities.com/kernriverarchers/",
						 "http://www.kingsmountainarchers.org",
                         "http://www.lodibowmen.com",
						 "http://sites.google.com/site/maderafieldarchers",
						 "http://www.mantecasportsmen.org/Archery/Archery.htm",   
                         "http://www.mayaarchers.com",
                 		 "http://www.nevadacountygoldteam.org",
						 "http://www.nevadacountysportsmen.com",
                         "http://www.well.com/user/martyg/Northwoods.html",
                         "http://www.west.net/~mpi/archery.htm",
						 "http://www.oranco.org",
						 "http://www.palomoarchery.com",
                         "http://www.rovingarchers.com",
						 "http://www.riversidearchers.com/",
                         "http://www.ncfaa.com/silverado.html",
						 "http://www.saddlebackarchery.org",
						 "http://www.salinasbowmen.org",
                         "http://www.sandiegoarchers.com",
						 "http://www.sfarchers.com",
                         "http://www.santacruzarchers.com/",
						 "http://www.ncfaa.com/silverado.html",
						 "http://www.silverarrowbowmen.org",
						 "http://www.scbarchery.org",
						 "http://www.southbayarchery.net",
						 "http://www.stanford.edu/group/archery",
						 "http://www.calarchery.com",
                         "http://www.straightarrowbowhunters.com",
						 "http://www-scf.usc.edu/~archery/index.html", 
                         "http://www.verdugohillsarchers.org",
						 "http://www.archeryweb.com/widsith",
						 "http://www.whittiernarrows.com",
						 "http://www.woodlakeantelopearchers.com",
						 "http://www.woodleyparkarchers.com",        
                         "http://www.co.stanislaus.ca.us/ER/PARKS/archery.htm",
						 "http://www.yubasutterbowhunters.com ",      
                     	 "http://www.socalarchery.com",
                         "http://www.ncfaa.com");

// This function determines which club is selected and goes to it.

function goClub(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = clubUrls[i];  
    }
}


// This array holds the names of the archery pro shop websites

var shops = new makeArray("Select and visit a shop",
                          "Archery Sports - Simi Valley",
                          "Archery Only - Newark",
						  "Backroom Archery - Santa Rosa", 
                          "The Bow Rack - San Pablo",
						  "Deer Creek Archery - Chico",
						  "Don Brown Traditional Archery - Riverside",
						  "Full Quiver Archery - Shingle Springs",
						  "Highland Archery - Modesto",
						  "Impact Archery, Inc. - Fresno",
						  "Orange County Archery - Fountain Valley",
						  "Pat Norris Archery - Grass Valley",             
                     	  "Pacifica Archery - Pacifica",
						  "Predators Archery - Gilroy",
						  "Riverside Archery - Riverside",						           
                          "Unlimited Outdoors - Penn Valley",
                          "Wilderness Archery - Rocklin");                          
                         
// This array hold the URLs of the archery pro shop websites

var shopUrls = new makeArray("",
                         "http://www.archerysportsusa.com",
                         "http://www.archeryonly.net",
						 "http://www.backroomarchery.com",
                         "http://www.bowrack.com",
						 "http://www.deercreekarchery.biz",
						 "http://dbtraditionalarchery.com",
						 "http://www.fullquiverarchery.com",
						 "http://www.highlandarchery.com",						 						 
						 "http://www.impactarcheryinc.com",
						 "http://www.ocarchery.com",
						 "http://www.patnorrisarchery.com",
						 "http://www.pacificaarchery.com",
						 "http://www.predatorsarchery.com",
						 "http://www.riversidearcheryca.net",						 						                      
                         "http://www.unlimitedoutdoors.com",
                         "http://www.wilderness-archery.com");
                        
// This function determines which pro shop is selected and goes to it.

function goShop(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = shopUrls[i];  
    }
}

// This array holds the names of the USA state archery organization websites

var sites = new makeArray("Select and visit a website",
                          "Arizona Bowhunters Association",
						  "Arizona State Archery Association",
                          "California Bowmen Hunters",
						  "Colorado Bowhunters Association",
                          "Colorado State Archery Association",
                          "Connecticut State Archery Association",
						  "Florida Archery Association",
         				  "Idaho: Idaho Archery",
						  "Indiana: Deep River Bowmen",
						  "Iowa Bowhunters Association",
						  "Iowa State Archery Association",
						  "Michigan Bowhunters Association",
						  "Michigan: Fremont Archers",
                          "Montana Bowhunters Association",
						  "Nebraska: Golden Arrow Archery Club",                          
						  "Nevada Bowhunters Association",
                          "New Jersey State Archery Association",
						  "New Mexico Bowhunters Association",
						  "New York Field Archers & Bowhunters",
						  "Suffolk Field Archers & Bowhunters",
						  "North Carolina Bowhunters Association",
						  "North Dakota Bowhunters Association",
						  "Ohio Archers Association",
						  "Oregon Bowhunters",
						  "Oregon: Cascadian Bowmen",
						  "United Bowhunters of Pennsylvania",
						  "Rhode Island Field Archery Association",
						  "South Carolina Archery Association",
                          "South Dakota Archers Association",
						  "Texas State Archery Association",
						  "Virginia Bowhunter Association",
						  "Washington State Archery Association",                          
                          "Wisconsin Field Archery Association");                                                           
                  
// This array hold the URLs of the archery organization websites

var siteUrls = new makeArray("",
                         "http://www.arizonabowhunters.org",
						 "http://www.azarchery.com/",
                         "http://www.cbhsaa.net",
						 "http://www.coloradobowhunting.org",
                         "http://www.coloradoarchery.org",						 
                         "http://www.angelfire.com/ct/ctarcher/",                         
						 "http://www.floridaarchery.org",
						 "http://www.idahoarchery.com",
						 "http://www.geocities.com/Yosemite/Forest/6601",
						 "http://www.iowabowhunters.org",
						 "http://www.geocities.com/Colosseum/Field/1291",
				    	 "http://www.michiganbowhunters.org",
						 "http://www.fremontarchers.org/",						 
                         "http://www.mtba.org",
						 "http://www.archeryclub.com",                         
						 "http://residents.bowhunting.net/NBHA/Default.htm",
                         "http://www.sfaa-nj.com/",
						 "http://www.angelfire.com/nm/bigarrow/NMBA_Home.html",
						 "http://www.localnet.com/~archery1/",
						 "http://clubs.bowhunting.net/suffolkarchers",
						 "http://www.ncbowhunter.com",
						 "http://www.ndbowhunters.org",
						 "http://members.aol.com/kboaa/index.html",
						 "http://www.oregonbowhunters.com",
						 "http://www.cascadianbowmen.com",
						 "http://www.ubofpa.org",
						 "http://users.ids.net/~dkerber/rifaa.htm",
						 "http://clubs.bowhunting.net/SCAA",
                         "http://www.sdarchery.com/",
						 "http://www.texasarchery.org/",
						 "http://www.geocities.com/~vbarchers",
						 "http://www.crispie.com/wsaa",                         
                         "http://hometown.aol.com/stpro50/page/index.htm");                                                
                         
// This function determines which organization is selected and goes to it.

function goSite(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = siteUrls[i];  
    }
}

// This array holds the names of the archery manufacturer websites

var amo = new makeArray("Select and visit a company",
                          "Alpine Archery",
						  "Arizona E-Z Fletch",
						  "BCY",
                          "Bear Archery",
						  "Beman USA",
						  "Ben Pearson Archery",
						  "Black Widow Bows",
						  "Bohning Company, Ltd.",
						  "Cavalier Archery",
						  "Darton Archery",             
                     	  "Delta 3-D Targets",        
                          "EASTON Archery",
						  "Gateway Feathers",
						  "Golden Key Futura",
						  "Gold Tip Archery",
						  "GORE-TEX",
						  "High Country Archery",
						  "HOYT USA",
						  "Jennings Archery",
						  "Martin Archery",
						  "Mathews Archery",
						  "McKenzie 3-D Targets",
						  "MORRELL Targets",
						  "Mossy Oak Apparel Co.",
						  "Muzzy Products",
						  "C.P. Oneida Eagle Bows",
						  "Precision Balance/Doinker Stabilizers",
						  "PSE  Precision Shooting Equipment",
						  "Reinhart 3-D targets",
						  "Rose City Archery (Cedar Shafts)",
						  "Saunders Archery",
						  "Sky Archery",
						  "Stanislawski Archery Products",
						  "Stanley Hips Targets",
						  "Sticks N' Limbs Camouflage",
						  "TRUEFLIGHT Feathers");						                       
                         
// This array hold the URLs of the archery manufacturer websites

var amoUrls = new makeArray("",
                         "http://www.alpinearchery.com",
						 "http://www.ezfletch.com",
						 "http://www.bcyfibers.com",
                         "http://www.beararch.com",
						 "http://www.beman.com",
						 "http://www.benpearson.com",
						 "http://www.blackwidowbows.com",
						 "http://www.bohning.com",
						 "http://www.cavalier-archery.com",
						 "http://www.dartonarchery.com", 
						 "http://www.deltatargets.net",
                      	 "http://www.eastonarchery.com",
						 "http://www.gatewayfeathers.com",
						 "http://www.goldenkeyarchery.com",
						 "http://www.goldtip.com/",
						 "http://www.gore-tex.com",
						 "http://www.highcountryarchery.com",
						 "http://www.hoytusa.com",
						 "http://www.jenningsarchery.com",
						 "http://www.martinarchery.com",
						 "http://www.mathewsinc.com",
						 "http://www.mckenzie3d.com",
						 "http://www.morrelltargets.com",
						 "http://www.mossyoak.com",
						 "http://www.badtothebone.com",
						 "http://www.oneidaeaglebows.com",
						 "http://www.doinker.com",
						 "http://www.pse-archery.com",
						 "http://www.rinehart3-d.com/",
						 "http://www.rosecityarchery.com",						
						 "http://www.sausa.com",
						 "http://www.skybows.com",
						 "http://www.stanislawskiarchery.com",
						 "http://www.hipstargets.com",
						 "http://www.bowhunting.net/sticks",
						 "http://www.trueflightfeathers.com");
					                        
// This function determines which manufacturer is selected and goes to it.

function goAmo(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = amoUrls[i];  
    }
}
