function addStateMarkers() { mySelect = document.getElementById('selection'); boys[boys.length] = createMarker(new GPoint(-72.836502,41.781261),"
Avon Old Farms School
500 Old Farms Road
Avon, CT 06001
All-boys school, 9-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Avon Old Farms School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-73.408248,42.115787),"
Berkshire School
245 North Undermountain Road
Sheffield, MA 01257
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Berkshire School",'coEd=' + coEd.length); girls[girls.length] = createMarker(new GPoint(-79.409323,43.689616),"
The Bishop Strachan School
298 Lonsdale Rd.
Toronto, --
All-girls school, 7-12
[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("The Bishop Strachan School",'girls=' + girls.length); coEd[coEd.length] = createMarker(new GPoint(-74.96288,40.983113),"
Blair Academy
2 Park Street
Blairstown, NJ 07825
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Blair Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-123.558769,48.668178),"
Brentwood College School
2735 Mt. Baker Road
Mill Bay, --
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brentwood College School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.20654,43.581712),"
Brewster Academy
80 Academy Drive
Wolfeboro, NH 03894
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brewster Academy",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-70.704079,44.05502),"
Bridgton Academy
PO Box 292
North Bridgton, ME 04057
All-boys school, 12-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Bridgton Academy",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-71.08288,42.707418),"
Brooks School
1160 Great Pond Road
North Andover, MA 01845
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brooks School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.412634,41.585649),"
Canterbury School
101 Aspetuck Avenue
New Milford, CT 06776
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Canterbury School",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-72.036496,43.676448),"
Cardigan Mountain School
62 Alumni Drive
Canaan, NH 03741
All-boys school, 6-9
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Cardigan Mountain School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-72.807511,41.45667),"
Choate Rosemary Hall
333 Christian Street
Wallingford, CT 06492
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Choate Rosemary Hall",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-83.245219,42.58384),"
Cranbrook Schools
PO Box 801 39221 Woodward Ave.
Bloomfield Hills, MI 48303
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cranbrook Schools",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-86.407273,41.222456),"
Culver Academies
1300 Academy Road #157
Culver, IN 46511
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Culver Academies",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.908354,42.6358),"
Cushing Academy
39 School Street, P.O. Box 8000
Ashburnham, MA 01430
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cushing Academy",'coEd=' + coEd.length); girls[girls.length] = createMarker(new GPoint(-71.287817,42.291943),"
Dana Hall School
45 Dana Road
Wellesley, MA 02482
All-girls school, 9-12
[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dana Hall School",'girls=' + girls.length); coEd[coEd.length] = createMarker(new GPoint(-72.601999,42.54247),"
Deerfield Academy
Office of Admission
Deerfield, MA 01342
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Deerfield Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.532888,42.305315),"
Fay School
48 Main Street
Southborough, MA 01772
Co-ed school, 6-9
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fay School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.193369,41.746775),"
The Forman School
12 Norfolk Road, P.O. Box 80
Litchfield, CT 06759
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Forman School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-104.715236,38.739758),"
Fountain Valley School of Colorado
6155 Fountain Valley School Road
Colorado Springs, CO 80911
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fountain Valley School of Colorado",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-70.976421,44.019861),"
Fryeburg Academy
745 Main Street
Fryeburg, ME 04037
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fryeburg Academy",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-77.107054,39.034361),"
Georgetown Preparatory School
10900 Rockville Pike North
Bethesda, MD 20852
All-boys school, 9-12
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Georgetown Preparatory School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-70.895894,42.750704),"
The Governor's Academy <br> (formerly Governor Dummer Academy)
1 Elm Street
Byfield, MA 01922
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Governor's Academy <br> (formerly Governor Dummer Academy)",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.582122,42.593804),"
Groton School
282 Farmers Row, Box 991
Groton, MA 01450
Co-ed school, 8-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Groton School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.310565,41.629329),"
The Gunnery
99 Green Hill Rd.
Washington, CT 06793
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Gunnery",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-70.407614,44.19822),"
Hebron Academy
P.O. Box 309
Hebron, ME 04238
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hebron Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-75.636972,40.244114),"
Hill School
717 East High Street
Pottstown, PA 19464
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hill School",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-71.604902,42.350966),"
Hillside School
404 Robin Hill Road
Marlborough, MA 01752
All-boys school, 5-9
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Hillside School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-71.688166,43.757797),"
Holderness School
PO Box 1879
Plymouth, NH 03264
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Holderness School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.328892,42.862203),"
Hoosac School
PO Box 9
Hoosick, NY 12089
Co-ed school, 8-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hoosac School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.440469,41.96427),"
The Hotchkiss School
PO Box 800
Lakeville, CT 06039
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Hotchkiss School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-74.68237,40.337961),"
The Hun School of Princeton
176 Edgerstoune Road
Princeton, NJ 08540
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Hun School of Princeton",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.502981,41.778838),"
Kent School
PO Box 2006
Kent, CT 06757
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Kent School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-70.027169,44.40958),"
Kents Hill School
PO Box 257, 1614 Main St., Rt. 17
Kents Hill, ME 04349
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Kents Hill School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.267903,43.535228),"
Kimball Union Academy
PO Box 188 Main Street
Meriden, NH 03770
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Kimball Union Academy",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-79.456709,40.488088),"
The Kiski School
1888 Brett Lane
Saltsburg, PA 15681
All-boys school, 9-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("The Kiski School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-87.890068,42.248175),"
Lake Forest Academy
1500 West Kennedy Road
Lake Forest, IL 60045
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Forest Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.571599,42.608505),"
Lawrence Academy
Powderhouse Road, P.O. Box 992
Groton, MA 01450
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lawrence Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(7.008235,46.341739),"
Leysin American School in Switzerland (LAS)
Av. Rollier
1854 Leysin, --
Co-ed school, 8-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Leysin American School in Switzerland (LAS)",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-72.45345,42.649822),"
Linden Hill School
154 South Mountain Rd
Northfield, MA 01360
All-boys school, 3-9
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Linden Hill School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-80.694328,40.075265),"
The Linsly School
60 Knox Lane
Wheeling, WV 26003
Co-ed school, 7-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Linsly School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.644174,41.85076),"
The Loomis Chaffee School
Office of Admission
Windsor, CT 06095
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Loomis Chaffee School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.371622,42.493361),"
Middlesex School
1400 Lowell Road
Concord, MA 01742
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Middlesex School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.616262,41.845257),"
Millbrook School
131 Millbrook School Road
Millbrook, NY 12545
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Millbrook School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.07054,42.25648),"
Milton Academy
170 Centre Street
Milton, MA 02186
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Milton Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.652138,43.605723),"
New Hampton School
70 Main Street
New Hampton, NH 03256
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New Hampton School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.488606,42.673004),"
Northfield Mount Hermon School
One Lamplighter Way
Mount Hermon, MA 01354
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northfield Mount Hermon School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.983217,44.27901),"
Northwood School
P.O. Box 1070, 92 Northwood Road
Lake Placid, NY 12946
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northwood School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-74.793636,40.327694),"
The Pennington School
112 W. Delaware Avenue
Pennington, NJ 08534
Co-ed school, 7-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Pennington School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.134868,42.648486),"
Phillips Academy Andover
180 Main Street
Andover, MA 01810
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Phillips Academy Andover",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-70.952346,42.981339),"
Phillips Exeter Academy
20 Main Street
Exeter, NH 03833
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Phillips Exeter Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.960109,41.897689),"
Pomfret School
PO Box 128, 398 Pomfret Street
Pomfret, CT 06258
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Pomfret School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.253192,41.588797),"
Portsmouth Abbey School
285 Cory's Lane
Portsmouth, RI 02871
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Portsmouth Abbey School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.823119,43.436695),"
Proctor Academy
P.O. BOX 500
Andover, NH 03216
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Proctor Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.960109,41.897689),"
The Rectory School
P.O. Box 68 528 Pomfret Street
Pomfret, CT 06258
Co-ed school, 5-9
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Rectory School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-79.248669,43.156335),"
Ridley College
2 Ridley Road
St Catharines, --
Co-ed school, Pre-K-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ridley College",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-79.636436,45.252399),"
Rosseau Lake College
1967 Bright Street
Rosseau, --
Co-ed school, 7-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Rosseau Lake College",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-79.471016,44.013292),"
St. Andrew's College
15800 Yonge Street
Aurora, ON, -- L4G 3H7
All-boys school, 6-12
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("St. Andrew's College",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-71.311849,41.49655),"
St. George's School
PO Box 1910
Newport, RI 02840
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("St. George's School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.015709,44.418512),"
St. Johnsbury Academy
1000 Main Street, PO Box 906
St. Johnsbury, VT 05819
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("St. Johnsbury Academy",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-88.404159,43.064276),"
St. John's Northwestern Military Academy
1101 Genesee Street
Delafield, WI 53018
All-boys school, 7-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("St. John's Northwestern Military Academy",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-94.362095,45.594855),"
Saint John's Preparatory School
1857 Watertower Road, Box 4000
Collegeville, MN 56321
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Saint John's Preparatory School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.531945,42.305764),"
St. Mark's School
25 Marlborough Road
Southborough, MA 01772
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("St. Mark's School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.567187,43.197562),"
St. Paul's School
325 Pleasant Street
Concord, NH 03301
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("St. Paul's School",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-72.213849,41.514501),"
St. Thomas More School
45 Cottage Road
Oakdale, CT 06370
All-boys school, 8-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("St. Thomas More School",'boys=' + boys.length); girls[girls.length] = createMarker(new GPoint(-76.685687,39.40758),"
St. Timothy's School
8400 Greenspring Avenue
Stevenson, MD 21153
All-girls school, 9-12, PG
[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("St. Timothy's School",'girls=' + girls.length); boys[boys.length] = createMarker(new GPoint(-73.392929,42.000938),"
Salisbury School
251 Canaan Road
Salisbury, CT 06068
All-boys school, 9-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Salisbury School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-74.939054,45.6502),"
Sedbergh School
810 Cote Azelie RR1
Montebello, Quebec, --
Co-ed school, 7-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Sedbergh School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-93.290045,44.298698),"
Shattuck-St. Mary's School
1000 Shumway Ave. PO Box 218
Faribault, MN 55021
Co-ed school, 6-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Shattuck-St. Mary's School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-124.311341,49.088128),"
Shawnigan Lake School
1975 Renfrew Road, Postal Bag 2000
Shawnigan Lake, -- V0R2W1
Co-ed school, 8-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Shawnigan Lake School",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-73.408287,41.730679),"
South Kent School
40 Bull's Ridge Road
South Kent, CT 06785
All-boys school, 9-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("South Kent School",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-72.096062,45.011868),"
Stanstead College
450 Dufferin Street
Stanstead, --
Co-ed school, 7-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Stanstead College",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-70.761159,41.697687),"
Tabor Academy
66 Front Street
Marion, MA 02738
Co-ed school, 9-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Tabor Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-73.12333,41.602959),"
The Taft School
110 Woodbury Road
Watertown, CT 06795
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Taft School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-71.588921,43.444297),"
Tilton School
30 School Street
Tilton, NH 03276
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Tilton School",'coEd=' + coEd.length); boys[boys.length] = createMarker(new GPoint(-75.384208,40.052801),"
Valley Forge Military Academy
1001 Eagle Road
Wayne, PA 19087
All-boys school, 7-12, PG
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Valley Forge Military Academy",'boys=' + boys.length); coEd[coEd.length] = createMarker(new GPoint(-72.5086,43.141777),"
Vermont Academy
10 Long Walk
Saxtons River, VT 05154
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Vermont Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-81.43737,41.243839),"
Western Reserve Academy
115 College Street
Hudson, OH 44236
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Western Reserve Academy",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.798108,41.885944),"
Westminster School
995 Hopmeadow Street
Simsbury, CT 06070
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Westminster School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.672417,42.266543),"
The Williston Northampton School
19 Payson Avenue
Easthampton, MA 01027
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Williston Northampton School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-72.036714,42.67519),"
The Winchendon School
172 Ash Street
Winchendon, MA 01475
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Winchendon School",'coEd=' + coEd.length); coEd[coEd.length] = createMarker(new GPoint(-75.897931,41.263129),"
Wyoming Seminary Upper School
201 North Sprague Avenue
Kingston, PA 18704
Co-ed school, 9-12, PG
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wyoming Seminary Upper School",'coEd=' + coEd.length); var markers = coEd.concat(boys); markers = girls.concat(markers); var bounds = arrayBounds(markers); 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 = myMap.getBoundsZoomLevel(bounds); if(zoom==17) zoom=4; myMap.setCenter(center,zoom); myMap.addOverlays(coEd); myMap.addOverlays(boys); myMap.addOverlays(girls); } // End addStateMarkers JavaScript Function function createMarker(point, label, icon) { var marker = new GMarker(point, icon); var html = label; GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; } function selectChange(selection) { var myVal = selection.options[selection.selectedIndex].value; if (myVal.indexOf('boys') != -1 && myVal.indexOf('all') == -1) { var temp = myVal.split('='); var myIndex = parseInt(temp[1]) - 1; myMap.removeOverlay(boys[myIndex]); myMap.addOverlay(boys[myIndex]); GEvent.trigger(boys[myIndex],'click'); } if (myVal.indexOf('coEd') != -1 && myVal.indexOf('all') == -1) { var temp = myVal.split('='); var myIndex = parseInt(temp[1]) - 1; myMap.removeOverlay(coEd[myIndex]); myMap.addOverlay(coEd[myIndex]); GEvent.trigger(coEd[myIndex],'click'); } if (myVal.indexOf('girls') != -1 && myVal.indexOf('all') == -1) { var temp = myVal.split('='); var myIndex = parseInt(temp[1]) - 1; myMap.removeOverlay(girls[myIndex]); myMap.addOverlay(girls[myIndex]); GEvent.trigger(girls[myIndex],'click'); } if (myVal.indexOf('all') != -1 && myVal != 'all') { var temp = myVal.split('='); var showArray = temp[1]; myMap.clearOverlays() myMap.addOverlays(eval(showArray)); } if (myVal == 'all') { myMap.clearOverlays() myMap.addOverlays(coEd); myMap.addOverlays(boys); myMap.addOverlays(girls); } }