function addMarkers() { mySelect = document.getElementById('selection'); Lorain = [];Amherst = [];Avon = [];Avon_Lake = [];Sheffield_Village = [];Grafton = [];Elyria = [];Columbia_Station = [];Oberlin = [];North_Ridgeville = [];Sheffield_Lake = [];Lagrange = [];Wellington = [];South_Amherst = [];mySelect.options[mySelect.options.length] = new Option("Amherst schools",'all=Amherst'); mySelect.options[mySelect.options.length] = new Option("Avon schools",'all=Avon'); mySelect.options[mySelect.options.length] = new Option("Avon Lake schools",'all=Avon_Lake'); mySelect.options[mySelect.options.length] = new Option("Columbia Station schools",'all=Columbia_Station'); mySelect.options[mySelect.options.length] = new Option("Elyria schools",'all=Elyria'); mySelect.options[mySelect.options.length] = new Option("Grafton schools",'all=Grafton'); mySelect.options[mySelect.options.length] = new Option("Lagrange schools",'all=Lagrange'); mySelect.options[mySelect.options.length] = new Option("Lorain schools",'all=Lorain'); mySelect.options[mySelect.options.length] = new Option("North Ridgeville schools",'all=North_Ridgeville'); mySelect.options[mySelect.options.length] = new Option("Oberlin schools",'all=Oberlin'); mySelect.options[mySelect.options.length] = new Option("Sheffield Lake schools",'all=Sheffield_Lake'); mySelect.options[mySelect.options.length] = new Option("Sheffield Village schools",'all=Sheffield_Village'); mySelect.options[mySelect.options.length] = new Option("South Amherst schools",'all=South_Amherst'); mySelect.options[mySelect.options.length] = new Option("Wellington schools",'all=Wellington'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Lorain[Lorain.length] = createMarker(new GPoint(-82.17894000,41.46808000),"
Academy Of Arts And Sciences
201 W Erie Ave
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Academy Of Arts And Sciences",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.18867493,41.44614029),"
Admiral King High School
2600 Ashland Ave
Lorain, OH 44052

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Admiral King High School",'Lorain=' + Lorain.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.23672485,41.39836121),"
Amherst Junior High School
548 Milan Ave
Amherst, OH 44001

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Amherst Junior High School",'Amherst=' + Amherst.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.20241900,41.43327300),"
Arts Academy, The
4125 Leavitt Rd
Lorain, OH 44053

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Arts Academy, The",'Lorain=' + Lorain.length); Avon[Avon.length] = createMarker(new GPoint(-81.98944855,41.44556427),"
Avon East Elementary School
3100 Nagle Rd
Avon, OH 44011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Avon East Elementary School",'Avon=' + Avon.length); Avon[Avon.length] = createMarker(new GPoint(-82.02113400,41.45949000),"
Avon Heritage South Elementary School
35575 Detroit Rd
Avon, OH 44011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Avon Heritage South Elementary School",'Avon=' + Avon.length); Avon[Avon.length] = createMarker(new GPoint(-82.04011536,41.44757080),"
Avon High School
37545 Detroit Rd
Avon, OH 44011

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Avon High School",'Avon=' + Avon.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-82.01844025,41.50895309),"
Avon Lake High School
175 Avon Belden Rd
Avon Lake, OH 44012

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Avon Lake High School",'Avon_Lake=' + Avon_Lake.length); Avon[Avon.length] = createMarker(new GPoint(-82.02988434,41.44546127),"
Avon Middle School
3075 Stoney Ridge Rd
Avon, OH 44011

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Avon Middle School",'Avon=' + Avon.length); Avon[Avon.length] = createMarker(new GPoint(-82.03058624,41.45509720),"
Avon Village Elementary School
36600 Detroit Rd
Avon, OH 44011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Avon Village Elementary School",'Avon=' + Avon.length); Sheffield_Village[Sheffield_Village.length] = createMarker(new GPoint(-82.09471130,41.46689606),"
Brookside High School
1812 Harris Rd
Sheffield Village, OH 44054

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brookside High School",'Sheffield_Village=' + Sheffield_Village.length); Grafton[Grafton.length] = createMarker(new GPoint(-82.05091858,41.32260132),"
Brush Elementary School
13070 Durkee Rd
Grafton, OH 44044

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Brush Elementary School",'Grafton=' + Grafton.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.11056519,41.38034439),"
Cascade Elementary School
233 Bond St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cascade Elementary School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16287994,41.42603683),"
Clearview High School
4700 Broadway
Lorain, OH 44052

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Clearview High School",'Lorain=' + Lorain.length); Columbia_Station[Columbia_Station.length] = createMarker(new GPoint(-81.92632294,41.31170273),"
Columbia High School
14168 W River Rd
Columbia Station, OH 44028

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Columbia High School",'Columbia_Station=' + Columbia_Station.length); Columbia_Station[Columbia_Station.length] = createMarker(new GPoint(-81.92517853,41.31662750),"
Columbia Middle School
13646 W River Rd
Columbia Station, OH 44028

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Columbia Middle School",'Columbia_Station=' + Columbia_Station.length); Columbia_Station[Columbia_Station.length] = createMarker(new GPoint(-81.92632294,41.31170273),"
Copopa Elementary School
14168 W River Rd
Columbia Station, OH 44028

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Copopa Elementary School",'Columbia_Station=' + Columbia_Station.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.14134216,41.39996719),"
Crestwood Elementary School
42331 Griswold Rd
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crestwood Elementary School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16271210,41.42459488),"
Durling Middle School
100 N Ridge Rd W
Lorain, OH 44053

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Durling Middle School",'Lorain=' + Lorain.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.07702800,41.41042900),"
Early College High School
1005 N Abbe Rd
Elyria, OH 44035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Early College High School",'Elyria=' + Elyria.length); Grafton[Grafton.length] = createMarker(new GPoint(-82.08667755,41.33515549),"
East Carlisle Elementary School
13070 Durkee Rd
Grafton, OH 44044

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("East Carlisle Elementary School",'Grafton=' + Grafton.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.09166718,41.36368942),"
Eastern Heights Junior High School
528 Garford Ave
Elyria, OH 44035

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Eastern Heights Junior High School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08036804,41.36462021),"
Eastgate Elementary School
336 S Logan St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eastgate Elementary School",'Elyria=' + Elyria.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-81.98847961,41.50356293),"
Eastview Elementary School
230 Lear Rd
Avon Lake, OH 44012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eastview Elementary School",'Avon_Lake=' + Avon_Lake.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.21050262,41.29168320),"
Eastwood Elementary School
198 E College St
Oberlin, OH 44074

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eastwood Elementary School",'Oberlin=' + Oberlin.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.12892914,41.38636017),"
Edison Special Needs School
1514 Lake Ave
Elyria, OH 44035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Edison Special Needs School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.09416962,41.37562180),"
Ely Elementary School
312 Gulf Rd
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ely Elementary School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.07777405,41.38144302),"
Elyria Community School
300 N Abbe Rd
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Elyria Community School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.10731506,41.36154556),"
Elyria High School
311 6th St
Elyria, OH 44035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Elyria High School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08226776,41.41401291),"
Erie Elementary School
333 Naples Dr
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Erie Elementary School",'Elyria=' + Elyria.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-82.01242065,41.51050949),"
Erieview Elementary School
32630 Electric Blvd
Avon Lake, OH 44012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Erieview Elementary School",'Avon_Lake=' + Avon_Lake.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-81.99814200,41.36910500),"
Fields-sweet
8540 Root Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fields-sweet",'North_Ridgeville=' + North_Ridgeville.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.29992676,41.33120728),"
Firelands Elementary School
10779 Vermilion Rd
Oberlin, OH 44074

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Firelands Elementary School",'Oberlin=' + Oberlin.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.29986572,41.33306885),"
Firelands High School
10643 Vermilion Rd
Oberlin, OH 44074

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Firelands High School",'Oberlin=' + Oberlin.length); Sheffield_Lake[Sheffield_Lake.length] = createMarker(new GPoint(-82.11667633,41.48257065),"
Forestlawn Elementary School
3975 Forestlawn Ave
Sheffield Lake, OH 44054

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Forestlawn Elementary School",'Sheffield_Lake=' + Sheffield_Lake.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19629200,41.44667900),"
Frank Jacinto Elementary School
2515 Marshall Ave
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Frank Jacinto Elementary School",'Lorain=' + Lorain.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.10960388,41.35612106),"
Franklin Elementary School
446 11th St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Elementary School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16589400,41.44216100),"
Garfield Elementary School
200 W 31st St
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Garfield Elementary School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17921000,41.44549600),"
General Johnnie Wilson Middle School
2700 Washington Ave
Lorain, OH 44052

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("General Johnnie Wilson Middle School",'Lorain=' + Lorain.length); Grafton[Grafton.length] = createMarker(new GPoint(-82.05109406,41.27577972),"
Grafton Elementary School
13070 Durkee Rd
Grafton, OH 44044

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Grafton Elementary School",'Grafton=' + Grafton.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17299652,41.45154190),"
Hawthorne Elementary School
602 W 20th St
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorne Elementary School",'Lorain=' + Lorain.length); Avon[Avon.length] = createMarker(new GPoint(-82.01150513,41.45695114),"
Heritage Elementary School
35575 Detroit Rd
Avon, OH 44011

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Heritage Elementary School",'Avon=' + Avon.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08416748,41.40874481),"
Hilltop Academy High School
1300 Gulf Rd
Elyria, OH 44035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hilltop Academy High School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.11223602,41.42987442),"
Homewood Elementary School
2500 Goble Dr
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Homewood Elementary School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.18234253,41.46598816),"
Irving Elementary School
1110 W 4th St
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Irving Elementary School",'Lorain=' + Lorain.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.23931885,41.39356613),"
Josiah Harris Elementary School
393 S Lake St
Amherst, OH 44001

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Josiah Harris Elementary School",'Amherst=' + Amherst.length); Lagrange[Lagrange.length] = createMarker(new GPoint(-82.12960052,41.24190140),"
Keystone High School
Po Box 65
Lagrange, OH 44050

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Keystone High School",'Lagrange=' + Lagrange.length); Lagrange[Lagrange.length] = createMarker(new GPoint(-82.12960052,41.24190140),"
Keystone Middle School
Po Box 65
Lagrange, OH 44050

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Keystone Middle School",'Lagrange=' + Lagrange.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.13706207,41.40000153),"
Kindergarten Village Elementary School
42101 Griswold Rd
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kindergarten Village Elementary School",'Elyria=' + Elyria.length); Sheffield_Village[Sheffield_Village.length] = createMarker(new GPoint(-82.08368683,41.48229980),"
Knollwood Elementary School
4975 Oster Rd
Sheffield Village, OH 44054

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Knollwood Elementary School",'Sheffield_Village=' + Sheffield_Village.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19641113,41.45824051),"
Lakeview Elementary School
1953 W 11th St
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lakeview Elementary School",'Lorain=' + Lorain.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.21503448,41.29589462),"
Langston Middle School
150 N Pleasant St
Oberlin, OH 44074

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Langston Middle School",'Oberlin=' + Oberlin.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.14147186,41.47323990),"
Larkmoor Elementary School
1100 Leroy St
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Larkmoor Elementary School",'Lorain=' + Lorain.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-81.98877716,41.40851593),"
Lear North Elementary School
5580 Lear Nagle Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lear North Elementary School",'North_Ridgeville=' + North_Ridgeville.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-81.98863220,41.49770737),"
Learwood Middle School
340 Lear Rd
Avon Lake, OH 44012

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Learwood Middle School",'Avon_Lake=' + Avon_Lake.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-82.00622559,41.40587616),"
Liberty Elementary School
5700 Jaycox Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Liberty Elementary School",'North_Ridgeville=' + North_Ridgeville.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.10734558,41.40092468),"
Life Skills-greater Cleveland High School
2015 W River Rd N
Elyria, OH 44035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Life Skills-greater Cleveland High School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.14577484,41.44184113),"
Lincoln Elementary School
1600 E 31st St
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.15524292,41.47520447),"
Longfellow Elementary School
1800 Cleveland Blvd
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Longfellow Elementary School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.15599200,41.47482400),"
Longfellow Middle School
305 Louisiana Ave
Lorain, OH 44052

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Longfellow Middle School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17635000,41.46405900),"
Lorain Academy For Gifted Students
307 W 7th St
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lorain Academy For Gifted Students",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19373322,41.44846344),"
Lorain Alternative Academy
3301 Meister Rd
Lorain, OH 44053

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lorain Alternative Academy",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17130280,41.45780182),"
Lorain City Sd
2350 Pole Ave
Lorain, OH 44052

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lorain City Sd",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17848206,41.46807480),"
Lorain Community School
201 W Erie Ave
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lorain Community School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19373322,41.44846344),"
Lorain Elementary Digital
3301 Meister Rd
Lorain, OH 44053

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lorain Elementary Digital",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19373322,41.44846344),"
Lorain High School Digital
3301 Meister Rd
Lorain, OH 44053

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lorain High School Digital",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17936707,41.46430969),"
Lorain Middle School
602 Washington Ave
Lorain, OH 44052

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lorain Middle School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19373322,41.44846344),"
Lorain Middle School Digital
3301 Meister Rd
Lorain, OH 44053

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lorain Middle School Digital",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.12767029,41.44084167),"
Lowell Elementary School
3200 Clinton Ave
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lowell Elementary School",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17894000,41.46808000),"
Mansfield Preparatory Academy
201 W Erie Ave
Lorain, OH 44052

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mansfield Preparatory Academy",'Lorain=' + Lorain.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.22174835,41.40430450),"
Marion L Steele High School
450 Washington St
Amherst, OH 44001

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Marion L Steele High School",'Amherst=' + Amherst.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.19467163,41.43404388),"
Masson Elementary School
1800 W 40th St
Lorain, OH 44053

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Masson Elementary School",'Lorain=' + Lorain.length); Wellington[Wellington.length] = createMarker(new GPoint(-82.21741486,41.16555405),"
Mccormick Middle School
201 S Main St
Wellington, OH 44090

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mccormick Middle School",'Wellington=' + Wellington.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.09758759,41.36690521),"
Mckinley Elementary School
620 E River St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mckinley Elementary School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.21271515,41.44153976),"
Meister Road Elementary School
3301 Meister Rd
Lorain, OH 44053

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meister Road Elementary School",'Lorain=' + Lorain.length); Grafton[Grafton.length] = createMarker(new GPoint(-82.06754303,41.30326462),"
Midview High School
38199 Capel Rd
Grafton, OH 44044

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Midview High School",'Grafton=' + Grafton.length); Grafton[Grafton.length] = createMarker(new GPoint(-82.06279755,41.30326462),"
Midview Middle School
37999 Capel Rd
Grafton, OH 44044

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Midview Middle School",'Grafton=' + Grafton.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-81.98011017,41.40709305),"
North Ridgeville Education Center Elementary School
5490 Mills Creek Ln
North Ridgeville, OH 44039

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Ridgeville Education Center Elementary School",'North_Ridgeville=' + North_Ridgeville.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-82.00212860,41.38504410),"
North Ridgeville High School
34600 Bainbridge Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North Ridgeville High School",'North_Ridgeville=' + North_Ridgeville.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-82.01818848,41.39020538),"
North Ridgeville Middle School
35895 Center Ridge Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("North Ridgeville Middle School",'North_Ridgeville=' + North_Ridgeville.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.09416962,41.38144684),"
Northwood Junior High School
700 Gulf Rd
Elyria, OH 44035

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northwood Junior High School",'Elyria=' + Elyria.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.13146973,41.37924576),"
Oakwood Elementary School
925 Spruce St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakwood Elementary School",'Elyria=' + Elyria.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.21492767,41.29910278),"
Oberlin High School
281 N Pleasant St
Oberlin, OH 44074

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Oberlin High School",'Oberlin=' + Oberlin.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.13379669,41.46805954),"
Palm Elementary School
3330 Palm Ave
Lorain, OH 44055

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Palm Elementary School",'Lorain=' + Lorain.length); Wellington[Wellington.length] = createMarker(new GPoint(-82.11993408,41.16846466),"
Penfield Elementary School
40905 State Route 18
Wellington, OH 44090

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Penfield Elementary School",'Wellington=' + Wellington.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.22140503,41.40325928),"
Powers Elementary School
401 Washington St
Amherst, OH 44001

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Powers Elementary School",'Amherst=' + Amherst.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08856964,41.35541534),"
Prospect Elementary School
1410 Prospect St
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prospect Elementary School",'Elyria=' + Elyria.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.22878265,41.29169083),"
Prospect Elementary School
36 S Prospect St
Oberlin, OH 44074

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prospect Elementary School",'Oberlin=' + Oberlin.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-82.02841187,41.50246429),"
Redwood Elementary School
32967 Redwood Blvd
Avon Lake, OH 44012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Redwood Elementary School",'Avon_Lake=' + Avon_Lake.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.11607361,41.36484909),"
Roosevelt Elementary School
121 W River Rd N
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Roosevelt Elementary School",'Elyria=' + Elyria.length); Sheffield_Village[Sheffield_Village.length] = createMarker(new GPoint(-82.09474945,41.46501541),"
Sheffield Middle School
1919 Harris Rd
Sheffield Village, OH 44054

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Sheffield Middle School",'Sheffield_Village=' + Sheffield_Village.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.22969818,41.39139938),"
Shupe Elementary School
600 Shupe Ave
Amherst, OH 44001

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shupe Elementary School",'Amherst=' + Amherst.length); South_Amherst[South_Amherst.length] = createMarker(new GPoint(-82.24428558,41.35763550),"
South Amherst Middle School
152 W Main St
South Amherst, OH 44001

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("South Amherst Middle School",'South_Amherst=' + South_Amherst.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.11697388,41.43194199),"
Southview High School
2270 E 42nd St
Lorain, OH 44055

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southview High School",'Lorain=' + Lorain.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08186340,41.39128113),"
Spring Valley Elementary School
1005 Rosalee Ave
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Valley Elementary School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16625400,41.45291500),"
Summit Academy Middle School - Lorain
1949 Broadway
Lorain, OH 44052

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Summit Academy Middle School - Lorain",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16625400,41.45291500),"
Summit Academy Secondary - Lorain
1949 Broadway
Lorain, OH 44052

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Summit Academy Secondary - Lorain",'Lorain=' + Lorain.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.16609192,41.45292282),"
Summit Academy-lorain Elementary School
2140 E 36th St
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Summit Academy-lorain Elementary School",'Lorain=' + Lorain.length); Sheffield_Lake[Sheffield_Lake.length] = createMarker(new GPoint(-82.10292816,41.49055481),"
Tennyson Elementary School
555 Kenilworth Ave
Sheffield Lake, OH 44054

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tennyson Elementary School",'Sheffield_Lake=' + Sheffield_Lake.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-82.03941345,41.50174713),"
Troy Intermediate Elementary School
237 Belmar Blvd
Avon Lake, OH 44012

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Troy Intermediate Elementary School",'Avon_Lake=' + Avon_Lake.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.11706543,41.41904068),"
Vincent Elementary School
2303 N Ridge Rd E
Lorain, OH 44055

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Vincent Elementary School",'Lorain=' + Lorain.length); Amherst[Amherst.length] = createMarker(new GPoint(-82.22570038,41.40554810),"
Walter G. Nord Middle School
501 Lincoln St
Amherst, OH 44001

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Walter G. Nord Middle School",'Amherst=' + Amherst.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.17903137,41.44529343),"
Washington Elementary School
2700 Washington Ave
Lorain, OH 44052

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Lorain=' + Lorain.length); Wellington[Wellington.length] = createMarker(new GPoint(-82.21748352,41.17670059),"
Wellington High School
629 N Main St
Wellington, OH 44090

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wellington High School",'Wellington=' + Wellington.length); Lagrange[Lagrange.length] = createMarker(new GPoint(-82.11958313,41.23738098),"
West Carlisle Elementary School
12079 Lagrange Rd
Lagrange, OH 44050

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("West Carlisle Elementary School",'Lagrange=' + Lagrange.length); Avon_Lake[Avon_Lake.length] = createMarker(new GPoint(-82.04666138,41.50217819),"
Westview Elementary School
155 Moore Rd
Avon Lake, OH 44012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westview Elementary School",'Avon_Lake=' + Avon_Lake.length); Wellington[Wellington.length] = createMarker(new GPoint(-82.22206879,41.17254257),"
Westwood Elementary School
305 Union St
Wellington, OH 44090

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westwood Elementary School",'Wellington=' + Wellington.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.14102173,41.39379120),"
Westwood Junior High School
42350 Adelbert St
Elyria, OH 44035

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Westwood Junior High School",'Elyria=' + Elyria.length); Lorain[Lorain.length] = createMarker(new GPoint(-82.13187408,41.44084167),"
Whittier Middle School
3201 Seneca Ave
Lorain, OH 44055

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Whittier Middle School",'Lorain=' + Lorain.length); North_Ridgeville[North_Ridgeville.length] = createMarker(new GPoint(-82.00181580,41.38504410),"
Wilcox Elementary School
34580 Bainbridge Rd
North Ridgeville, OH 44039

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wilcox Elementary School",'North_Ridgeville=' + North_Ridgeville.length); Sheffield_Village[Sheffield_Village.length] = createMarker(new GPoint(-82.11337280,41.46115875),"
William Barr Elementary School
2180 Lake Breeze Rd
Sheffield Village, OH 44054

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("William Barr Elementary School",'Sheffield_Village=' + Sheffield_Village.length); Oberlin[Oberlin.length] = createMarker(new GPoint(-82.21721649,41.26269913),"
William R Burton High School
15181 State Route 58
Oberlin, OH 44074

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("William R Burton High School",'Oberlin=' + Oberlin.length); Elyria[Elyria.length] = createMarker(new GPoint(-82.08312988,41.39671326),"
Windsor Elementary School
264 Windsor Dr
Elyria, OH 44035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Windsor Elementary School",'Elyria=' + Elyria.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(Amherst); map.removeOverlays(Avon); map.removeOverlays(Avon_Lake); map.removeOverlays(Columbia_Station); map.removeOverlays(Elyria); map.removeOverlays(Grafton); map.removeOverlays(Lagrange); map.removeOverlays(Lorain); map.removeOverlays(North_Ridgeville); map.removeOverlays(Oberlin); map.removeOverlays(Sheffield_Lake); map.removeOverlays(Sheffield_Village); map.removeOverlays(South_Amherst); map.removeOverlays(Wellington); 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(Lorain);map.removeOverlays(Amherst); map.removeOverlays(Avon); map.removeOverlays(Avon_Lake); map.removeOverlays(Columbia_Station); map.removeOverlays(Elyria); map.removeOverlays(Grafton); map.removeOverlays(Lagrange); map.removeOverlays(Lorain); map.removeOverlays(North_Ridgeville); map.removeOverlays(Oberlin); map.removeOverlays(Sheffield_Lake); map.removeOverlays(Sheffield_Village); map.removeOverlays(South_Amherst); map.removeOverlays(Wellington); map.addOverlays(Amherst); centerByArray(Amherst, false, false); cntMarker += Amherst.length; map.addOverlays(Avon); centerByArray(Avon, false, false); cntMarker += Avon.length; map.addOverlays(Avon_Lake); centerByArray(Avon_Lake, false, false); cntMarker += Avon_Lake.length; map.addOverlays(Columbia_Station); centerByArray(Columbia_Station, false, false); cntMarker += Columbia_Station.length; map.addOverlays(Elyria); centerByArray(Elyria, false, false); cntMarker += Elyria.length; map.addOverlays(Grafton); centerByArray(Grafton, false, false); cntMarker += Grafton.length; map.addOverlays(Lagrange); centerByArray(Lagrange, false, false); cntMarker += Lagrange.length; map.addOverlays(Lorain); centerByArray(Lorain, false, false); cntMarker += Lorain.length; map.addOverlays(North_Ridgeville); centerByArray(North_Ridgeville, false, false); cntMarker += North_Ridgeville.length; map.addOverlays(Oberlin); centerByArray(Oberlin, false, false); cntMarker += Oberlin.length; map.addOverlays(Sheffield_Lake); centerByArray(Sheffield_Lake, false, false); cntMarker += Sheffield_Lake.length; map.addOverlays(Sheffield_Village); centerByArray(Sheffield_Village, false, false); cntMarker += Sheffield_Village.length; map.addOverlays(South_Amherst); centerByArray(South_Amherst, false, false); cntMarker += South_Amherst.length; map.addOverlays(Wellington); centerByArray(Wellington, false, false); cntMarker += Wellington.length; centerByArray(Lorain,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'); } }