function addMarkers() { mySelect = document.getElementById('selection'); Sharon_Hill = [];Aldan = [];Morton = [];Lansdowne = [];Drexel_Hill = [];Glenolden = [];Aston = [];Yeadon = [];Boothwyn = [];Upper_Darby = [];Havertown = [];Chester = [];Brookhaven = [];Colwyn = [];Glen_Mills = [];Bryn_Mawr = [];Newtown_Square = [];Folcroft = [];East_Lansdowne = [];Eddystone = [];Folsom = [];Media = [];Swarthmore = [];Collingdale = [];Prospect_Park = [];Ridley_Park = [];Broomall = [];Upland = [];Wallingford = [];Norwood = [];Darby = [];Parkside = [];Primos = [];Radnor = [];Wayne = [];Springfield = [];Essington = [];Chester_Township = [];Clifton_Heights = [];Woodlyn = [];mySelect.options[mySelect.options.length] = new Option("Aldan schools",'all=Aldan'); mySelect.options[mySelect.options.length] = new Option("Aston schools",'all=Aston'); mySelect.options[mySelect.options.length] = new Option("Boothwyn schools",'all=Boothwyn'); mySelect.options[mySelect.options.length] = new Option("Brookhaven schools",'all=Brookhaven'); mySelect.options[mySelect.options.length] = new Option("Broomall schools",'all=Broomall'); mySelect.options[mySelect.options.length] = new Option("Bryn Mawr schools",'all=Bryn_Mawr'); mySelect.options[mySelect.options.length] = new Option("Chester schools",'all=Chester'); mySelect.options[mySelect.options.length] = new Option("Chester Township schools",'all=Chester_Township'); mySelect.options[mySelect.options.length] = new Option("Clifton Heights schools",'all=Clifton_Heights'); mySelect.options[mySelect.options.length] = new Option("Collingdale schools",'all=Collingdale'); mySelect.options[mySelect.options.length] = new Option("Colwyn schools",'all=Colwyn'); mySelect.options[mySelect.options.length] = new Option("Darby schools",'all=Darby'); mySelect.options[mySelect.options.length] = new Option("Drexel Hill schools",'all=Drexel_Hill'); mySelect.options[mySelect.options.length] = new Option("East Lansdowne schools",'all=East_Lansdowne'); mySelect.options[mySelect.options.length] = new Option("Eddystone schools",'all=Eddystone'); mySelect.options[mySelect.options.length] = new Option("Essington schools",'all=Essington'); mySelect.options[mySelect.options.length] = new Option("Folcroft schools",'all=Folcroft'); mySelect.options[mySelect.options.length] = new Option("Folsom schools",'all=Folsom'); mySelect.options[mySelect.options.length] = new Option("Glen Mills schools",'all=Glen_Mills'); mySelect.options[mySelect.options.length] = new Option("Glenolden schools",'all=Glenolden'); mySelect.options[mySelect.options.length] = new Option("Havertown schools",'all=Havertown'); mySelect.options[mySelect.options.length] = new Option("Lansdowne schools",'all=Lansdowne'); mySelect.options[mySelect.options.length] = new Option("Media schools",'all=Media'); mySelect.options[mySelect.options.length] = new Option("Morton schools",'all=Morton'); mySelect.options[mySelect.options.length] = new Option("Newtown Square schools",'all=Newtown_Square'); mySelect.options[mySelect.options.length] = new Option("Norwood schools",'all=Norwood'); mySelect.options[mySelect.options.length] = new Option("Parkside schools",'all=Parkside'); mySelect.options[mySelect.options.length] = new Option("Primos schools",'all=Primos'); mySelect.options[mySelect.options.length] = new Option("Prospect Park schools",'all=Prospect_Park'); mySelect.options[mySelect.options.length] = new Option("Radnor schools",'all=Radnor'); mySelect.options[mySelect.options.length] = new Option("Ridley Park schools",'all=Ridley_Park'); mySelect.options[mySelect.options.length] = new Option("Sharon Hill schools",'all=Sharon_Hill'); mySelect.options[mySelect.options.length] = new Option("Springfield schools",'all=Springfield'); mySelect.options[mySelect.options.length] = new Option("Swarthmore schools",'all=Swarthmore'); mySelect.options[mySelect.options.length] = new Option("Upland schools",'all=Upland'); mySelect.options[mySelect.options.length] = new Option("Upper Darby schools",'all=Upper_Darby'); mySelect.options[mySelect.options.length] = new Option("Wallingford schools",'all=Wallingford'); mySelect.options[mySelect.options.length] = new Option("Wayne schools",'all=Wayne'); mySelect.options[mySelect.options.length] = new Option("Woodlyn schools",'all=Woodlyn'); mySelect.options[mySelect.options.length] = new Option("Yeadon schools",'all=Yeadon'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Sharon_Hill[Sharon_Hill.length] = createMarker(new GPoint(-75.26718140,39.90896225),"
Academy Park High School
300 Calcon Hook Rd
Sharon Hill, PA 19079

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Academy Park High School",'Sharon_Hill=' + Sharon_Hill.length); Aldan[Aldan.length] = createMarker(new GPoint(-75.28844452,39.92178726),"
Aldan School
1 North Woodlawn Ave
Aldan, PA 19018

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Aldan School",'Aldan=' + Aldan.length); Morton[Morton.length] = createMarker(new GPoint(-75.31555939,39.90019226),"
Amosland Elementary School
549 Amosland Rd
Morton, PA 19070

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Amosland Elementary School",'Morton=' + Morton.length); Lansdowne[Lansdowne.length] = createMarker(new GPoint(-75.28031158,39.94169617),"
Ardmore Avenue School
161 Ardmore Ave
Lansdowne, PA 19050

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ardmore Avenue School",'Lansdowne=' + Lansdowne.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.31436920,39.95302963),"
Aronimink Elementary School
4611 Bond Ave
Drexel Hill, PA 19026

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Aronimink Elementary School",'Drexel_Hill=' + Drexel_Hill.length); Glenolden[Glenolden.length] = createMarker(new GPoint(-75.29663086,39.90892792),"
Ashland Middle School
801 Ashland Avenue
Glenolden, PA 19036

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Ashland Middle School",'Glenolden=' + Glenolden.length); Aston[Aston.length] = createMarker(new GPoint(-75.44204712,39.87011719),"
Aston Elementary School
900 Tryens Rd
Aston, PA 19014

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Aston Elementary School",'Aston=' + Aston.length); Yeadon[Yeadon.length] = createMarker(new GPoint(-75.25090790,39.92712784),"
Bell Avenue School
1000 Bell Ave
Yeadon, PA 19050

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bell Avenue School",'Yeadon=' + Yeadon.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.48728180,39.84707260),"
Bethel Springs Elementary School
3280 Foulk Road
Boothwyn, PA 19061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bethel Springs Elementary School",'Boothwyn=' + Boothwyn.length); Upper_Darby[Upper_Darby.length] = createMarker(new GPoint(-75.27330780,39.95541763),"
Beverly Hills Middle School
1400 Garrett Rd
Upper Darby, PA 19082

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Beverly Hills Middle School",'Upper_Darby=' + Upper_Darby.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44860077,39.83480072),"
Boothwyn Elementary School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Boothwyn Elementary School",'Boothwyn=' + Boothwyn.length); Upper_Darby[Upper_Darby.length] = createMarker(new GPoint(-75.26768494,39.95670700),"
Bywood Elementary School
330 Avon Rd
Upper Darby, PA 19082

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bywood Elementary School",'Upper_Darby=' + Upper_Darby.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.29705048,39.97582626),"
Chatham Park Elementary School
400 Allston Rd
Havertown, PA 19083

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chatham Park Elementary School",'Havertown=' + Havertown.length); Chester[Chester.length] = createMarker(new GPoint(-75.39553070,39.83739853),"
Chester Charter School
2717 W 10th Street
Chester, PA 19013

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Chester Charter School",'Chester=' + Chester.length); Chester[Chester.length] = createMarker(new GPoint(-75.35769653,39.84959412),"
Chester Community Charter School
214 East 5th Street
Chester, PA 19013

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chester Community Charter School",'Chester=' + Chester.length); Chester[Chester.length] = createMarker(new GPoint(-75.36643219,39.85047150),"
Chester High School
200 West 9th St
Chester, PA 19013

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Chester High School",'Chester=' + Chester.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.43583679,39.83230972),"
Chichester Middle School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Chichester Middle School",'Boothwyn=' + Boothwyn.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44088800,39.82977500),"
Chichester MiddleSchool
925 Meetinghouse Rd
Boothwyn, PA 19061

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Chichester MiddleSchool",'Boothwyn=' + Boothwyn.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44860077,39.83480072),"
Chichester Senior High School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Chichester Senior High School",'Boothwyn=' + Boothwyn.length); Brookhaven[Brookhaven.length] = createMarker(new GPoint(-75.38231659,39.86924744),"
Coebourn Elementary School
Coebourn Boulevard
Brookhaven, PA 19015

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Coebourn Elementary School",'Brookhaven=' + Brookhaven.length); Chester[Chester.length] = createMarker(new GPoint(-75.36889648,39.85076523),"
Columbus Elementary School
320 W 10th St
Chester, PA 19013

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Columbus Elementary School",'Chester=' + Chester.length); Colwyn[Colwyn.length] = createMarker(new GPoint(-75.26232147,39.92559814),"
Colwyn Elementary School
211 Pine Street
Colwyn, PA 19023

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Colwyn Elementary School",'Colwyn=' + Colwyn.length); Glen_Mills[Glen_Mills.length] = createMarker(new GPoint(-75.50690460,39.86610031),"
Concord Elementary School
245 Bethel Rd
Glen Mills, PA 19342

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Concord Elementary School",'Glen_Mills=' + Glen_Mills.length); Bryn_Mawr[Bryn_Mawr.length] = createMarker(new GPoint(-75.32613373,40.00828552),"
Coopertown Elementary School
800 Coopertown Rd
Bryn Mawr, PA 19010

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Coopertown Elementary School",'Bryn_Mawr=' + Bryn_Mawr.length); Newtown_Square[Newtown_Square.length] = createMarker(new GPoint(-75.40311432,39.99692535),"
Culbertson Elementary School
3530 Goshen Rd
Newtown Square, PA 19073

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Culbertson Elementary School",'Newtown_Square=' + Newtown_Square.length); Glenolden[Glenolden.length] = createMarker(new GPoint(-75.29654694,39.91272736),"
Darby Township Elementary School
801 Ashland Avenue
Glenolden, PA 19036

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Darby Township Elementary School",'Glenolden=' + Glenolden.length); Folcroft[Folcroft.length] = createMarker(new GPoint(-75.27970123,39.89450073),"
Delaware County Technical High School
701 Henderson Blvd
Folcroft, PA 19032

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Delaware County Technical High School",'Folcroft=' + Folcroft.length); Aston[Aston.length] = createMarker(new GPoint(-75.45538330,39.88230133),"
Delaware County Technical High School
700 Crozerville Rd
Aston, PA 19014

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Delaware County Technical High School",'Aston=' + Aston.length); Folcroft[Folcroft.length] = createMarker(new GPoint(-75.28124237,39.88909149),"
Delcroft School
799 School Lane
Folcroft, PA 19032

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Delcroft School",'Folcroft=' + Folcroft.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.29576111,39.95645523),"
Drexel Hill Middle School
3001 State Rd
Drexel Hill, PA 19026

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Drexel Hill Middle School",'Drexel_Hill=' + Drexel_Hill.length); East_Lansdowne[East_Lansdowne.length] = createMarker(new GPoint(-75.26393890,39.94555283),"
East Lansdowne School
401 Emerson Ave
East Lansdowne, PA 19050

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("East Lansdowne School",'East_Lansdowne=' + East_Lansdowne.length); Eddystone[Eddystone.length] = createMarker(new GPoint(-75.35146332,39.85614014),"
Eddystone Elementary School
9th Simpson Streets
Eddystone, PA 19022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eddystone Elementary School",'Eddystone=' + Eddystone.length); Folsom[Folsom.length] = createMarker(new GPoint(-75.33027649,39.89477158),"
Edgewood Elementary School
525 8th Ave
Folsom, PA 19033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edgewood Elementary School",'Folsom=' + Folsom.length); Glen_Mills[Glen_Mills.length] = createMarker(new GPoint(-75.50910950,39.86862946),"
Garnet Valley Elementary School
599 Smithbridge Rd
Glen Mills, PA 19342

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Garnet Valley Elementary School",'Glen_Mills=' + Glen_Mills.length); Glen_Mills[Glen_Mills.length] = createMarker(new GPoint(-75.50569153,39.86995316),"
Garnet Valley High School
552 Smithbridge Rd
Glen Mills, PA 19342

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Garnet Valley High School",'Glen_Mills=' + Glen_Mills.length); Glen_Mills[Glen_Mills.length] = createMarker(new GPoint(-75.50917053,39.86860275),"
Garnet Valley Middle School
601 Smithbridge Rd
Glen Mills, PA 19342

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Garnet Valley Middle School",'Glen_Mills=' + Glen_Mills.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.29781342,39.94383240),"
Garrettford Elementary School
3830 Garrett Rd
Drexel Hill, PA 19026

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Garrettford Elementary School",'Drexel_Hill=' + Drexel_Hill.length); Glenolden[Glenolden.length] = createMarker(new GPoint(-75.29650116,39.90314102),"
Glenolden School
Macdade Knowles
Glenolden, PA 19036

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glenolden School",'Glenolden=' + Glenolden.length); Media[Media.length] = createMarker(new GPoint(-75.43996429,39.90394211),"
Glenwood Elementary School
122 S Pennell Rd
Media, PA 19063

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glenwood Elementary School",'Media=' + Media.length); Swarthmore[Swarthmore.length] = createMarker(new GPoint(-75.35044861,39.90221024),"
Grace Park Elementary School
Seventh Avenue
Swarthmore, PA 19081

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Grace Park Elementary School",'Swarthmore=' + Swarthmore.length); Collingdale[Collingdale.length] = createMarker(new GPoint(-75.27833557,39.91499710),"
Harris Elementary School
501 Sharon Avenue
Collingdale, PA 19023

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harris Elementary School",'Collingdale=' + Collingdale.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.30556488,39.98239517),"
Haverford Middle School
1701 Darby Rd
Havertown, PA 19083

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Haverford Middle School",'Havertown=' + Havertown.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.30165100,39.98299026),"
Haverford Senior High School
200 Mill Rd
Havertown, PA 19083

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Haverford Senior High School",'Havertown=' + Havertown.length); Upper_Darby[Upper_Darby.length] = createMarker(new GPoint(-75.28150940,39.96608734),"
Highland Park Elementary School
8301 West Chester Pike
Upper Darby, PA 19082

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Highland Park Elementary School",'Upper_Darby=' + Upper_Darby.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.29895020,39.96004868),"
Hillcrest Elementary School
2601 Bond Ave
Drexel Hill, PA 19026

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Drexel_Hill=' + Drexel_Hill.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44860077,39.83480072),"
Hilltop Elementary School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hilltop Elementary School",'Boothwyn=' + Boothwyn.length); Media[Media.length] = createMarker(new GPoint(-75.40702057,39.90378571),"
Indian Lane Elementary School
309 S Old Middletown Rd
Media, PA 19063

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Indian Lane Elementary School",'Media=' + Media.length); Prospect_Park[Prospect_Park.length] = createMarker(new GPoint(-75.30967712,39.89265823),"
Interboro Senior High School
16th Amosland Road
Prospect Park, PA 19076

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Interboro Senior High School",'Prospect_Park=' + Prospect_Park.length); Bryn_Mawr[Bryn_Mawr.length] = createMarker(new GPoint(-75.35794830,40.01414108),"
Ithan Elementary School
695 Clyde Rd
Bryn Mawr, PA 19010

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ithan Elementary School",'Bryn_Mawr=' + Bryn_Mawr.length); Swarthmore[Swarthmore.length] = createMarker(new GPoint(-75.34794400,39.90088000),"
Kid's Place The
0100 College Ave
Swarthmore, PA 19081

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kid's Place The",'Swarthmore=' + Swarthmore.length); Prospect_Park[Prospect_Park.length] = createMarker(new GPoint(-75.30353546,39.88726044),"
Kindergarten Academy
900 Washington Avenue
Prospect Park, PA 19076

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kindergarten Academy",'Prospect_Park=' + Prospect_Park.length); Ridley_Park[Ridley_Park.length] = createMarker(new GPoint(-75.33066559,39.87719345),"
Lakeview Elementary School
333 Constitution Ave
Ridley Park, PA 19078

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lakeview Elementary School",'Ridley_Park=' + Ridley_Park.length); Ridley_Park[Ridley_Park.length] = createMarker(new GPoint(-75.32160187,39.87623978),"
Leedom Elementary School
620 East Chester Pike
Ridley Park, PA 19078

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Leedom Elementary School",'Ridley_Park=' + Ridley_Park.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44860077,39.83480072),"
Linwood Elementary School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Linwood Elementary School",'Boothwyn=' + Boothwyn.length); Broomall[Broomall.length] = createMarker(new GPoint(-75.34611511,39.96324921),"
Loomis Elementary School
369 N Central Blvd
Broomall, PA 19008

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Loomis Elementary School",'Broomall=' + Broomall.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.32069397,39.98279953),"
Lynnewood Elementary School
1400 Lawrence Rd
Havertown, PA 19083

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lynnewood Elementary School",'Havertown=' + Havertown.length); Upland[Upland.length] = createMarker(new GPoint(-75.38236237,39.85677338),"
Main Street School
704 Main St
Upland, PA 19015

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Main Street School",'Upland=' + Upland.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.31558990,39.97089767),"
Manoa Elementary School
101 S Manoa Rd
Havertown, PA 19083

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Manoa Elementary School",'Havertown=' + Havertown.length); Boothwyn[Boothwyn.length] = createMarker(new GPoint(-75.44860077,39.83480072),"
Marcus Hook Elementary School
Po Box 2100
Boothwyn, PA 19061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Marcus Hook Elementary School",'Boothwyn=' + Boothwyn.length); Newtown_Square[Newtown_Square.length] = createMarker(new GPoint(-75.38475037,39.97951126),"
Marple Newtown Senior High School
120 Media Line Rd
Newtown Square, PA 19073

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Marple Newtown Senior High School",'Newtown_Square=' + Newtown_Square.length); Media[Media.length] = createMarker(new GPoint(-75.38700104,39.91854095),"
Media Elementary School
Front Monroe Streets
Media, PA 19063

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Media Elementary School",'Media=' + Media.length); Wallingford[Wallingford.length] = createMarker(new GPoint(-75.37446594,39.88146973),"
Nether Providence Elementary School
410 Moore Rd
Wallingford, PA 19086

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Nether Providence Elementary School",'Wallingford=' + Wallingford.length); Aston[Aston.length] = createMarker(new GPoint(-75.41185760,39.86043167),"
Northley Middle School
95 Concord Road
Aston, PA 19014

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northley Middle School",'Aston=' + Aston.length); Norwood[Norwood.length] = createMarker(new GPoint(-75.29762268,39.88525772),"
Norwood School
558 Seneca Ave
Norwood, PA 19074

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Norwood School",'Norwood=' + Norwood.length); Havertown[Havertown.length] = createMarker(new GPoint(-75.30918884,39.98913574),"
Oakmont School
50 E Eagle Rd
Havertown, PA 19083

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakmont School",'Havertown=' + Havertown.length); Darby[Darby.length] = createMarker(new GPoint(-75.26258850,39.92556763),"
Park Lane Elementary School
1300 Park Ln
Darby, PA 19023

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Park Lane Elementary School",'Darby=' + Darby.length); Parkside[Parkside.length] = createMarker(new GPoint(-75.38825989,39.87271881),"
Parkside Elementary School
2 East Forestview Ave
Parkside, PA 19015

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Parkside Elementary School",'Parkside=' + Parkside.length); Chester[Chester.length] = createMarker(new GPoint(-75.39487457,39.83481216),"
Parry Middle School
501 W 9th St
Chester, PA 19013

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Parry Middle School",'Chester=' + Chester.length); Broomall[Broomall.length] = createMarker(new GPoint(-75.36515045,39.95825958),"
Paxon Hollow Middle School
815 Paxon Hollow Rd
Broomall, PA 19008

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Paxon Hollow Middle School",'Broomall=' + Broomall.length); Yeadon[Yeadon.length] = createMarker(new GPoint(-75.25047302,39.93771362),"
Penn Wood East Junior High School
600 Cypress St
Yeadon, PA 19050

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Penn Wood East Junior High School",'Yeadon=' + Yeadon.length); Lansdowne[Lansdowne.length] = createMarker(new GPoint(-75.27114868,39.94535065),"
Penn Wood Senior High School
100 Green Avenue
Lansdowne, PA 19050

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Penn Wood Senior High School",'Lansdowne=' + Lansdowne.length); Darby[Darby.length] = createMarker(new GPoint(-75.25749207,39.91987610),"
Penn Wood West Junior High School
121 Summit St
Darby, PA 19023

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Penn Wood West Junior High School",'Darby=' + Darby.length); Media[Media.length] = createMarker(new GPoint(-75.43320465,39.92298508),"
Penncrest High School
134 Barren Rd
Media, PA 19063

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Penncrest High School",'Media=' + Media.length); Aston[Aston.length] = createMarker(new GPoint(-75.42964172,39.86383820),"
Pennell Elementary School
3300 Richard Rd
Aston, PA 19014

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pennell Elementary School",'Aston=' + Aston.length); Primos[Primos.length] = createMarker(new GPoint(-75.30260468,39.92227554),"
Primos Elementary School
861 Bunting Ln
Primos, PA 19018

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Primos Elementary School",'Primos=' + Primos.length); Prospect_Park[Prospect_Park.length] = createMarker(new GPoint(-75.30970001,39.88531876),"
Prospect Park School
10th Pennsylvania Avenues
Prospect Park, PA 19076

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prospect Park School",'Prospect_Park=' + Prospect_Park.length); Radnor[Radnor.length] = createMarker(new GPoint(-75.36061859,40.04683685),"
Radnor Elementary School
20 Matsonford Road
Radnor, PA 19087

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Radnor Elementary School",'Radnor=' + Radnor.length); Wayne[Wayne.length] = createMarker(new GPoint(-75.38756561,40.04202271),"
Radnor Middle School
131 S Wayne Ave
Wayne, PA 19087

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Radnor Middle School",'Wayne=' + Wayne.length); Radnor[Radnor.length] = createMarker(new GPoint(-75.35582733,40.03824234),"
Radnor Senior High School
130 King Of Prussia Rd
Radnor, PA 19087

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Radnor Senior High School",'Radnor=' + Radnor.length); Springfield[Springfield.length] = createMarker(new GPoint(-75.34058380,39.92493820),"
Richardson Middle School
20 W Woodland Ave
Springfield, PA 19064

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Richardson Middle School",'Springfield=' + Springfield.length); Folsom[Folsom.length] = createMarker(new GPoint(-75.33110046,39.88631821),"
Ridley High School
901 Morton Avenue
Folsom, PA 19033

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ridley High School",'Folsom=' + Folsom.length); Ridley_Park[Ridley_Park.length] = createMarker(new GPoint(-75.32795715,39.87868118),"
Ridley Middle School
Free Dupont Streets
Ridley Park, PA 19078

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Ridley Middle School",'Ridley_Park=' + Ridley_Park.length); Media[Media.length] = createMarker(new GPoint(-75.38793182,39.93259811),"
Rose Tree Elementary School
1101 First Ave
Media, PA 19063

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rose Tree Elementary School",'Media=' + Media.length); Broomall[Broomall.length] = createMarker(new GPoint(-75.36093140,39.97077179),"
Russell Elementary School
2201 Sproul Rd
Broomall, PA 19008

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Russell Elementary School",'Broomall=' + Broomall.length); Springfield[Springfield.length] = createMarker(new GPoint(-75.34017944,39.91899872),"
Sabold Elementary School
468 East Thomson Avenue
Springfield, PA 19064

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sabold Elementary School",'Springfield=' + Springfield.length); Springfield[Springfield.length] = createMarker(new GPoint(-75.32292175,39.93521881),"
Scenic Hills Elementary School
235 Hillview Drive
Springfield, PA 19064

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Scenic Hills Elementary School",'Springfield=' + Springfield.length); Sharon_Hill[Sharon_Hill.length] = createMarker(new GPoint(-75.26709747,39.91026306),"
Sharon Hill School
701 Coates Street
Sharon Hill, PA 19079

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sharon Hill School",'Sharon_Hill=' + Sharon_Hill.length); Chester[Chester.length] = createMarker(new GPoint(-75.37744141,39.84724045),"
Showalter Middle School
1100 West 10th St
Chester, PA 19013

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Showalter Middle School",'Chester=' + Chester.length); Chester[Chester.length] = createMarker(new GPoint(-75.36193085,39.86169434),"
Smedley Middle School
1701 Upland St
Chester, PA 19013

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Smedley Middle School",'Chester=' + Chester.length); Folcroft[Folcroft.length] = createMarker(new GPoint(-75.27760315,39.91170120),"
Southeast Academy
1555 Elmwood Ave
Folcroft, PA 19032

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southeast Academy",'Folcroft=' + Folcroft.length); Springfield[Springfield.length] = createMarker(new GPoint(-75.33840179,39.92733002),"
Springfield High School
49 W Leamy Ave
Springfield, PA 19064

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Springfield High School",'Springfield=' + Springfield.length); Media[Media.length] = createMarker(new GPoint(-75.39884949,39.94470978),"
Springton Lake Middle School
1900 N Providence Rd
Media, PA 19063

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Springton Lake Middle School",'Media=' + Media.length); Chester[Chester.length] = createMarker(new GPoint(-75.35358429,39.86513138),"
Stetser Elementary School
808 E 17th St
Chester, PA 19013

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stetser Elementary School",'Chester=' + Chester.length); Upper_Darby[Upper_Darby.length] = createMarker(new GPoint(-75.25834656,39.95063400),"
Stonehurst Hills Elementary School
7051 Ruskin Ln
Upper Darby, PA 19082

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stonehurst Hills Elementary School",'Upper_Darby=' + Upper_Darby.length); Wallingford[Wallingford.length] = createMarker(new GPoint(-75.37126160,39.89499664),"
Strath Haven High School
205 S Providence Rd
Wallingford, PA 19086

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Strath Haven High School",'Wallingford=' + Wallingford.length); Wallingford[Wallingford.length] = createMarker(new GPoint(-75.36575400,39.89339000),"
Strath Haven Middle School
200 S Providence Rd
Wallingford, PA 19086

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Strath Haven Middle School",'Wallingford=' + Wallingford.length); Aston[Aston.length] = createMarker(new GPoint(-75.41812897,39.85894775),"
Sun Valley High School
2881 Pancoast Ave
Aston, PA 19014

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Sun Valley High School",'Aston=' + Aston.length); Swarthmore[Swarthmore.length] = createMarker(new GPoint(-75.34621429,39.90549850),"
Swarthmore-rutledge School
100 College Ave
Swarthmore, PA 19081

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Swarthmore-rutledge School",'Swarthmore=' + Swarthmore.length); Essington[Essington.length] = createMarker(new GPoint(-75.29791260,39.86225891),"
Tinicum School
First Seneca Streets
Essington, PA 19029

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tinicum School",'Essington=' + Essington.length); Brookhaven[Brookhaven.length] = createMarker(new GPoint(-75.38990021,39.85870361),"
Toby Farms School
201 Bridgewater Rd
Brookhaven, PA 19015

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Toby Farms School",'Brookhaven=' + Brookhaven.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.29936981,39.95491028),"
Upper Darby Kdg Center
3200 State Rd
Drexel Hill, PA 19026

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Upper Darby Kdg Center",'Drexel_Hill=' + Drexel_Hill.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.29647400,39.94900000),"
Upper Darby Senior High School
601 North Lansdowne Avenue
Drexel Hill, PA 19026

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Upper Darby Senior High School",'Drexel_Hill=' + Drexel_Hill.length); Chester_Township[Chester_Township.length] = createMarker(new GPoint(-75.40965271,39.84855270),"
Village Cs Of Chester-upland
200 Commerce Drive
Chester Township, PA 19014

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Village Cs Of Chester-upland",'Chester_Township=' + Chester_Township.length); Yeadon[Yeadon.length] = createMarker(new GPoint(-75.25185394,39.93706131),"
W B Evans Elementary School
900 Baily Rd
Yeadon, PA 19050

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("W B Evans Elementary School",'Yeadon=' + Yeadon.length); Wallingford[Wallingford.length] = createMarker(new GPoint(-75.37360382,39.90121460),"
Wallingford Elementary School
20 S Providence Rd
Wallingford, PA 19086

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wallingford Elementary School",'Wallingford=' + Wallingford.length); Darby[Darby.length] = createMarker(new GPoint(-75.25672150,39.91534424),"
Walnut Street School
224 S 6th St
Darby, PA 19023

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walnut Street School",'Darby=' + Darby.length); Glenolden[Glenolden.length] = createMarker(new GPoint(-75.28631200,39.90151700),"
Walter M Senkow Elementary School
15 East Lamont Avenue
Glenolden, PA 19036

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walter M Senkow Elementary School",'Glenolden=' + Glenolden.length); Wayne[Wayne.length] = createMarker(new GPoint(-75.40432739,40.03475952),"
Wayne Elementary School
651 W Wayne Ave
Wayne, PA 19087

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wayne Elementary School",'Wayne=' + Wayne.length); Clifton_Heights[Clifton_Heights.length] = createMarker(new GPoint(-75.30831909,39.93046188),"
Westbrook Park Elementary School
199 Westbrook Dr
Clifton Heights, PA 19018

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westbrook Park Elementary School",'Clifton_Heights=' + Clifton_Heights.length); Chester[Chester.length] = createMarker(new GPoint(-75.36581421,39.86730957),"
Wetherill Elementary School
319 E 24th St
Chester, PA 19013

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wetherill Elementary School",'Chester=' + Chester.length); Chester[Chester.length] = createMarker(new GPoint(-75.40276337,39.83868027),"
William Penn Elementary School
2800 Township Line Rd
Chester, PA 19013

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("William Penn Elementary School",'Chester=' + Chester.length); Woodlyn[Woodlyn.length] = createMarker(new GPoint(-75.34181976,39.87878036),"
Woodlyn Elementary School
School Lane Colson
Woodlyn, PA 19094

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodlyn Elementary School",'Woodlyn=' + Woodlyn.length); Broomall[Broomall.length] = createMarker(new GPoint(-75.38100433,39.97861862),"
Worrall Elementary School
2979 Pennview Ave
Broomall, PA 19008

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Worrall Elementary School",'Broomall=' + Broomall.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(Aldan); map.removeOverlays(Aston); map.removeOverlays(Boothwyn); map.removeOverlays(Brookhaven); map.removeOverlays(Broomall); map.removeOverlays(Bryn_Mawr); map.removeOverlays(Chester); map.removeOverlays(Chester_Township); map.removeOverlays(Clifton_Heights); map.removeOverlays(Collingdale); map.removeOverlays(Colwyn); map.removeOverlays(Darby); map.removeOverlays(Drexel_Hill); map.removeOverlays(East_Lansdowne); map.removeOverlays(Eddystone); map.removeOverlays(Essington); map.removeOverlays(Folcroft); map.removeOverlays(Folsom); map.removeOverlays(Glen_Mills); map.removeOverlays(Glenolden); map.removeOverlays(Havertown); map.removeOverlays(Lansdowne); map.removeOverlays(Media); map.removeOverlays(Morton); map.removeOverlays(Newtown_Square); map.removeOverlays(Norwood); map.removeOverlays(Parkside); map.removeOverlays(Primos); map.removeOverlays(Prospect_Park); map.removeOverlays(Radnor); map.removeOverlays(Ridley_Park); map.removeOverlays(Sharon_Hill); map.removeOverlays(Springfield); map.removeOverlays(Swarthmore); map.removeOverlays(Upland); map.removeOverlays(Upper_Darby); map.removeOverlays(Wallingford); map.removeOverlays(Wayne); map.removeOverlays(Woodlyn); map.removeOverlays(Yeadon); 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(Sharon_Hill);map.removeOverlays(Aldan); map.removeOverlays(Aston); map.removeOverlays(Boothwyn); map.removeOverlays(Brookhaven); map.removeOverlays(Broomall); map.removeOverlays(Bryn_Mawr); map.removeOverlays(Chester); map.removeOverlays(Chester_Township); map.removeOverlays(Clifton_Heights); map.removeOverlays(Collingdale); map.removeOverlays(Colwyn); map.removeOverlays(Darby); map.removeOverlays(Drexel_Hill); map.removeOverlays(East_Lansdowne); map.removeOverlays(Eddystone); map.removeOverlays(Essington); map.removeOverlays(Folcroft); map.removeOverlays(Folsom); map.removeOverlays(Glen_Mills); map.removeOverlays(Glenolden); map.removeOverlays(Havertown); map.removeOverlays(Lansdowne); map.removeOverlays(Media); map.removeOverlays(Morton); map.removeOverlays(Newtown_Square); map.removeOverlays(Norwood); map.removeOverlays(Parkside); map.removeOverlays(Primos); map.removeOverlays(Prospect_Park); map.removeOverlays(Radnor); map.removeOverlays(Ridley_Park); map.removeOverlays(Sharon_Hill); map.removeOverlays(Springfield); map.removeOverlays(Swarthmore); map.removeOverlays(Upland); map.removeOverlays(Upper_Darby); map.removeOverlays(Wallingford); map.removeOverlays(Wayne); map.removeOverlays(Woodlyn); map.removeOverlays(Yeadon); map.addOverlays(Aldan); centerByArray(Aldan, false, false); cntMarker += Aldan.length; map.addOverlays(Aston); centerByArray(Aston, false, false); cntMarker += Aston.length; map.addOverlays(Boothwyn); centerByArray(Boothwyn, false, false); cntMarker += Boothwyn.length; map.addOverlays(Brookhaven); centerByArray(Brookhaven, false, false); cntMarker += Brookhaven.length; map.addOverlays(Broomall); centerByArray(Broomall, false, false); cntMarker += Broomall.length; map.addOverlays(Bryn_Mawr); centerByArray(Bryn_Mawr, false, false); cntMarker += Bryn_Mawr.length; map.addOverlays(Chester); centerByArray(Chester, false, false); cntMarker += Chester.length; map.addOverlays(Chester_Township); centerByArray(Chester_Township, false, false); cntMarker += Chester_Township.length; map.addOverlays(Clifton_Heights); centerByArray(Clifton_Heights, false, false); cntMarker += Clifton_Heights.length; map.addOverlays(Collingdale); centerByArray(Collingdale, false, false); cntMarker += Collingdale.length; map.addOverlays(Colwyn); centerByArray(Colwyn, false, false); cntMarker += Colwyn.length; map.addOverlays(Darby); centerByArray(Darby, false, false); cntMarker += Darby.length; map.addOverlays(Drexel_Hill); centerByArray(Drexel_Hill, false, false); cntMarker += Drexel_Hill.length; map.addOverlays(East_Lansdowne); centerByArray(East_Lansdowne, false, false); cntMarker += East_Lansdowne.length; map.addOverlays(Eddystone); centerByArray(Eddystone, false, false); cntMarker += Eddystone.length; map.addOverlays(Essington); centerByArray(Essington, false, false); cntMarker += Essington.length; map.addOverlays(Folcroft); centerByArray(Folcroft, false, false); cntMarker += Folcroft.length; map.addOverlays(Folsom); centerByArray(Folsom, false, false); cntMarker += Folsom.length; map.addOverlays(Glen_Mills); centerByArray(Glen_Mills, false, false); cntMarker += Glen_Mills.length; map.addOverlays(Glenolden); centerByArray(Glenolden, false, false); cntMarker += Glenolden.length; map.addOverlays(Havertown); centerByArray(Havertown, false, false); cntMarker += Havertown.length; map.addOverlays(Lansdowne); centerByArray(Lansdowne, false, false); cntMarker += Lansdowne.length; map.addOverlays(Media); centerByArray(Media, false, false); cntMarker += Media.length; map.addOverlays(Morton); centerByArray(Morton, false, false); cntMarker += Morton.length; map.addOverlays(Newtown_Square); centerByArray(Newtown_Square, false, false); cntMarker += Newtown_Square.length; map.addOverlays(Norwood); centerByArray(Norwood, false, false); cntMarker += Norwood.length; map.addOverlays(Parkside); centerByArray(Parkside, false, false); cntMarker += Parkside.length; map.addOverlays(Primos); centerByArray(Primos, false, false); cntMarker += Primos.length; map.addOverlays(Prospect_Park); centerByArray(Prospect_Park, false, false); cntMarker += Prospect_Park.length; map.addOverlays(Radnor); centerByArray(Radnor, false, false); cntMarker += Radnor.length; map.addOverlays(Ridley_Park); centerByArray(Ridley_Park, false, false); cntMarker += Ridley_Park.length; map.addOverlays(Sharon_Hill); centerByArray(Sharon_Hill, false, false); cntMarker += Sharon_Hill.length; map.addOverlays(Springfield); centerByArray(Springfield, false, false); cntMarker += Springfield.length; map.addOverlays(Swarthmore); centerByArray(Swarthmore, false, false); cntMarker += Swarthmore.length; map.addOverlays(Upland); centerByArray(Upland, false, false); cntMarker += Upland.length; map.addOverlays(Upper_Darby); centerByArray(Upper_Darby, false, false); cntMarker += Upper_Darby.length; map.addOverlays(Wallingford); centerByArray(Wallingford, false, false); cntMarker += Wallingford.length; map.addOverlays(Wayne); centerByArray(Wayne, false, false); cntMarker += Wayne.length; map.addOverlays(Woodlyn); centerByArray(Woodlyn, false, false); cntMarker += Woodlyn.length; map.addOverlays(Yeadon); centerByArray(Yeadon, false, false); cntMarker += Yeadon.length; centerByArray(Sharon_Hill,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'); } }