function addMarkers()
{
mySelect = document.getElementById('selection');
Marysville = [];Everett = [];Snohomish = [];Lynnwood = [];Arlington = [];Brier = [];_Brier_Road = [];Bothell = [];Mtlk_Terrace = [];Stanwood = [];Evrett = [];Edmonds = [];Mukilteo = [];N_Lakewood = [];Darrington = [];Monroe = [];Gold_Bar = [];Granite_Falls = [];Mill_Creek = [];Lake_Stevens = [];_Index_Avenue = [];Woodinville = [];_W_Mukilteo_Drive = [];Sultan = [];mySelect.options[mySelect.options.length] = new Option("Arlington schools",'all=Arlington');
mySelect.options[mySelect.options.length] = new Option("Bothell schools",'all=Bothell');
mySelect.options[mySelect.options.length] = new Option("Brier schools",'all=Brier');
mySelect.options[mySelect.options.length] = new Option("Darrington schools",'all=Darrington');
mySelect.options[mySelect.options.length] = new Option("Edmonds schools",'all=Edmonds');
mySelect.options[mySelect.options.length] = new Option("Everett schools",'all=Everett');
mySelect.options[mySelect.options.length] = new Option("Evrett schools",'all=Evrett');
mySelect.options[mySelect.options.length] = new Option("Gold Bar schools",'all=Gold_Bar');
mySelect.options[mySelect.options.length] = new Option("Granite Falls schools",'all=Granite_Falls');
mySelect.options[mySelect.options.length] = new Option("Lake Stevens schools",'all=Lake_Stevens');
mySelect.options[mySelect.options.length] = new Option("Lynnwood schools",'all=Lynnwood');
mySelect.options[mySelect.options.length] = new Option("Marysville schools",'all=Marysville');
mySelect.options[mySelect.options.length] = new Option("Mill Creek schools",'all=Mill_Creek');
mySelect.options[mySelect.options.length] = new Option("Monroe schools",'all=Monroe');
mySelect.options[mySelect.options.length] = new Option("Mtlk Terrace schools",'all=Mtlk_Terrace');
mySelect.options[mySelect.options.length] = new Option("Mukilteo schools",'all=Mukilteo');
mySelect.options[mySelect.options.length] = new Option("N Lakewood schools",'all=N_Lakewood');
mySelect.options[mySelect.options.length] = new Option("Snohomish schools",'all=Snohomish');
mySelect.options[mySelect.options.length] = new Option("Stanwood schools",'all=Stanwood');
mySelect.options[mySelect.options.length] = new Option("Sultan schools",'all=Sultan');
mySelect.options[mySelect.options.length] = new Option("Woodinville schools",'all=Woodinville');
mySelect.options[mySelect.options.length] = new Option(" Brier Road schools",'all=_Brier_Road');
mySelect.options[mySelect.options.length] = new Option(" Index Avenue schools",'all=_Index_Avenue');
mySelect.options[mySelect.options.length] = new Option(" W Mukilteo Drive schools",'all=_W_Mukilteo_Drive');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Marysville[Marysville.length] = createMarker(new GPoint(-122.27543640,48.07218170),"
",iconBl);
mySelect.options[mySelect.options.length] = new Option("10th Street School",'Marysville=' + Marysville.length);
Everett[Everett.length] = createMarker(new GPoint(-122.24279022,47.91006088),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Aces High School",'Everett=' + Everett.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10009766,47.93133926),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Aim High School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10260010,47.91783524),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Alc Middle School",'Snohomish=' + Snohomish.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.27120209,47.81683350),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Alderwood Middle School",'Lynnwood=' + Lynnwood.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.14929199,48.05474472),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Allen Creek Elementary School",'Marysville=' + Marysville.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.12119293,48.19226456),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Arlington High School",'Arlington=' + Arlington.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.30402374,47.84673691),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beverly Elementary School",'Lynnwood=' + Lynnwood.length);
Brier[Brier.length] = createMarker(new GPoint(-122.28211975,47.78855896),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brier Elementary School",'Brier=' + Brier.length);
_Brier_Road[_Brier_Road.length] = createMarker(new GPoint(-122.27395630,47.79721069),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Brier Terrace Middle School",'_Brier_Road=' + _Brier_Road.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.18634033,47.80365372),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Canyon Creek Elementary School",'Bothell=' + Bothell.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.20187378,47.78259659),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Canyon Park Junior High School",'Bothell=' + Bothell.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16119385,48.08556366),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cascade Elementary School",'Marysville=' + Marysville.length);
Everett[Everett.length] = createMarker(new GPoint(-122.22194672,47.92311096),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cascade High School",'Everett=' + Everett.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.08753204,47.94059753),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cascade View Elementary School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.12348175,47.82676697),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cathcart Elementary School",'Snohomish=' + Snohomish.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.30810547,47.82518005),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cedar Valley Community School",'Lynnwood=' + Lynnwood.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.28644562,47.79661179),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cedar Way Elementary School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Everett[Everett.length] = createMarker(new GPoint(-122.18670654,47.84528732),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cedar Wood Elementary School",'Everett=' + Everett.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.14280701,48.07442856),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Cedarcrest School",'Marysville=' + Marysville.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.32469177,48.24962616),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cedarhome Elementary School",'Stanwood=' + Stanwood.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.06627655,47.96846771),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Centennial Middle School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09287262,47.91321182),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Central Elementary School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-121.96909332,47.88800430),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chain Lake Elementary School",'Snohomish=' + Snohomish.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.30635071,47.79216385),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Challenge Elementary School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Evrett[Evrett.length] = createMarker(new GPoint(-122.24098206,47.91125488),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Challenger Elementary School",'Evrett=' + Evrett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Charles Denny Special School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.34629822,47.80313873),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chase Lake Elementary School",'Edmonds=' + Edmonds.length);
Everett[Everett.length] = createMarker(new GPoint(-122.21130371,47.97089767),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cocoon House",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.33559418,47.81406403),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("College Place Elementary School",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.33441162,47.81073761),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("College Place Middle School",'Lynnwood=' + Lynnwood.length);
Mukilteo[Mukilteo.length] = createMarker(new GPoint(-122.30268860,47.90325928),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Columbia Elementary School",'Mukilteo=' + Mukilteo.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.29240900,47.82532000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Contracted Learning Prgm Clip",'Lynnwood=' + Lynnwood.length);
N_Lakewood[N_Lakewood.length] = createMarker(new GPoint(-122.20610046,48.15219879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cougar Creek Elementary School",'N_Lakewood=' + N_Lakewood.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.22059631,47.80197525),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crystal Springs Elementary School",'Bothell=' + Bothell.length);
Darrington[Darrington.length] = createMarker(new GPoint(-121.60043335,48.24814224),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Darrington Elementary School",'Darrington=' + Darrington.length);
Darrington[Darrington.length] = createMarker(new GPoint(-121.55490112,48.23460007),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Darrington Middle School",'Darrington=' + Darrington.length);
Darrington[Darrington.length] = createMarker(new GPoint(-121.60057068,48.24814224),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Darrington Senior High School",'Darrington=' + Darrington.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23370361,47.89226151),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Discovery Elementary School",'Everett=' + Everett.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.05509949,47.92182541),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dutch Hill Elementary School",'Snohomish=' + Snohomish.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.11440277,48.19717789),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Eagle Creek Elementary School",'Arlington=' + Arlington.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.30810547,47.82346344),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Early Childhood Center",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.28669739,47.83860016),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Eceap Elementary School",'Lynnwood=' + Lynnwood.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.36190033,47.81995392),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edmonds Elementary School",'Edmonds=' + Edmonds.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.37705994,47.80730057),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Edmonds Home Resource Center",'Edmonds=' + Edmonds.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.33589935,47.80676270),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Edmonds Woodway High School",'Edmonds=' + Edmonds.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19910431,47.90561676),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Eisenhower Middle School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.22310638,47.91930008),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Emerson Elementary School",'Everett=' + Everett.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-121.93800354,47.90464020),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Emerson Elementary School",'Snohomish=' + Snohomish.length);
Mukilteo[Mukilteo.length] = createMarker(new GPoint(-122.31045532,47.88760757),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Endeavour Elementary School",'Mukilteo=' + Mukilteo.length);
N_Lakewood[N_Lakewood.length] = createMarker(new GPoint(-122.36387634,47.27149963),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("English Crossing Elementary School",'N_Lakewood=' + N_Lakewood.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.33883667,47.79613876),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Esperance Elementary Building",'Edmonds=' + Edmonds.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20870209,47.98559570),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Everett High School",'Everett=' + Everett.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.31423950,47.78386688),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Evergreen Elementary School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Everett[Everett.length] = createMarker(new GPoint(-122.22809601,47.92888641),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Evergreen Middle School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.24590302,47.91070557),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Explorer Middle School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.27004242,47.89432144),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fairmount Elementary School",'Everett=' + Everett.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.23709106,47.79513550),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frank Love Elementary School",'Bothell=' + Bothell.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.98229218,47.85255432),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frank Wagner Elementary School",'Monroe=' + Monroe.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.97904205,47.85331726),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Frank Wagner Middle School",'Monroe=' + Monroe.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.15140533,48.16585541),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Freshman Acadamy",'Arlington=' + Arlington.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09720612,47.91141891),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Freshman Campus Re Entry",'Snohomish=' + Snohomish.length);
Monroe[Monroe.length] = createMarker(new GPoint(-122.01008900,47.85924700),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fryelands Elementary School",'Monroe=' + Monroe.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19199371,47.98800659),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Garfield Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.15529633,47.85543060),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Gateway Middle School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.09279633,47.97593307),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenwood Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20442963,47.87824631),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Goal Program High School",'Everett=' + Everett.length);
Gold_Bar[Gold_Bar.length] = createMarker(new GPoint(-121.69716644,47.85697174),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gold Bar Elementary School",'Gold_Bar=' + Gold_Bar.length);
Granite_Falls[Granite_Falls.length] = createMarker(new GPoint(-121.96379852,48.08607864),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Granite Falls High School",'Granite_Falls=' + Granite_Falls.length);
Granite_Falls[Granite_Falls.length] = createMarker(new GPoint(-121.96379852,48.08440399),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Granite Falls Middle School",'Granite_Falls=' + Granite_Falls.length);
Mukilteo[Mukilteo.length] = createMarker(new GPoint(-122.30053711,47.90410614),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Harbour Pointe Middle School",'Mukilteo=' + Mukilteo.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19502258,48.00242615),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hawthorne Elementary School",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.27674103,47.81346130),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hazelwood Elementary School",'Lynnwood=' + Lynnwood.length);
Mill_Creek[Mill_Creek.length] = createMarker(new GPoint(-122.21430969,47.87103653),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Heatherwood Middle School",'Mill_Creek=' + Mill_Creek.length);
Everett[Everett.length] = createMarker(new GPoint(-122.21115112,47.87436295),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Henry M. Jackson High School",'Everett=' + Everett.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.18240356,48.07601929),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Heritage School",'Marysville=' + Marysville.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10803223,47.80142593),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hidden River Middle School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09864807,47.91773605),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("High School Re Entry",'Snohomish=' + Snohomish.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.07900238,48.02633286),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highland Elementary School",'Lake_Stevens=' + Lake_Stevens.length);
Everett[Everett.length] = createMarker(new GPoint(-122.10742187,47.99273682),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.24366760,47.81283569),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hilltop Elementary School",'Lynnwood=' + Lynnwood.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10009766,47.93133926),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Home School",'Snohomish=' + Snohomish.length);
Everett[Everett.length] = createMarker(new GPoint(-122.21130371,47.97089767),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Home School Resource Center",'Everett=' + Everett.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.06460571,48.01745224),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homelink",'Lake_Stevens=' + Lake_Stevens.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23596191,47.92176437),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Horizon Elementary School",'Everett=' + Everett.length);
_Index_Avenue[_Index_Avenue.length] = createMarker(new GPoint(-121.55563354,47.82031250),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Index Elementary School",'_Index_Avenue=' + _Index_Avenue.length);
Everett[Everett.length] = createMarker(new GPoint(-122.21760559,47.96816254),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jackson Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19873810,47.91688919),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Everett=' + Everett.length);
Mukilteo[Mukilteo.length] = createMarker(new GPoint(-122.30323029,47.90123367),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Kamiak High School",'Mukilteo=' + Mukilteo.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.14549255,48.07723618),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kellogg Marsh Elementary School",'Marysville=' + Marysville.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.12193298,48.18341827),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kent Prairie Elementary School",'Arlington=' + Arlington.length);
Woodinville[Woodinville.length] = createMarker(new GPoint(-122.15666199,47.78250885),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kokanee Elementary School",'Woodinville=' + Woodinville.length);
Everett[Everett.length] = createMarker(new GPoint(-122.10859680,47.98641586),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lake Stevens Middle School",'Everett=' + Everett.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.07900238,48.02370453),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lake Stevens Senior High School",'Lake_Stevens=' + Lake_Stevens.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.25563049,47.87007904),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lake Stickney Elementary School",'Lynnwood=' + Lynnwood.length);
N_Lakewood[N_Lakewood.length] = createMarker(new GPoint(-122.36387634,47.27149963),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lakewood Elementary School",'N_Lakewood=' + N_Lakewood.length);
N_Lakewood[N_Lakewood.length] = createMarker(new GPoint(-122.35093689,47.26699829),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lakewood High School",'N_Lakewood=' + N_Lakewood.length);
N_Lakewood[N_Lakewood.length] = createMarker(new GPoint(-122.36387634,47.27149963),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lakewood Middle School",'N_Lakewood=' + N_Lakewood.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.97904205,47.85331726),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Leaders In Learning",'Monroe=' + Monroe.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16900635,48.05823517),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Liberty Elementary School",'Marysville=' + Marysville.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.33200073,48.24296188),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lincoln Hill High School",'Stanwood=' + Stanwood.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.25489044,47.77917480),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lockwood Elementary School",'Bothell=' + Bothell.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20165253,47.95128632),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lowell Elementary School",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.33063507,47.82532883),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lynndale Elementary School",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.27364349,47.83201599),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lynnwood High School",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.29260254,47.82983398),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lynnwood Intermediate",'Lynnwood=' + Lynnwood.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.03159332,47.99281311),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Machias Elementary School",'Snohomish=' + Snohomish.length);
Everett[Everett.length] = createMarker(new GPoint(-122.22403717,47.94174957),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Madison Elementary School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.35755920,47.78496170),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Madrona Nongraded Elementary School",'Edmonds=' + Edmonds.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10209656,47.80471420),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maltby Elementary School",'Snohomish=' + Snohomish.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.34700012,47.81690216),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Maplewood Center",'Edmonds=' + Edmonds.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.34822845,47.81766129),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maplewood Parent Coop Elementary School",'Edmonds=' + Edmonds.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23360443,47.88906479),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mariner High School",'Everett=' + Everett.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16219330,48.11822128),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marshall Elementary School",'Marysville=' + Marysville.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.24650574,47.83955383),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Martha Lake Elementary School",'Lynnwood=' + Lynnwood.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.17160034,48.06493759),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marysville Alternative High School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.27543640,48.07218170),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marysville Arts And Technology High School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.19744110,48.06340027),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marysville Coop Program Elementary School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.17497253,48.05463791),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Marysville Junior High School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16437531,48.05683517),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Marysville Middle School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.15504456,48.09224701),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marysville Pilchuck High School",'Marysville=' + Marysville.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.17483521,48.06826401),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marysville Sd Special",'Marysville=' + Marysville.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32093048,47.84680557),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Meadowdale Elementary School",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.31462097,47.84646225),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Meadowdale High School",'Lynnwood=' + Lynnwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32087708,47.84652710),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Meadowdale Middle School",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.18744659,47.86330414),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mill Creek Elementary School",'Everett=' + Everett.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.93739200,47.88043800),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Monroe Elementary School",'Monroe=' + Monroe.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19589233,47.89894867),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Monroe Elementary School",'Everett=' + Everett.length);
Monroe[Monroe.length] = createMarker(new GPoint(-122.01105499,47.84532166),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Monroe High School",'Monroe=' + Monroe.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.98939514,47.85060883),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Monroe Junior High School",'Monroe=' + Monroe.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.96909332,47.85476303),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Monroe Special Ed Preschool",'Monroe=' + Monroe.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.96909332,47.85476303),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Monroe Transition Center",'Monroe=' + Monroe.length);
Granite_Falls[Granite_Falls.length] = createMarker(new GPoint(-121.98164368,48.08692932),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Monte Cristo Elementary School",'Granite_Falls=' + Granite_Falls.length);
Granite_Falls[Granite_Falls.length] = createMarker(new GPoint(-121.96970367,48.08965302),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mountain Way Elementary School",'Granite_Falls=' + Granite_Falls.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.30289459,47.79915619),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mountlake Terrace Elementary School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.29209137,47.80125427),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mountlake Terrace High School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.05838776,48.01526642),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mt. Pilchuck Elementary School",'Lake_Stevens=' + Lake_Stevens.length);
Mukilteo[Mukilteo.length] = createMarker(new GPoint(-122.30251312,47.92982864),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mukilteo Elementary School",'Mukilteo=' + Mukilteo.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.06520081,48.01756287),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("North Lake Middle School",'Lake_Stevens=' + Lake_Stevens.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19880676,47.98420334),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("North Middle School",'Everett=' + Everett.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.20760345,47.76098251),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Northshore Special Services",'Bothell=' + Bothell.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23360443,47.88906479),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Northwest Regional Learning Center",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.19565582,47.98063660),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Nw Learning Center",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.25800323,47.85772324),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oak Heights Elementary School",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20832062,47.97790146),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Odyssey Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23619843,47.89996338),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Olivia Park Elementary School",'Everett=' + Everett.length);
_W_Mukilteo_Drive[_W_Mukilteo_Drive.length] = createMarker(new GPoint(-122.30249023,47.92981720),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Olympic View Middle School",'_W_Mukilteo_Drive=' + _W_Mukilteo_Drive.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.30299377,47.81270599),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Options Program High School",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Other Schools",'Everett=' + Everett.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.96909332,47.85476303),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Out Of District Special Ed",'Monroe=' + Monroe.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10009766,47.93133926),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Parent Partnerhip",'Snohomish=' + Snohomish.length);
Monroe[Monroe.length] = createMarker(new GPoint(-10.00000000,10.00000000),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Park Place Middle School",'Monroe=' + Monroe.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pass Program High School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.17671204,47.87803650),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Penny Creek Elementary School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.31208038,47.87179565),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Picnic Point Elementary School",'Edmonds=' + Edmonds.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16108704,48.07188797),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pinewood Elementary School",'Marysville=' + Marysville.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.12037659,48.16396332),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pioneer Elementary School",'Arlington=' + Arlington.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.33359528,48.23861313),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Port Susan Middle School",'Stanwood=' + Stanwood.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.11437225,48.19718552),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Post Middle School",'Arlington=' + Arlington.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.12238312,48.19614029),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Presidents Elementary School",'Arlington=' + Arlington.length);
Everett[Everett.length] = createMarker(new GPoint(-122.10741425,47.99273682),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Prove High School",'Everett=' + Everett.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.19744110,48.06340027),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Quil Ceda Elementary School",'Marysville=' + Marysville.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.13364410,47.93846130),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Riverview Elementary School",'Snohomish=' + Snohomish.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.93759918,47.88113022),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Salem Woods Elementary School",'Monroe=' + Monroe.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.17247772,48.10003662),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("School Home Partnership Program",'Marysville=' + Marysville.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32499695,47.81379318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Scriber Lake High School",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.16349030,47.88178253),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seattle Hill Elementary School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.34738159,47.82856369),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seaview Elementary School",'Edmonds=' + Edmonds.length);
Everett[Everett.length] = createMarker(new GPoint(-122.21130371,47.97089767),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sequoia High School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.29688263,47.87128448),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Serene Lake Elementary School",'Edmonds=' + Edmonds.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.37459564,47.79095840),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sherwood Elementary School",'Edmonds=' + Edmonds.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.16219330,48.11822128),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Shoultes Elementary School",'Marysville=' + Marysville.length);
Everett[Everett.length] = createMarker(new GPoint(-122.15267181,47.86523819),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Silver Firs Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20684814,47.88154984),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Silver Lake Elementary School",'Everett=' + Everett.length);
Monroe[Monroe.length] = createMarker(new GPoint(-121.96758270,47.85750580),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sky Valley Education Center",'Monroe=' + Monroe.length);
Everett[Everett.length] = createMarker(new GPoint(-122.10859680,47.98640060),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Skyline Elementary School",'Everett=' + Everett.length);
Bothell[Bothell.length] = createMarker(new GPoint(-122.18634033,47.80361938),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Skyview Junior High School",'Bothell=' + Bothell.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sno Co Jail High School",'Everett=' + Everett.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.10009766,47.93133926),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Snohomish Center",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09720612,47.91141891),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Snohomish Freshman Campus Middle School",'Snohomish=' + Snohomish.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09864807,47.91773605),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Snohomish High School",'Snohomish=' + Snohomish.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32499695,47.81379318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Education Contracted",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.24574800,47.91085100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Services",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Special Services Elementary School",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.29002380,47.86436081),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Spruce Primary",'Lynnwood=' + Lynnwood.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.37203217,48.24473572),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Stanwood Elementary School",'Stanwood=' + Stanwood.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.33200073,48.24296188),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Stanwood High School",'Stanwood=' + Stanwood.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.36058044,48.24223709),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Stanwood Middle School",'Stanwood=' + Stanwood.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.12239075,48.19507599),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Stillaguamish School",'Arlington=' + Arlington.length);
Sultan[Sultan.length] = createMarker(new GPoint(-121.79579926,47.86890030),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Student Services School",'Sultan=' + Sultan.length);
Sultan[Sultan.length] = createMarker(new GPoint(-121.81484222,47.86561966),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sultan Elementary School",'Sultan=' + Sultan.length);
Sultan[Sultan.length] = createMarker(new GPoint(-121.81619263,47.86575317),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sultan Home School",'Sultan=' + Sultan.length);
Sultan[Sultan.length] = createMarker(new GPoint(-121.81771088,47.86915207),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sultan Middle School",'Sultan=' + Sultan.length);
Sultan[Sultan.length] = createMarker(new GPoint(-121.81499481,47.87392426),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sultan Senior High School",'Sultan=' + Sultan.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23248291,47.91666031),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Summit Program Elementary School",'Everett=' + Everett.length);
Monroe[Monroe.length] = createMarker(new GPoint(-122.00193024,47.86825180),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Summit School",'Monroe=' + Monroe.length);
Lake_Stevens[Lake_Stevens.length] = createMarker(new GPoint(-122.09769440,48.02669525),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sunnycrest Elementary School",'Lake_Stevens=' + Lake_Stevens.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.14627838,48.02977753),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sunnyside Elementary School",'Marysville=' + Marysville.length);
Mtlk_Terrace[Mtlk_Terrace.length] = createMarker(new GPoint(-122.30635071,47.79216385),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Terrace Park School",'Mtlk_Terrace=' + Mtlk_Terrace.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.14457703,47.86821365),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Totem Falls Elementary School",'Snohomish=' + Snohomish.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.06017303,48.23667908),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Trafton Elementary School",'Arlington=' + Arlington.length);
Marysville[Marysville.length] = createMarker(new GPoint(-122.28140259,48.06610107),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tulalip Elementary School",'Marysville=' + Marysville.length);
Stanwood[Stanwood.length] = createMarker(new GPoint(-122.32999420,48.23458099),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Twin City Elementary School",'Stanwood=' + Stanwood.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32499695,47.81379318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Unassigned Special Education",'Lynnwood=' + Lynnwood.length);
Snohomish[Snohomish.length] = createMarker(new GPoint(-122.09930420,47.86785126),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Valley View Middle School",'Snohomish=' + Snohomish.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23020935,47.95256424),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("View Ridge Elementary School",'Everett=' + Everett.length);
Lynnwood[Lynnwood.length] = createMarker(new GPoint(-122.32499695,47.81379318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Vocational Ed Intra-district High School",'Lynnwood=' + Lynnwood.length);
Everett[Everett.length] = createMarker(new GPoint(-122.27149200,47.91752625),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Vocational Skills Center Sno-isle",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.23869324,47.89173508),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Voyager Middle School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.36191559,47.79973602),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Westgate Elementary School",'Edmonds=' + Edmonds.length);
Arlington[Arlington.length] = createMarker(new GPoint(-122.15140533,48.16585541),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Weston High School",'Arlington=' + Arlington.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20400238,48.00471115),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Whittier Elementary School",'Everett=' + Everett.length);
Everett[Everett.length] = createMarker(new GPoint(-122.20200348,47.84362793),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodside Elementary School",'Everett=' + Everett.length);
Edmonds[Edmonds.length] = createMarker(new GPoint(-122.36097717,47.78153610),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodway Elementary School",'Edmonds=' + Edmonds.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(Arlington);
map.removeOverlays(Bothell);
map.removeOverlays(Brier);
map.removeOverlays(Darrington);
map.removeOverlays(Edmonds);
map.removeOverlays(Everett);
map.removeOverlays(Evrett);
map.removeOverlays(Gold_Bar);
map.removeOverlays(Granite_Falls);
map.removeOverlays(Lake_Stevens);
map.removeOverlays(Lynnwood);
map.removeOverlays(Marysville);
map.removeOverlays(Mill_Creek);
map.removeOverlays(Monroe);
map.removeOverlays(Mtlk_Terrace);
map.removeOverlays(Mukilteo);
map.removeOverlays(N_Lakewood);
map.removeOverlays(Snohomish);
map.removeOverlays(Stanwood);
map.removeOverlays(Sultan);
map.removeOverlays(Woodinville);
map.removeOverlays(_Brier_Road);
map.removeOverlays(_Index_Avenue);
map.removeOverlays(_W_Mukilteo_Drive);
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(Marysville);map.removeOverlays(Arlington);
map.removeOverlays(Bothell);
map.removeOverlays(Brier);
map.removeOverlays(Darrington);
map.removeOverlays(Edmonds);
map.removeOverlays(Everett);
map.removeOverlays(Evrett);
map.removeOverlays(Gold_Bar);
map.removeOverlays(Granite_Falls);
map.removeOverlays(Lake_Stevens);
map.removeOverlays(Lynnwood);
map.removeOverlays(Marysville);
map.removeOverlays(Mill_Creek);
map.removeOverlays(Monroe);
map.removeOverlays(Mtlk_Terrace);
map.removeOverlays(Mukilteo);
map.removeOverlays(N_Lakewood);
map.removeOverlays(Snohomish);
map.removeOverlays(Stanwood);
map.removeOverlays(Sultan);
map.removeOverlays(Woodinville);
map.removeOverlays(_Brier_Road);
map.removeOverlays(_Index_Avenue);
map.removeOverlays(_W_Mukilteo_Drive);
map.addOverlays(Arlington);
centerByArray(Arlington, false, false);
cntMarker += Arlington.length;
map.addOverlays(Bothell);
centerByArray(Bothell, false, false);
cntMarker += Bothell.length;
map.addOverlays(Brier);
centerByArray(Brier, false, false);
cntMarker += Brier.length;
map.addOverlays(Darrington);
centerByArray(Darrington, false, false);
cntMarker += Darrington.length;
map.addOverlays(Edmonds);
centerByArray(Edmonds, false, false);
cntMarker += Edmonds.length;
map.addOverlays(Everett);
centerByArray(Everett, false, false);
cntMarker += Everett.length;
map.addOverlays(Evrett);
centerByArray(Evrett, false, false);
cntMarker += Evrett.length;
map.addOverlays(Gold_Bar);
centerByArray(Gold_Bar, false, false);
cntMarker += Gold_Bar.length;
map.addOverlays(Granite_Falls);
centerByArray(Granite_Falls, false, false);
cntMarker += Granite_Falls.length;
map.addOverlays(Lake_Stevens);
centerByArray(Lake_Stevens, false, false);
cntMarker += Lake_Stevens.length;
map.addOverlays(Lynnwood);
centerByArray(Lynnwood, false, false);
cntMarker += Lynnwood.length;
map.addOverlays(Marysville);
centerByArray(Marysville, false, false);
cntMarker += Marysville.length;
map.addOverlays(Mill_Creek);
centerByArray(Mill_Creek, false, false);
cntMarker += Mill_Creek.length;
map.addOverlays(Monroe);
centerByArray(Monroe, false, false);
cntMarker += Monroe.length;
map.addOverlays(Mtlk_Terrace);
centerByArray(Mtlk_Terrace, false, false);
cntMarker += Mtlk_Terrace.length;
map.addOverlays(Mukilteo);
centerByArray(Mukilteo, false, false);
cntMarker += Mukilteo.length;
map.addOverlays(N_Lakewood);
centerByArray(N_Lakewood, false, false);
cntMarker += N_Lakewood.length;
map.addOverlays(Snohomish);
centerByArray(Snohomish, false, false);
cntMarker += Snohomish.length;
map.addOverlays(Stanwood);
centerByArray(Stanwood, false, false);
cntMarker += Stanwood.length;
map.addOverlays(Sultan);
centerByArray(Sultan, false, false);
cntMarker += Sultan.length;
map.addOverlays(Woodinville);
centerByArray(Woodinville, false, false);
cntMarker += Woodinville.length;
map.addOverlays(_Brier_Road);
centerByArray(_Brier_Road, false, false);
cntMarker += _Brier_Road.length;
map.addOverlays(_Index_Avenue);
centerByArray(_Index_Avenue, false, false);
cntMarker += _Index_Avenue.length;
map.addOverlays(_W_Mukilteo_Drive);
centerByArray(_W_Mukilteo_Drive, false, false);
cntMarker += _W_Mukilteo_Drive.length;
centerByArray(Marysville,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');
}
}