function addMarkers(){ mySelect = document.getElementById('selection'); Uniontown = [];Drexel_Hill = [];Swarthmore = [];Radnor = [];Bala_Cynwyd = [];Malvern = [];Bechtelsville = [];Pittsburgh = [];Blue_Bell = [];Scranton = [];Fairless_Hills = [];Exton = [];Manheim = [];Allentown = [];Greensburg = [];Cranberry_Twp = [];Gladwyne = [];Philadelphia = [];Lansdale = [];Aston = [];Chambersburg = [];Lancaster = [];Glenshaw = [];Phoenixville = [];Sewickley = [];Fallsington = [];Furlong = [];Erie = [];Mechanicsburg = [];Bridgeville = [];Huntingdon_Valley = [];Mount_Lebanon = [];Dresher = [];State_College = [];Hollidaysburg = [];Secane = [];Newtown_Square = [];York = [];Merion_Station = [];Allison_Park = [];Wyndmoor = [];Kingston = [];mySelect.options[mySelect.options.length] = new Option("Allentown schools",'all=Allentown'); mySelect.options[mySelect.options.length] = new Option("Allison Park schools",'all=Allison_Park'); mySelect.options[mySelect.options.length] = new Option("Aston schools",'all=Aston'); mySelect.options[mySelect.options.length] = new Option("Bala Cynwyd schools",'all=Bala_Cynwyd'); mySelect.options[mySelect.options.length] = new Option("Bechtelsville schools",'all=Bechtelsville'); mySelect.options[mySelect.options.length] = new Option("Blue Bell schools",'all=Blue_Bell'); mySelect.options[mySelect.options.length] = new Option("Bridgeville schools",'all=Bridgeville'); mySelect.options[mySelect.options.length] = new Option("Chambersburg schools",'all=Chambersburg'); mySelect.options[mySelect.options.length] = new Option("Cranberry Twp schools",'all=Cranberry_Twp'); mySelect.options[mySelect.options.length] = new Option("Dresher schools",'all=Dresher'); mySelect.options[mySelect.options.length] = new Option("Drexel Hill schools",'all=Drexel_Hill'); mySelect.options[mySelect.options.length] = new Option("Erie schools",'all=Erie'); mySelect.options[mySelect.options.length] = new Option("Exton schools",'all=Exton'); mySelect.options[mySelect.options.length] = new Option("Fairless Hills schools",'all=Fairless_Hills'); mySelect.options[mySelect.options.length] = new Option("Fallsington schools",'all=Fallsington'); mySelect.options[mySelect.options.length] = new Option("Furlong schools",'all=Furlong'); mySelect.options[mySelect.options.length] = new Option("Gladwyne schools",'all=Gladwyne'); mySelect.options[mySelect.options.length] = new Option("Glenshaw schools",'all=Glenshaw'); mySelect.options[mySelect.options.length] = new Option("Greensburg schools",'all=Greensburg'); mySelect.options[mySelect.options.length] = new Option("Hollidaysburg schools",'all=Hollidaysburg'); mySelect.options[mySelect.options.length] = new Option("Huntingdon Valley schools",'all=Huntingdon_Valley'); mySelect.options[mySelect.options.length] = new Option("Kingston schools",'all=Kingston'); mySelect.options[mySelect.options.length] = new Option("Lancaster schools",'all=Lancaster'); mySelect.options[mySelect.options.length] = new Option("Lansdale schools",'all=Lansdale'); mySelect.options[mySelect.options.length] = new Option("Malvern schools",'all=Malvern'); mySelect.options[mySelect.options.length] = new Option("Manheim schools",'all=Manheim'); mySelect.options[mySelect.options.length] = new Option("Mechanicsburg schools",'all=Mechanicsburg'); mySelect.options[mySelect.options.length] = new Option("Merion Station schools",'all=Merion_Station'); mySelect.options[mySelect.options.length] = new Option("Mount Lebanon schools",'all=Mount_Lebanon'); mySelect.options[mySelect.options.length] = new Option("Newtown Square schools",'all=Newtown_Square'); mySelect.options[mySelect.options.length] = new Option("Philadelphia schools",'all=Philadelphia'); mySelect.options[mySelect.options.length] = new Option("Phoenixville schools",'all=Phoenixville'); mySelect.options[mySelect.options.length] = new Option("Pittsburgh schools",'all=Pittsburgh'); mySelect.options[mySelect.options.length] = new Option("Radnor schools",'all=Radnor'); mySelect.options[mySelect.options.length] = new Option("Scranton schools",'all=Scranton'); mySelect.options[mySelect.options.length] = new Option("Secane schools",'all=Secane'); mySelect.options[mySelect.options.length] = new Option("Sewickley schools",'all=Sewickley'); mySelect.options[mySelect.options.length] = new Option("State College schools",'all=State_College'); mySelect.options[mySelect.options.length] = new Option("Swarthmore schools",'all=Swarthmore'); mySelect.options[mySelect.options.length] = new Option("Uniontown schools",'all=Uniontown'); mySelect.options[mySelect.options.length] = new Option("Wyndmoor schools",'all=Wyndmoor'); mySelect.options[mySelect.options.length] = new Option("York schools",'all=York'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Uniontown[Uniontown.length] = createMarker(new GPoint(-79.69475500,39.91803200),"
A. G. Montessori School
199 Edison Street
Uniontown, PA 15401
Co-ed school, NS-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("A. G. Montessori School",'Uniontown=' + Uniontown.length); Drexel_Hill[Drexel_Hill.length] = createMarker(new GPoint(-75.32488300,39.94675100),"
Ancona Montessori School
5290 Township Line Road
Drexel Hill, PA 19026
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ancona Montessori School",'Drexel_Hill=' + Drexel_Hill.length); Swarthmore[Swarthmore.length] = createMarker(new GPoint(-75.34716100,39.88769200),"
Ancona Montessori School
900 Fairview Road
Swarthmore, PA 19081
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ancona Montessori School",'Swarthmore=' + Swarthmore.length); Swarthmore[Swarthmore.length] = createMarker(new GPoint(-75.34716100,39.88769200),"
Ancona Montossori School
900 Fairview Road
Swarthmore, PA 19081
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ancona Montossori School",'Swarthmore=' + Swarthmore.length); Radnor[Radnor.length] = createMarker(new GPoint(-75.35444100,40.06061800),"
Armenian Sisters Academy
440 Upper Gulph Road
Radnor, PA 19087
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Armenian Sisters Academy",'Radnor=' + Radnor.length); Bala_Cynwyd[Bala_Cynwyd.length] = createMarker(new GPoint(-75.23100000,40.01330000),"
The Bala House Montessori
Po Box 2480
Bala Cynwyd, PA 19004
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Bala House Montessori",'Bala_Cynwyd=' + Bala_Cynwyd.length); Malvern[Malvern.length] = createMarker(new GPoint(-75.54434900,40.06309600),"
Brandywine Children's House
123 Great Valley Parkway
Malvern, PA 19355
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brandywine Children's House",'Malvern=' + Malvern.length); Bechtelsville[Bechtelsville.length] = createMarker(new GPoint(-75.61906200,40.37184000),"
Brookeside Montessori
1075 Route 100
Bechtelsville, PA 19505
Co-ed school, NS-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brookeside Montessori",'Bechtelsville=' + Bechtelsville.length); Pittsburgh[Pittsburgh.length] = createMarker(new GPoint(-79.96305000,40.43852600),"
Campus School of Carlow University
3333 5th Avenue
Pittsburgh, PA 15213
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Campus School of Carlow University",'Pittsburgh=' + Pittsburgh.length); Blue_Bell[Blue_Bell.length] = createMarker(new GPoint(-75.30056000,40.17324900),"
Centre Square Montessori
1775 Skippack Pike
Blue Bell, PA 19422
Co-ed school, NS-3
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Centre Square Montessori",'Blue_Bell=' + Blue_Bell.length); Scranton[Scranton.length] = createMarker(new GPoint(-75.64948700,41.43172700),"
The Children's Cornerstone
1759 Sanderson Avenue
Scranton, PA 18509
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Children's Cornerstone",'Scranton=' + Scranton.length); Fairless_Hills[Fairless_Hills.length] = createMarker(new GPoint(-74.83680600,40.18451900),"
Children's House Of Bucks County
840 Trenton Road
Fairless Hills, PA 19030
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Children's House Of Bucks County",'Fairless_Hills=' + Fairless_Hills.length); Exton[Exton.length] = createMarker(new GPoint(-75.66020000,40.05360000),"
Children's House Of Lionville
125 S Village Avenue
Exton, PA 19341
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Children's House Of Lionville",'Exton=' + Exton.length); Manheim[Manheim.length] = createMarker(new GPoint(-76.41760000,40.16750000),"
The Children's House-a Montess
1075 White Oak Rd P O Box 429
Manheim, PA 17545
Co-ed school, PK-KG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Children's House-a Montess",'Manheim=' + Manheim.length); Allentown[Allentown.length] = createMarker(new GPoint(-75.52653200,40.58860700),"
Datzyk Montessori School
3300 Broadway
Allentown, PA 18104
Co-ed school, PK-2
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Datzyk Montessori School",'Allentown=' + Allentown.length); Greensburg[Greensburg.length] = createMarker(new GPoint(-79.45700000,40.29640000),"
Eliz Seton Montessori School
Rr 7 Box 268
Greensburg, PA 15601
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Eliz Seton Montessori School",'Greensburg=' + Greensburg.length); Cranberry_Twp[Cranberry_Twp.length] = createMarker(new GPoint(-80.08259100,40.67178400),"
Garden Montessori School
204 Commerce Park Drive
Cranberry Twp, PA 16066
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Garden Montessori School",'Cranberry_Twp=' + Cranberry_Twp.length); Gladwyne[Gladwyne.length] = createMarker(new GPoint(-75.28230400,40.03606800),"
The Gladwyne Montessori School
920 Youngsford Road
Gladwyne, PA 19035
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Gladwyne Montessori School",'Gladwyne=' + Gladwyne.length); Pittsburgh[Pittsburgh.length] = createMarker(new GPoint(-80.10776300,40.51467300),"
Glen Montessori School
500 Huntington Avenue
Pittsburgh, PA 15202
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Glen Montessori School",'Pittsburgh=' + Pittsburgh.length); Allentown[Allentown.length] = createMarker(new GPoint(-75.47487300,40.60283100),"
Grace Montessori School
814 W Linden Street
Allentown, PA 18101
Co-ed school, NS-3
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Grace Montessori School",'Allentown=' + Allentown.length); Philadelphia[Philadelphia.length] = createMarker(new GPoint(-75.17535200,39.95606700),"
Greene Towne School
2121 Arch Street
Philadelphia, PA 19103
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Greene Towne School",'Philadelphia=' + Philadelphia.length); Pittsburgh[Pittsburgh.length] = createMarker(new GPoint(-79.72012400,40.47588100),"
Holiday Farms Country Day School
1907 Oblock Road
Pittsburgh, PA 15239
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Holiday Farms Country Day School",'Pittsburgh=' + Pittsburgh.length); Philadelphia[Philadelphia.length] = createMarker(new GPoint(-75.18660600,40.06174100),"
Islamic Day School Of Philadelphia
222 E Durham Street
Philadelphia, PA 19119
Co-ed school, PK-5
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Islamic Day School Of Philadelphia",'Philadelphia=' + Philadelphia.length); Lansdale[Lansdale.length] = createMarker(new GPoint(-75.28850200,40.24439000),"
Landsdale Montessori School
500 W Main St
Lansdale, PA 19446
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Landsdale Montessori School",'Lansdale=' + Lansdale.length); Aston[Aston.length] = createMarker(new GPoint(-75.42217600,39.86689200),"
Media Childrens House
3301 Concord Rd
Aston, PA 19014
Co-ed school, K-5
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Media Childrens House",'Aston=' + Aston.length); Chambersburg[Chambersburg.length] = createMarker(new GPoint(-77.59075100,39.93544100),"
Montessori Academy Of Chambersburg
875 Ragged Edge Road
Chambersburg, PA 17202
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Academy Of Chambersburg",'Chambersburg=' + Chambersburg.length); Lancaster[Lancaster.length] = createMarker(new GPoint(-76.31711100,40.09565500),"
Montessori Academy Of Lancaster
2750 Weaver Rd
Lancaster, PA 17601
Co-ed school, PK-3
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Academy Of Lancaster",'Lancaster=' + Lancaster.length); Glenshaw[Glenshaw.length] = createMarker(new GPoint(-79.95190400,40.51900000),"
Montessori Center Academy
1014 Wm Flynn Highway
Glenshaw, PA 15116
Co-ed school, 5-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Center Academy",'Glenshaw=' + Glenshaw.length); Phoenixville[Phoenixville.length] = createMarker(new GPoint(-75.51517200,40.13237200),"
Montessori Children's House Of Valley Forge
149 Hall Street
Phoenixville, PA 19460
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Children's House Of Valley Forge",'Phoenixville=' + Phoenixville.length); Blue_Bell[Blue_Bell.length] = createMarker(new GPoint(-75.25520300,40.12721100),"
Montessori Childrens House
6024 Butler Pike
Blue Bell, PA 19422
Co-ed school, NS-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Childrens House",'Blue_Bell=' + Blue_Bell.length); Sewickley[Sewickley.length] = createMarker(new GPoint(-80.18614500,40.53528900),"
Montessori Children's Community
474 Chadwick Street
Sewickley, PA 15143
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Children's Community",'Sewickley=' + Sewickley.length); Fallsington[Fallsington.length] = createMarker(new GPoint(-74.81942300,40.18738900),"
Montessori Cottage
9 Old Locust Avenue
Fallsington, PA 19054
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Cottage",'Fallsington=' + Fallsington.length); Furlong[Furlong.length] = createMarker(new GPoint(-75.06850000,40.29030000),"
Montessori Development Center
3326 C Old York Road
Furlong, PA 18925
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori Development Center",'Furlong=' + Furlong.length); Erie[Erie.length] = createMarker(new GPoint(-80.04598900,42.03172500),"
Montessori In The Woods
1390 West Townhall Road
Erie, PA 16509
Co-ed school, NS-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori In The Woods",'Erie=' + Erie.length); Mechanicsburg[Mechanicsburg.length] = createMarker(new GPoint(-76.96224600,40.20422200),"
The Montessori School & Childrens House Inc
5020 Ritter Road
Mechanicsburg, PA 17055
Co-ed school, PK-3
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Montessori School & Childrens House Inc",'Mechanicsburg=' + Mechanicsburg.length); Bridgeville[Bridgeville.length] = createMarker(new GPoint(-80.07730000,40.33380000),"
Montessori, Children's Schoolhouse
150 Vanadium Road Ste 3
Bridgeville, PA 15017
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montessori, Children's Schoolhouse",'Bridgeville=' + Bridgeville.length); Huntingdon_Valley[Huntingdon_Valley.length] = createMarker(new GPoint(-75.06508900,40.09906800),"
Montgomery Montessori School
1620 Pine Road
Huntingdon Valley, PA 19006
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Montgomery Montessori School",'Huntingdon_Valley=' + Huntingdon_Valley.length); Mount_Lebanon[Mount_Lebanon.length] = createMarker(new GPoint(-80.02384600,40.37631000),"
Mount Lebanon Montessori
550 Sleepy Hollow Road
Mount Lebanon, PA 15228
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mount Lebanon Montessori",'Mount_Lebanon=' + Mount_Lebanon.length); Dresher[Dresher.length] = createMarker(new GPoint(-75.15658700,40.16126200),"
New Horizons Montessori School
1701 Jarrettown Road
Dresher, PA 19025
Co-ed school, NS-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New Horizons Montessori School",'Dresher=' + Dresher.length); Lancaster[Lancaster.length] = createMarker(new GPoint(-76.32474400,40.03845700),"
New School Of Lancaster
935 Columbia Avenue
Lancaster, PA 17603
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New School Of Lancaster",'Lancaster=' + Lancaster.length); Philadelphia[Philadelphia.length] = createMarker(new GPoint(-75.21350500,40.07928600),"
Norwood-fontbonne Academy
8891 Germantown Avenue
Philadelphia, PA 19118
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Norwood-fontbonne Academy",'Philadelphia=' + Philadelphia.length); State_College[State_College.length] = createMarker(new GPoint(-77.85952900,40.78938700),"
Our Children's Center
411 South Burrowes Street
State College, PA 16801
Co-ed school, NS-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Our Children's Center",'State_College=' + State_College.length); State_College[State_College.length] = createMarker(new GPoint(-77.90421900,40.80731000),"
Park Forest Montessori School
1833 Park Forest Avenue
State College, PA 16803
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Park Forest Montessori School",'State_College=' + State_College.length); Hollidaysburg[Hollidaysburg.length] = createMarker(new GPoint(-78.41470500,40.42575500),"
Penn Mont Academy
131 Holiday Hills Drive
Hollidaysburg, PA 16648
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Penn Mont Academy",'Hollidaysburg=' + Hollidaysburg.length); Allentown[Allentown.length] = createMarker(new GPoint(-75.51464700,40.57527400),"
Perlis Montessori School
1035 Flexer Avenue
Allentown, PA 18103
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Perlis Montessori School",'Allentown=' + Allentown.length); Philadelphia[Philadelphia.length] = createMarker(new GPoint(-75.17605500,40.02478800),"
Queen Lane Montessori School
433 W Queen Lane
Philadelphia, PA 19144
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Queen Lane Montessori School",'Philadelphia=' + Philadelphia.length); Secane[Secane.length] = createMarker(new GPoint(-75.30863800,39.92161900),"
Secane Montessori School
1107 Broadway Ave
Secane, PA 19018
Co-ed school, PK-KG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Secane Montessori School",'Secane=' + Secane.length); Newtown_Square[Newtown_Square.length] = createMarker(new GPoint(-75.42029100,39.98341200),"
Springton Lake Montessori School
4102 West Chester Pike
Newtown Square, PA 19073
Co-ed school, NS-PK
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Springton Lake Montessori School",'Newtown_Square=' + Newtown_Square.length); York[York.length] = createMarker(new GPoint(-76.70923400,39.87584000),"
Tlc Montessori
6434 Susquehanna Trail
York, PA 17407
Co-ed school, PK-1
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Tlc Montessori",'York=' + York.length); Merion_Station[Merion_Station.length] = createMarker(new GPoint(-75.24959300,40.00781100),"
Waldron Mercy Academy
513 Montgomery Avenue
Merion Station, PA 19066
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Waldron Mercy Academy",'Merion_Station=' + Merion_Station.length); Allison_Park[Allison_Park.length] = createMarker(new GPoint(-79.97330600,40.56101200),"
Western Pa Montessori School Inc
2379 Wyland Avenue
Allison Park, PA 15101
Co-ed school, PK-K
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Western Pa Montessori School Inc",'Allison_Park=' + Allison_Park.length); Malvern[Malvern.length] = createMarker(new GPoint(-75.52415700,40.01800500),"
Willistown Country Day School
365 Paoli Pike
Malvern, PA 19355
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Willistown Country Day School",'Malvern=' + Malvern.length); Wyndmoor[Wyndmoor.length] = createMarker(new GPoint(-75.18394000,40.08710300),"
Wyndmoor Montessori School
1400 E Willow Grove Avenue
Wyndmoor, PA 19038
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wyndmoor Montessori School",'Wyndmoor=' + Wyndmoor.length); Kingston[Kingston.length] = createMarker(new GPoint(-75.89990500,41.26483600),"
Wyoming Valley Montessori School
851 W Market Street
Kingston, PA 18704
Co-ed school, PK-7
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wyoming Valley Montessori School",'Kingston=' + Kingston.length); maxLng = -74.81942300; maxLat = 42.03172500; minLng = -80.18614500; minLat = 39.86689200; reCenterMap(); } // 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,11); /* 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(Allentown); map.removeOverlays(Allison_Park); map.removeOverlays(Aston); map.removeOverlays(Bala_Cynwyd); map.removeOverlays(Bechtelsville); map.removeOverlays(Blue_Bell); map.removeOverlays(Bridgeville); map.removeOverlays(Chambersburg); map.removeOverlays(Cranberry_Twp); map.removeOverlays(Dresher); map.removeOverlays(Drexel_Hill); map.removeOverlays(Erie); map.removeOverlays(Exton); map.removeOverlays(Fairless_Hills); map.removeOverlays(Fallsington); map.removeOverlays(Furlong); map.removeOverlays(Gladwyne); map.removeOverlays(Glenshaw); map.removeOverlays(Greensburg); map.removeOverlays(Hollidaysburg); map.removeOverlays(Huntingdon_Valley); map.removeOverlays(Kingston); map.removeOverlays(Lancaster); map.removeOverlays(Lansdale); map.removeOverlays(Malvern); map.removeOverlays(Manheim); map.removeOverlays(Mechanicsburg); map.removeOverlays(Merion_Station); map.removeOverlays(Mount_Lebanon); map.removeOverlays(Newtown_Square); map.removeOverlays(Philadelphia); map.removeOverlays(Phoenixville); map.removeOverlays(Pittsburgh); map.removeOverlays(Radnor); map.removeOverlays(Scranton); map.removeOverlays(Secane); map.removeOverlays(Sewickley); map.removeOverlays(State_College); map.removeOverlays(Swarthmore); map.removeOverlays(Uniontown); map.removeOverlays(Wyndmoor); map.removeOverlays(York); 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(Uniontown);map.removeOverlays(Allentown); map.removeOverlays(Allison_Park); map.removeOverlays(Aston); map.removeOverlays(Bala_Cynwyd); map.removeOverlays(Bechtelsville); map.removeOverlays(Blue_Bell); map.removeOverlays(Bridgeville); map.removeOverlays(Chambersburg); map.removeOverlays(Cranberry_Twp); map.removeOverlays(Dresher); map.removeOverlays(Drexel_Hill); map.removeOverlays(Erie); map.removeOverlays(Exton); map.removeOverlays(Fairless_Hills); map.removeOverlays(Fallsington); map.removeOverlays(Furlong); map.removeOverlays(Gladwyne); map.removeOverlays(Glenshaw); map.removeOverlays(Greensburg); map.removeOverlays(Hollidaysburg); map.removeOverlays(Huntingdon_Valley); map.removeOverlays(Kingston); map.removeOverlays(Lancaster); map.removeOverlays(Lansdale); map.removeOverlays(Malvern); map.removeOverlays(Manheim); map.removeOverlays(Mechanicsburg); map.removeOverlays(Merion_Station); map.removeOverlays(Mount_Lebanon); map.removeOverlays(Newtown_Square); map.removeOverlays(Philadelphia); map.removeOverlays(Phoenixville); map.removeOverlays(Pittsburgh); map.removeOverlays(Radnor); map.removeOverlays(Scranton); map.removeOverlays(Secane); map.removeOverlays(Sewickley); map.removeOverlays(State_College); map.removeOverlays(Swarthmore); map.removeOverlays(Uniontown); map.removeOverlays(Wyndmoor); map.removeOverlays(York); map.addOverlays(Allentown); centerByArray(Allentown, false, false); cntMarker += Allentown.length; map.addOverlays(Allison_Park); centerByArray(Allison_Park, false, false); cntMarker += Allison_Park.length; map.addOverlays(Aston); centerByArray(Aston, false, false); cntMarker += Aston.length; map.addOverlays(Bala_Cynwyd); centerByArray(Bala_Cynwyd, false, false); cntMarker += Bala_Cynwyd.length; map.addOverlays(Bechtelsville); centerByArray(Bechtelsville, false, false); cntMarker += Bechtelsville.length; map.addOverlays(Blue_Bell); centerByArray(Blue_Bell, false, false); cntMarker += Blue_Bell.length; map.addOverlays(Bridgeville); centerByArray(Bridgeville, false, false); cntMarker += Bridgeville.length; map.addOverlays(Chambersburg); centerByArray(Chambersburg, false, false); cntMarker += Chambersburg.length; map.addOverlays(Cranberry_Twp); centerByArray(Cranberry_Twp, false, false); cntMarker += Cranberry_Twp.length; map.addOverlays(Dresher); centerByArray(Dresher, false, false); cntMarker += Dresher.length; map.addOverlays(Drexel_Hill); centerByArray(Drexel_Hill, false, false); cntMarker += Drexel_Hill.length; map.addOverlays(Erie); centerByArray(Erie, false, false); cntMarker += Erie.length; map.addOverlays(Exton); centerByArray(Exton, false, false); cntMarker += Exton.length; map.addOverlays(Fairless_Hills); centerByArray(Fairless_Hills, false, false); cntMarker += Fairless_Hills.length; map.addOverlays(Fallsington); centerByArray(Fallsington, false, false); cntMarker += Fallsington.length; map.addOverlays(Furlong); centerByArray(Furlong, false, false); cntMarker += Furlong.length; map.addOverlays(Gladwyne); centerByArray(Gladwyne, false, false); cntMarker += Gladwyne.length; map.addOverlays(Glenshaw); centerByArray(Glenshaw, false, false); cntMarker += Glenshaw.length; map.addOverlays(Greensburg); centerByArray(Greensburg, false, false); cntMarker += Greensburg.length; map.addOverlays(Hollidaysburg); centerByArray(Hollidaysburg, false, false); cntMarker += Hollidaysburg.length; map.addOverlays(Huntingdon_Valley); centerByArray(Huntingdon_Valley, false, false); cntMarker += Huntingdon_Valley.length; map.addOverlays(Kingston); centerByArray(Kingston, false, false); cntMarker += Kingston.length; map.addOverlays(Lancaster); centerByArray(Lancaster, false, false); cntMarker += Lancaster.length; map.addOverlays(Lansdale); centerByArray(Lansdale, false, false); cntMarker += Lansdale.length; map.addOverlays(Malvern); centerByArray(Malvern, false, false); cntMarker += Malvern.length; map.addOverlays(Manheim); centerByArray(Manheim, false, false); cntMarker += Manheim.length; map.addOverlays(Mechanicsburg); centerByArray(Mechanicsburg, false, false); cntMarker += Mechanicsburg.length; map.addOverlays(Merion_Station); centerByArray(Merion_Station, false, false); cntMarker += Merion_Station.length; map.addOverlays(Mount_Lebanon); centerByArray(Mount_Lebanon, false, false); cntMarker += Mount_Lebanon.length; map.addOverlays(Newtown_Square); centerByArray(Newtown_Square, false, false); cntMarker += Newtown_Square.length; map.addOverlays(Philadelphia); centerByArray(Philadelphia, false, false); cntMarker += Philadelphia.length; map.addOverlays(Phoenixville); centerByArray(Phoenixville, false, false); cntMarker += Phoenixville.length; map.addOverlays(Pittsburgh); centerByArray(Pittsburgh, false, false); cntMarker += Pittsburgh.length; map.addOverlays(Radnor); centerByArray(Radnor, false, false); cntMarker += Radnor.length; map.addOverlays(Scranton); centerByArray(Scranton, false, false); cntMarker += Scranton.length; map.addOverlays(Secane); centerByArray(Secane, false, false); cntMarker += Secane.length; map.addOverlays(Sewickley); centerByArray(Sewickley, false, false); cntMarker += Sewickley.length; map.addOverlays(State_College); centerByArray(State_College, false, false); cntMarker += State_College.length; map.addOverlays(Swarthmore); centerByArray(Swarthmore, false, false); cntMarker += Swarthmore.length; map.addOverlays(Uniontown); centerByArray(Uniontown, false, false); cntMarker += Uniontown.length; map.addOverlays(Wyndmoor); centerByArray(Wyndmoor, false, false); cntMarker += Wyndmoor.length; map.addOverlays(York); centerByArray(York, false, false); cntMarker += York.length; centerByArray(Uniontown,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///23414,34797,24344,25171,24085,23067,34796,23249,24130,24133,24140,23563,24220,23031,24131,23293,23285,34615,25258,25029,36065,23468,24336,24142,25224,24127,24227,23920,23150,25193,25018,34617,25140,24157,24623,23636,23799,24254,24421,34614,23216,23589,34798,23050,23290,24539,24129,24278,24328,34613,34612,23006,25220,34616,/all'); //window.open('/map.php?type=2&schools=23414,34797,24344,25171,24085,23067,34796,23249,24130,24133,24140,23563,24220,23031,24131,23293,23285,34615,25258,25029,36065,23468,24336,24142,25224,24127,24227,23920,23150,25193,25018,34617,25140,24157,24623,23636,23799,24254,24421,34614,23216,23589,34798,23050,23290,24539,24129,24278,24328,34613,34612,23006,25220,34616,&school_level=&radius=&zipcode=&school_type_search=&school_type_code='); } } function createMarker(point, label, icon) { var marker = new GMarker(point, icon); var html = label; GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; }