function addMarkers()
{
mySelect = document.getElementById('selection');
Thousand_Oaks = [];Ventura = [];Simi_Valley = [];Moorpark = [];Newbury_Park = [];Port_Hueneme = [];Santa_Paula = [];Camarillo = [];Oxnard = [];Oak_Park = [];Ojai = [];Fillmore = [];Somis = [];Piru = [];Saticoy = [];Oak_View = [];Westlake_Village = [];mySelect.options[mySelect.options.length] = new Option("Camarillo schools",'all=Camarillo');
mySelect.options[mySelect.options.length] = new Option("Fillmore schools",'all=Fillmore');
mySelect.options[mySelect.options.length] = new Option("Moorpark schools",'all=Moorpark');
mySelect.options[mySelect.options.length] = new Option("Newbury Park schools",'all=Newbury_Park');
mySelect.options[mySelect.options.length] = new Option("Oak Park schools",'all=Oak_Park');
mySelect.options[mySelect.options.length] = new Option("Oak View schools",'all=Oak_View');
mySelect.options[mySelect.options.length] = new Option("Ojai schools",'all=Ojai');
mySelect.options[mySelect.options.length] = new Option("Oxnard schools",'all=Oxnard');
mySelect.options[mySelect.options.length] = new Option("Piru schools",'all=Piru');
mySelect.options[mySelect.options.length] = new Option("Port Hueneme schools",'all=Port_Hueneme');
mySelect.options[mySelect.options.length] = new Option("Santa Paula schools",'all=Santa_Paula');
mySelect.options[mySelect.options.length] = new Option("Saticoy schools",'all=Saticoy');
mySelect.options[mySelect.options.length] = new Option("Simi Valley schools",'all=Simi_Valley');
mySelect.options[mySelect.options.length] = new Option("Somis schools",'all=Somis');
mySelect.options[mySelect.options.length] = new Option("Thousand Oaks schools",'all=Thousand_Oaks');
mySelect.options[mySelect.options.length] = new Option("Ventura schools",'all=Ventura');
mySelect.options[mySelect.options.length] = new Option("Westlake Village schools",'all=Westlake_Village');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.87664795,34.19689941),"
",iconRd);
mySelect.options[mySelect.options.length] = new Option("Acacia Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.24739075,34.27201462),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Anacapa Middle School",'Ventura=' + Ventura.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Apollo High Continuation School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.79322052,34.27303696),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arroyo Elementary School",'Simi_Valley=' + Simi_Valley.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.90383148,34.26501083),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arroyo West Elementary School",'Moorpark=' + Moorpark.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.88337708,34.20339966),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Aspen Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Atherwood Elementary School",'Simi_Valley=' + Simi_Valley.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.20870972,34.27614975),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Balboa Middle School",'Ventura=' + Ventura.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.95407867,34.15794754),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Banyan Elementary School",'Newbury_Park=' + Newbury_Park.length);
Port_Hueneme[Port_Hueneme.length] = createMarker(new GPoint(-119.19117737,34.15466309),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bard (richard) Elementary School",'Port_Hueneme=' + Port_Hueneme.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bedell (thelma B.) Elementary School",'Santa_Paula=' + Santa_Paula.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.04686737,34.22806168),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bedford Open Elementary School",'Camarillo=' + Camarillo.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Berylwood Elementary School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Big Springs Elementary School",'Simi_Valley=' + Simi_Valley.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17124939,34.16209793),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Blackstock (charles) Junior High School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Blanchard Elementary School",'Santa_Paula=' + Santa_Paula.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.25413513,34.26586533),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Blanche Reynolds Elementary School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brekke (norman R.) Elementary School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.10534668,34.32812500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Briggs Elementary School",'Santa_Paula=' + Santa_Paula.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.75590515,34.17254639),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brookside Elementary School",'Oak_Park=' + Oak_Park.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.21700287,34.27748108),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Buena High School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.21700287,34.27748108),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Buena Vista High Continuation School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.27895355,34.27963257),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Cabrillo Middle School",'Ventura=' + Ventura.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-122.27159882,37.80393219),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("California Virtual Academy @ Jamestown",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-122.27159882,37.80393219),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("California Virtual Academy @ Kern",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-122.27159882,37.80393219),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("California Virtual Academy @ San Diego",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.78868000,34.27671400),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("California Virtual Academy @ San Mateo",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.78868000,34.27671400),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("California Virtual Academy At Jamestown",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.00761414,34.21946716),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Camarillo (adolfo) High School",'Camarillo=' + Camarillo.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.04746246,34.24145126),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Camarillo Heights Elementary School",'Camarillo=' + Camarillo.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.84443665,34.30057907),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Campus Canyon Elementary School",'Moorpark=' + Moorpark.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-118.99126434,34.23495865),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Castle View Elementary School",'Camarillo=' + Camarillo.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.16374969,34.17170334),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Channel Islands High School",'Oxnard=' + Oxnard.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.24263000,34.44816589),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Chaparral High Continuation School",'Ojai=' + Ojai.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.88652039,34.28456116),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Chaparral Middle School",'Moorpark=' + Moorpark.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chavez (cesar E.) Elementary School",'Oxnard=' + Oxnard.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.17006683,34.27786255),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Citrus Glen Elementary School",'Ventura=' + Ventura.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.85306549,34.18227386),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Colina Middle School",'Thousand_Oaks=' + Thousand_Oaks.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.85813904,34.28805923),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Community High Continuation School",'Moorpark=' + Moorpark.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.84322357,34.17767715),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Conejo Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.92024994,34.18376160),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Conejo Valley High Continuation School",'Newbury_Park=' + Newbury_Park.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crestview Elementary School",'Simi_Valley=' + Simi_Valley.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Curren Elementary School",'Oxnard=' + Oxnard.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.96311188,34.17073059),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cypress Elementary School",'Newbury_Park=' + Newbury_Park.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.29237366,34.30118561),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("De Anza Middle School",'Ventura=' + Ventura.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.02113342,34.23743820),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dos Caminos Elementary School",'Camarillo=' + Camarillo.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Driffill Elementary School",'Oxnard=' + Oxnard.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.24201202,34.26846313),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("El Camino High (alter).",'Ventura=' + Ventura.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.04686737,34.22806168),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("El Descanso Elementary School",'Camarillo=' + Camarillo.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17005157,34.23591614),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("El Rio Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elm Street Elementary School",'Oxnard=' + Oxnard.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.22628021,34.27233124),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elmhurst Elementary School",'Ventura=' + Ventura.length);
Fillmore[Fillmore.length] = createMarker(new GPoint(-118.91280365,34.39989853),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Fillmore Community High Continuation School",'Fillmore=' + Fillmore.length);
Fillmore[Fillmore.length] = createMarker(new GPoint(-118.91280365,34.39989853),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fillmore Middle School",'Fillmore=' + Fillmore.length);
Fillmore[Fillmore.length] = createMarker(new GPoint(-118.91280365,34.39989853),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Fillmore Senior High School",'Fillmore=' + Fillmore.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.88083649,34.28122330),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Flory Elementary School",'Moorpark=' + Moorpark.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.22671509,34.27852631),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Foothill Technology High School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.29658508,34.29661942),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Foster (e.p.) Elementary School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Frank (robert J.) Intermediate",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fremont Intermediate",'Oxnard=' + Oxnard.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.07646179,34.20676422),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Frontier High Continuation School",'Camarillo=' + Camarillo.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Garden Grove Elementary School",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.07613373,34.20676422),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Gateway County Community",'Camarillo=' + Camarillo.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glen City Elementary School",'Santa_Paula=' + Santa_Paula.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.86575317,34.19377518),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenwood Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Ventura[Ventura.length] = createMarker(new GPoint(-120.79660797,38.72978973),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Golden Valley Charter",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.18136597,34.16577911),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Green (e. O.) Junior High School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Harrington Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17449951,34.15743637),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hathaway (julien) Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.18373108,34.15010452),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Haycox (art) Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Haydock (richard B.) Intermediate",'Oxnard=' + Oxnard.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.83208466,34.30148697),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("High School At Moorpark College",'Moorpark=' + Moorpark.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hillside Middle School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hollow Hills Elementary School",'Simi_Valley=' + Simi_Valley.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.23281860,34.17248535),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hollywood Beach Elementary School",'Oxnard=' + Oxnard.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.27895355,34.27963257),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Homestead (alternative) Elementary School",'Ventura=' + Ventura.length);
Port_Hueneme[Port_Hueneme.length] = createMarker(new GPoint(-119.19683075,34.15099716),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hueneme Elementary School",'Port_Hueneme=' + Port_Hueneme.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.18185425,34.16096115),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hueneme High School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Isbell Middle School",'Santa_Paula=' + Santa_Paula.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.19030762,34.28139114),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Juanamaria Elementary School",'Ventura=' + Ventura.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Justin Elementary School",'Simi_Valley=' + Simi_Valley.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.25436401,34.27975082),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Juvenile Court Schools",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kamala Elementary School",'Oxnard=' + Oxnard.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.67045593,34.26378632),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Katherine Elementary School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Knolls Elementary School",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.00906372,34.23423004),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("La Mariposa Elementary School",'Camarillo=' + Camarillo.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.85791016,34.21722031),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ladera Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.09693146,34.16127014),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Laguna Vista Elementary School",'Oxnard=' + Oxnard.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.83272552,34.22002792),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Language Ranch Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17590332,34.16849899),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Larsen (ansgar) Elementary School",'Oxnard=' + Oxnard.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-118.99126434,34.23495865),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Las Colinas Middle School",'Camarillo=' + Camarillo.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.06936646,34.22663879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Las Posas Elementary School",'Camarillo=' + Camarillo.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lemonwood Elementary School",'Oxnard=' + Oxnard.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Simi_Valley=' + Simi_Valley.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.30919647,34.35219955),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.25016022,34.27820969),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Loma Vista Elementary School",'Ventura=' + Ventura.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.03013611,34.22404099),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Los Altos Middle School",'Camarillo=' + Camarillo.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.84064484,34.20776367),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Los Cerritos Middle School",'Thousand_Oaks=' + Thousand_Oaks.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.92024994,34.18376160),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Los Osos High School",'Thousand_Oaks=' + Thousand_Oaks.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.04035187,34.21651840),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Los Primeros Structured Elementary School",'Camarillo=' + Camarillo.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.03046417,34.23271561),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Los Senderos Open School",'Camarillo=' + Camarillo.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Madera Elementary School",'Simi_Valley=' + Simi_Valley.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.89291382,34.19847107),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Madrona Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.93291473,34.18296432),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Manzanita Elementary School",'Newbury_Park=' + Newbury_Park.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.94984436,34.17367172),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maple Elementary School",'Newbury_Park=' + Newbury_Park.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.14593506,34.16166306),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mar Vista Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marina West Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.20945300,34.22148300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marshall (thurgood) Elementary School",'Oxnard=' + Oxnard.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.25467682,34.44607162),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Matilija Junior High School",'Ojai=' + Ojai.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mcauliffe (christa) Elementary School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mckevett Elementary School",'Santa_Paula=' + Santa_Paula.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mckinna Elementary School",'Oxnard=' + Oxnard.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.84131622,34.19320679),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Meadows Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.76382446,34.18454361),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Medea Creek Middle School",'Oak_Park=' + Oak_Park.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.27778625,34.44383240),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Meiners Oaks Elementary School",'Ojai=' + Ojai.length);
Somis[Somis.length] = createMarker(new GPoint(-119.09420013,34.26165771),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mesa Elementary School",'Somis=' + Somis.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.86688995,34.27133942),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Mesa Verde Middle School",'Moorpark=' + Moorpark.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.27985382,34.43337250),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mira Monte Elementary School",'Ojai=' + Ojai.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.20748138,34.25541687),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Montalvo Elementary School",'Ventura=' + Ventura.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Monte Vista",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.05467224,34.22624588),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Monte Vista Middle School",'Camarillo=' + Camarillo.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.89958954,34.27002335),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Moorpark High School",'Moorpark=' + Moorpark.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.20811462,34.27339554),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mound Elementary School",'Ventura=' + Ventura.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.89247131,34.26815414),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mountain Meadows Elementary School",'Moorpark=' + Moorpark.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mountain View Elementary School",'Simi_Valley=' + Simi_Valley.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.05829620,34.35409927),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mupu Elementary School",'Santa_Paula=' + Santa_Paula.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.95389557,34.18568420),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Newbury Park High School",'Newbury_Park=' + Newbury_Park.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.26601410,34.44240570),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Nordhoff High School",'Ojai=' + Ojai.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.18043900,34.20034000),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Norman R. Brekke Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Nueva Vista Intermediate",'Oxnard=' + Oxnard.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.77590942,34.17934418),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oak Hills Elementary School",'Oak_Park=' + Oak_Park.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.76515198,34.18104935),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Oak Park High School",'Oak_Park=' + Oak_Park.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-10.00000000,10.00000000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Oak Park Home Independent Study School (ophiss)",'Oak_Park=' + Oak_Park.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.76531982,34.17103577),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Oak View High Continuation School",'Oak_Park=' + Oak_Park.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.14863586,34.16091537),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Ocean View Junior High School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.14110565,34.33123398),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Olivelands Elementary School",'Santa_Paula=' + Santa_Paula.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.21236420,34.21926880),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Oxnard High School",'Oxnard=' + Oxnard.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.24201202,34.26846313),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pacific High Continuation School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.16103363,34.18283844),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pacific View High (com Day)",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17298889,34.21896362),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pacifica High School",'Oxnard=' + Oxnard.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.85628510,34.21169281),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Park Oaks Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Park View Elementary School",'Simi_Valley=' + Simi_Valley.length);
Port_Hueneme[Port_Hueneme.length] = createMarker(new GPoint(-119.19153595,34.16213989),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Parkview Elementary School",'Port_Hueneme=' + Port_Hueneme.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.87533569,34.26676178),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Peach Hill Elementary School",'Moorpark=' + Moorpark.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.10491180,34.24570465),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Perry (mary B.) High School",'Camarillo=' + Camarillo.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.27120209,34.25856018),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pierpont Elementary School",'Ventura=' + Ventura.length);
Piru[Piru.length] = createMarker(new GPoint(-118.78350067,34.42419815),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Piru Elementary School",'Piru=' + Piru.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.21569824,34.28361511),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Poinsettia Elementary School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.20301056,34.26508713),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Portola Elementary School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.14455414,34.25225067),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Puente High School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ramona Elementary School",'Oxnard=' + Oxnard.length);
Oak_Park[Oak_Park.length] = createMarker(new GPoint(-118.78284454,34.17724228),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Red Oak Elementary School",'Oak_Park=' + Oak_Park.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.88323975,34.19661331),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Redwood Middle School",'Thousand_Oaks=' + Thousand_Oaks.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07353973,34.35398865),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Renaissance High Continuation School",'Santa_Paula=' + Santa_Paula.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.19120789,34.23437881),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rio Del Norte Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.15488434,34.23337555),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Rio Del Valle Junior High School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.16546631,34.22299576),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rio Lindo Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.14455414,34.25225067),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rio Mesa High School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.15827179,34.24000549),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rio Plaza Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.15957642,34.22941208),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rio Real Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.15986633,34.23961639),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rio Rosales Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ritchen (emilie) Elementary School",'Oxnard=' + Oxnard.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rose Avenue Elementary School",'Oxnard=' + Oxnard.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Royal High School",'Simi_Valley=' + Simi_Valley.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.20604706,34.45351410),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Antonio Elementary School",'Ojai=' + Ojai.length);
Fillmore[Fillmore.length] = createMarker(new GPoint(-118.91280365,34.39989853),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Cayetano Elementary School",'Fillmore=' + Fillmore.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Miguel Elementary School",'Oxnard=' + Oxnard.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Santa Clara Elementary School",'Santa_Paula=' + Santa_Paula.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.05829620,34.35409927),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Santa Paula Community Day",'Santa_Paula=' + Santa_Paula.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.06938171,34.35617447),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Santa Paula High School",'Santa_Paula=' + Santa_Paula.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-118.87506104,34.24546432),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Santa Rosa Technology Magnet School",'Camarillo=' + Camarillo.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Santa Susana Elementary School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Santa Susana High School",'Simi_Valley=' + Simi_Valley.length);
Saticoy[Saticoy.length] = createMarker(new GPoint(-119.16004181,34.28476334),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Saticoy Elementary School",'Saticoy=' + Saticoy.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.93669128,34.17891312),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sequoia Middle School",'Newbury_Park=' + Newbury_Park.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.17336273,34.26802444),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Serra (junipero) Elementary School",'Ventura=' + Ventura.length);
Fillmore[Fillmore.length] = createMarker(new GPoint(-118.91280365,34.39989853),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sespe Elementary School",'Fillmore=' + Fillmore.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.30451965,34.28939438),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sheridan Way Elementary School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17884064,34.19073105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sierra Linda Elementary School",'Oxnard=' + Oxnard.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Simi Elementary School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.68709564,34.27900314),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Simi Valley High School",'Simi_Valley=' + Simi_Valley.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sinaloa Middle School",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.01889300,34.22677700),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Somis Academy",'Camarillo=' + Camarillo.length);
Somis[Somis.length] = createMarker(new GPoint(-119.01460266,34.30820084),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Somis Elementary School",'Somis=' + Somis.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.00316620,34.21532822),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Education",'Camarillo=' + Camarillo.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.13779449,34.43651581),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Summit Elementary School",'Ojai=' + Ojai.length);
Port_Hueneme[Port_Hueneme.length] = createMarker(new GPoint(-119.19504547,34.17083740),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sunkist Elementary School",'Port_Hueneme=' + Port_Hueneme.length);
Oak_View[Oak_View.length] = createMarker(new GPoint(-119.30516815,34.39099884),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sunset Elementary School",'Oak_View=' + Oak_View.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.97251892,34.17288208),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sycamore Canyon School",'Newbury_Park=' + Newbury_Park.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sycamore Elementary School",'Simi_Valley=' + Simi_Valley.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thille (grace S.) Elementary School",'Santa_Paula=' + Santa_Paula.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.86856842,34.21051788),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Thousand Oaks High School",'Thousand_Oaks=' + Thousand_Oaks.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-118.99890137,34.23150253),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tierra Linda Elementary School",'Camarillo=' + Camarillo.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.15531158,34.15513611),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tierra Vista Elementary School",'Oxnard=' + Oxnard.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.23556519,34.45762253),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Topa Topa Elementary School",'Ojai=' + Ojai.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Township Elementary School",'Simi_Valley=' + Simi_Valley.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.87646484,34.21744537),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("University Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.03002930,34.22236252),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("University Preparation School At Csu Channel Islan",'Camarillo=' + Camarillo.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.05935669,34.22593689),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Valle Lindo Elementary School",'Camarillo=' + Camarillo.length);
Ojai[Ojai.length] = createMarker(new GPoint(-119.29910278,34.40100098),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Valley Oak Charter",'Ojai=' + Ojai.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Valley View Middle School",'Simi_Valley=' + Simi_Valley.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.07484300,34.20745900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ventura County Rop",'Camarillo=' + Camarillo.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.26831055,34.27777481),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ventura High School",'Ventura=' + Ventura.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.26831055,34.27777481),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ventura Islands High Continuation School",'Ventura=' + Ventura.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.74741000,34.27506300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Vista Elementary School",'Simi_Valley=' + Simi_Valley.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.17893200,34.19881100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Vista Real Charter High School",'Oxnard=' + Oxnard.length);
Moorpark[Moorpark.length] = createMarker(new GPoint(-118.88507843,34.28836060),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Walnut Canyon Elementary School",'Moorpark=' + Moorpark.length);
Newbury_Park[Newbury_Park.length] = createMarker(new GPoint(-118.94554901,34.18594742),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Walnut Elementary School",'Newbury_Park=' + Newbury_Park.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.86577606,34.22505188),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Weathersfield Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Santa_Paula[Santa_Paula.length] = createMarker(new GPoint(-119.07969666,34.36569977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Webster (barbara) Elementary School",'Santa_Paula=' + Santa_Paula.length);
Westlake_Village[Westlake_Village.length] = createMarker(new GPoint(-118.85243225,34.14328766),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Westlake Elementary School",'Westlake_Village=' + Westlake_Village.length);
Westlake_Village[Westlake_Village.length] = createMarker(new GPoint(-118.81770325,34.15900421),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Westlake High School",'Westlake_Village=' + Westlake_Village.length);
Westlake_Village[Westlake_Village.length] = createMarker(new GPoint(-118.82843018,34.16809845),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Westlake Hills Elementary School",'Westlake_Village=' + Westlake_Village.length);
Camarillo[Camarillo.length] = createMarker(new GPoint(-119.03046417,34.23271561),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("White (d.h.) Elementary School",'Camarillo=' + Camarillo.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.69589996,34.27899933),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("White Oak Elementary School",'Simi_Valley=' + Simi_Valley.length);
Thousand_Oaks[Thousand_Oaks.length] = createMarker(new GPoint(-118.89373016,34.21644974),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wildwood Elementary School",'Thousand_Oaks=' + Thousand_Oaks.length);
Ventura[Ventura.length] = createMarker(new GPoint(-119.26332855,34.27122879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Will Rogers Elementary School",'Ventura=' + Ventura.length);
Oxnard[Oxnard.length] = createMarker(new GPoint(-119.16273499,34.16129684),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Williams (fred) Elementary School",'Oxnard=' + Oxnard.length);
Simi_Valley[Simi_Valley.length] = createMarker(new GPoint(-118.77539825,34.26729965),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wood Ranch Elementary School",'Simi_Valley=' + Simi_Valley.length);
} // End addStateMarkers JavaScript Function
// Takes an array of markers and centers/zooms map based on marker range
function centerByArray(myArray, recenter, newMaxMin)
{
if (newMaxMin == true)
reMaxMin(myArray);
for (var i = 0; i < myArray.length; i++)
{
var markLng = myArray[i].getPoint().x;
var markLat = myArray[i].getPoint().y;
if (markLat > maxLat) maxLat = markLat;
if (markLng > maxLng) maxLng = markLng;
if (markLat < minLat) minLat = markLat;
if (markLng < minLng) minLng = markLng;
}
if (recenter)
reCenterMap();
}
// Reinit max/mins
function reMaxMin(myArray)
{
maxLng = myArray[0].getPoint().x;
maxLat = myArray[0].getPoint().y;
minLng = myArray[0].getPoint().x;
minLat = myArray[0].getPoint().y;
}
// Recenter map based on global max/mins
function reCenterMap()
{
var bounds = new GLatLngBounds();
bounds.extend(new GLatLng(minLat, minLng));
bounds.extend(new GLatLng(maxLat, maxLng));
var center_lat = (bounds.getNorthEast().lat() + bounds.getSouthWest().lat()) / 2.0;
var center_lng = (bounds.getNorthEast().lng() + bounds.getSouthWest().lng()) / 2.0;
var center = new GLatLng(center_lat, center_lng);
var zoom = map.getBoundsZoomLevel(bounds);
map.setCenter(center,zoom);
//map.setCenter(center,10);
/*
var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 );
var delta = new GSize(maxLng - minLng, maxLat - minLat);
var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize);
if (minZoom < 4) minZoom = 4; // Lowest possible zoom is 4
map.centerAndZoom(center, minZoom);
*/
}
// Fires when drop down list of schools changes
function selectChange(selection)
{
var myVal = selection.options[selection.selectedIndex].value;
map.closeInfoWindow();
// Add entire array based on variable type
if (myVal.indexOf('all') != -1 && myVal != 'all')
{
var temp = myVal.split('=');
var showArray = temp[1];
// If Array is > X amount of markers, then open in a new page
if (eval(showArray).length > 20)
// New window depends on whether or not we're on the search page
if (location.href.indexOf('nearby_schools.php') == -1)
window.open(location.href + '/map/' + showArray);
else
window.open('/search////' + showArray);
map.removeOverlays(Camarillo);
map.removeOverlays(Fillmore);
map.removeOverlays(Moorpark);
map.removeOverlays(Newbury_Park);
map.removeOverlays(Oak_Park);
map.removeOverlays(Oak_View);
map.removeOverlays(Ojai);
map.removeOverlays(Oxnard);
map.removeOverlays(Piru);
map.removeOverlays(Port_Hueneme);
map.removeOverlays(Santa_Paula);
map.removeOverlays(Saticoy);
map.removeOverlays(Simi_Valley);
map.removeOverlays(Somis);
map.removeOverlays(Thousand_Oaks);
map.removeOverlays(Ventura);
map.removeOverlays(Westlake_Village);
map.addOverlays(eval(showArray));
centerByArray(eval(showArray), true, true); // Center and zoom on set of markers
}
// Add individual markers
if (myVal.indexOf('all') == -1 && myVal != 'all' && myVal.length)
{
var temp = myVal.split('=');
var myArray = temp[0];
var myIndex = parseInt(temp[1]) - 1;
document.getElementById('map').width = "750";
map.removeOverlay(eval(myArray)[myIndex]);
map.addOverlay(eval(myArray)[myIndex]);
GEvent.trigger(eval(myArray)[myIndex],'click');
}
// Show all markers
if (myVal == 'all')
{
cntMarker = 0;
reMaxMin(Thousand_Oaks);map.removeOverlays(Camarillo);
map.removeOverlays(Fillmore);
map.removeOverlays(Moorpark);
map.removeOverlays(Newbury_Park);
map.removeOverlays(Oak_Park);
map.removeOverlays(Oak_View);
map.removeOverlays(Ojai);
map.removeOverlays(Oxnard);
map.removeOverlays(Piru);
map.removeOverlays(Port_Hueneme);
map.removeOverlays(Santa_Paula);
map.removeOverlays(Saticoy);
map.removeOverlays(Simi_Valley);
map.removeOverlays(Somis);
map.removeOverlays(Thousand_Oaks);
map.removeOverlays(Ventura);
map.removeOverlays(Westlake_Village);
map.addOverlays(Camarillo);
centerByArray(Camarillo, false, false);
cntMarker += Camarillo.length;
map.addOverlays(Fillmore);
centerByArray(Fillmore, false, false);
cntMarker += Fillmore.length;
map.addOverlays(Moorpark);
centerByArray(Moorpark, false, false);
cntMarker += Moorpark.length;
map.addOverlays(Newbury_Park);
centerByArray(Newbury_Park, false, false);
cntMarker += Newbury_Park.length;
map.addOverlays(Oak_Park);
centerByArray(Oak_Park, false, false);
cntMarker += Oak_Park.length;
map.addOverlays(Oak_View);
centerByArray(Oak_View, false, false);
cntMarker += Oak_View.length;
map.addOverlays(Ojai);
centerByArray(Ojai, false, false);
cntMarker += Ojai.length;
map.addOverlays(Oxnard);
centerByArray(Oxnard, false, false);
cntMarker += Oxnard.length;
map.addOverlays(Piru);
centerByArray(Piru, false, false);
cntMarker += Piru.length;
map.addOverlays(Port_Hueneme);
centerByArray(Port_Hueneme, false, false);
cntMarker += Port_Hueneme.length;
map.addOverlays(Santa_Paula);
centerByArray(Santa_Paula, false, false);
cntMarker += Santa_Paula.length;
map.addOverlays(Saticoy);
centerByArray(Saticoy, false, false);
cntMarker += Saticoy.length;
map.addOverlays(Simi_Valley);
centerByArray(Simi_Valley, false, false);
cntMarker += Simi_Valley.length;
map.addOverlays(Somis);
centerByArray(Somis, false, false);
cntMarker += Somis.length;
map.addOverlays(Thousand_Oaks);
centerByArray(Thousand_Oaks, false, false);
cntMarker += Thousand_Oaks.length;
map.addOverlays(Ventura);
centerByArray(Ventura, false, false);
cntMarker += Ventura.length;
map.addOverlays(Westlake_Village);
centerByArray(Westlake_Village, false, false);
cntMarker += Westlake_Village.length;
centerByArray(Thousand_Oaks,true, false);
if (cntMarker > 20)
// New window depends on whether or not we're on the search page
if (location.href.indexOf('schools-by-distance') == -1)
window.open(location.href + '/map/all');
else
window.open('/search////all');
}
}