function addMarkers() { mySelect = document.getElementById('selection'); Denver = [];Commerce_City = [];Westminster = [];Aurora = [];Henderson = [];Bennett = [];Thornton = [];Brighton = [];Northglenn = [];Strasburg = [];Federal_Heights = [];Eastlake = [];Arvada = [];mySelect.options[mySelect.options.length] = new Option("Arvada schools",'all=Arvada'); mySelect.options[mySelect.options.length] = new Option("Aurora schools",'all=Aurora'); mySelect.options[mySelect.options.length] = new Option("Bennett schools",'all=Bennett'); mySelect.options[mySelect.options.length] = new Option("Brighton schools",'all=Brighton'); mySelect.options[mySelect.options.length] = new Option("Commerce City schools",'all=Commerce_City'); mySelect.options[mySelect.options.length] = new Option("Denver schools",'all=Denver'); mySelect.options[mySelect.options.length] = new Option("Eastlake schools",'all=Eastlake'); mySelect.options[mySelect.options.length] = new Option("Federal Heights schools",'all=Federal_Heights'); mySelect.options[mySelect.options.length] = new Option("Henderson schools",'all=Henderson'); mySelect.options[mySelect.options.length] = new Option("Northglenn schools",'all=Northglenn'); mySelect.options[mySelect.options.length] = new Option("Strasburg schools",'all=Strasburg'); mySelect.options[mySelect.options.length] = new Option("Thornton schools",'all=Thornton'); mySelect.options[mySelect.options.length] = new Option("Westminster schools",'all=Westminster'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Denver[Denver.length] = createMarker(new GPoint(-104.97962189,39.81290054),"
Academy Of Charter Schools
601 East 64th Avenue
Denver, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Academy Of Charter Schools",'Denver=' + Denver.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.93395996,39.82013702),"
Adams City High School
4625 East 68 Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Adams City High School",'Commerce_City=' + Commerce_City.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.93558502,39.82733536),"
Adams City Middle School
4451 East 72nd Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Adams City Middle School",'Commerce_City=' + Commerce_City.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.90940094,39.80945969),"
Adams County School District 14 Child Care Center
5650 Bowen Court
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adams County School District 14 Child Care Center",'Commerce_City=' + Commerce_City.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.93637848,39.82542419),"
Alsup Elementary School
7101 Birch Street
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Alsup Elementary School",'Commerce_City=' + Commerce_City.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03106689,39.82743835),"
Alternative Center For Education
3455 West 72nd Avenue
Westminster, CO 80030

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Alternative Center For Education",'Westminster=' + Westminster.length); Denver[Denver.length] = createMarker(new GPoint(-104.96755981,39.83818436),"
Alternative School
1200 E 78th Avenue
Denver, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Alternative School",'Denver=' + Denver.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.81452179,39.74274445),"
Altura Elementary School
1650 Altura Boulevard
Aurora, CO 80011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Altura Elementary School",'Aurora=' + Aurora.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.00657654,39.93644333),"
Arapahoe Ridge Elementary School
13095 Pecos Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Arapahoe Ridge Elementary School",'Westminster=' + Westminster.length); Denver[Denver.length] = createMarker(new GPoint(-105.03396606,39.81293869),"
Baker Elementary School
3555 West 64th Avenue
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Baker Elementary School",'Denver=' + Denver.length); Henderson[Henderson.length] = createMarker(new GPoint(-104.89289856,39.88621902),"
Belle Creek Charter School
9290 East 107th Avenue
Henderson, CO 80640

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belle Creek Charter School",'Henderson=' + Henderson.length); Bennett[Bennett.length] = createMarker(new GPoint(-104.42352295,39.75862122),"
Bennett Elementary School
462 8th Street
Bennett, CO 80102

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bennett Elementary School",'Bennett=' + Bennett.length); Bennett[Bennett.length] = createMarker(new GPoint(-104.42521667,39.76084900),"
Bennett High School
610 7th Street
Bennett, CO 80102

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bennett High School",'Bennett=' + Bennett.length); Bennett[Bennett.length] = createMarker(new GPoint(-104.42388153,39.75861359),"
Bennett Middle School
455 8th Street
Bennett, CO 80102

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Bennett Middle School",'Bennett=' + Bennett.length); Bennett[Bennett.length] = createMarker(new GPoint(-104.42388153,39.75861359),"
Bennett Preschool
455 8th Street
Bennett, CO 80102

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bennett Preschool",'Bennett=' + Bennett.length); Denver[Denver.length] = createMarker(new GPoint(-105.03488159,39.79315567),"
Berkeley Gardens Elementary School
5301 Lowell Boulevard
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Berkeley Gardens Elementary School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.96222687,39.86157227),"
Bertha Heid Elementary Campus
9100 Poze Boulevard
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bertha Heid Elementary Campus",'Thornton=' + Thornton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.92535400,39.94313431),"
Bright Horizons Pre-k
5321 East 136th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bright Horizons Pre-k",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.92535400,39.94313431),"
Bright Horizons Pre-kindergarten School
5321 East 136th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bright Horizons Pre-kindergarten School",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.79843903,39.98693848),"
Brighton Charter School
1931 East Bridge Street
Brighton, CO 80601

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brighton Charter School",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.81211090,39.98666382),"
Brighton Heritage Academy
830 Bridge Street
Brighton, CO 80601

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brighton Heritage Academy",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.81242371,39.98259735),"
Brighton High School
270 South 8th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brighton High School",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.74671936,39.98236847),"
Bromley East Charter School
356 Longspur Drive
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bromley East Charter School",'Brighton=' + Brighton.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.92201996,39.81350708),"
Central Elementary School
6450 Holly Street
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Central Elementary School",'Commerce_City=' + Commerce_City.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.96842194,39.93149567),"
Century Middle School
13000 Lafayette Street
Thornton, CO 80241

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Century Middle School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-104.88253021,39.73738861),"
Challenges, Choices & Images Charter School
1537 Alton Street
Denver, CO 80010

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Challenges, Choices & Images Charter School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.92696381,39.90428162),"
Cherry Drive Elementary School
11500 Cherry Drive
Thornton, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cherry Drive Elementary School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-105.01460266,39.84403610),"
Clara E. Metz Elementary School
2341 Sherrelwood Drive
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clara E. Metz Elementary School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95443726,39.86346817),"
Clayton Elementary School
2690 Poze Boulevard
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clayton Elementary School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-105.01019287,39.83896255),"
Clear Lake Middle School
1940 Elmwood Lane
Denver, CO 80221

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Clear Lake Middle School",'Denver=' + Denver.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.75788879,39.74491119),"
Clyde Miller Elementary School
1701 Espana Street
Aurora, CO 80011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clyde Miller Elementary School",'Aurora=' + Aurora.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-105.15280151,39.80097961),"
Colorado Virtual Academy (cova)
11990 Grant Street, 402
Northglenn, CO 80233

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Colorado Virtual Academy (cova)",'Northglenn=' + Northglenn.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.92217500,39.82120500),"
Community Leadership Academy
6880 Holly Street
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Community Leadership Academy",'Commerce_City=' + Commerce_City.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97164154,39.84662628),"
Coronado Hills Elementary School
8300 Downing Drive
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Coronado Hills Elementary School",'Thornton=' + Thornton.length); Bennett[Bennett.length] = createMarker(new GPoint(-104.42547400,39.75844500),"
Corridor Community Academy
420 7th Street
Bennett, CO 80102

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Corridor Community Academy",'Bennett=' + Bennett.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.04595947,39.89815903),"
Cotton Creek Elementary School
11100 Vrain Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cotton Creek Elementary School",'Westminster=' + Westminster.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.87152100,39.74213791),"
Crawford Elementary School
1600 Florence Street
Aurora, CO 80010

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crawford Elementary School",'Aurora=' + Aurora.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.96863556,39.90834808),"
Crossroad Alternative School
11700 Irma Drive
Northglenn, CO 80233

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Crossroad Alternative School",'Northglenn=' + Northglenn.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.02977753,39.82901382),"
Crown Pointe Charter Academy
7281 Irving Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crown Pointe Charter Academy",'Westminster=' + Westminster.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.91771698,39.84113312),"
Dupont Elementary School
7970 Kimberly Street
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dupont Elementary School",'Commerce_City=' + Commerce_City.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.93331909,39.93664932),"
Eagleview Elementary School
4601 Summit Grove Parkway
Thornton, CO 80241

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eagleview Elementary School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-105.01921844,39.83917999),"
Fairview Elementary School
7826 Fairview Drive
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fairview Elementary School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-105.01472473,39.87066269),"
Federal Heights Elementary School
2500 W 96th Avenue
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Federal Heights Elementary School",'Denver=' + Denver.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.86634827,39.75303650),"
Fletcher Elementary School
10455 East 25th Avenue
Aurora, CO 80010

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fletcher Elementary School",'Aurora=' + Aurora.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03457642,39.85468674),"
Flynn Elementary School
8731 Lowell Boulevard
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Flynn Elementary School",'Westminster=' + Westminster.length); Denver[Denver.length] = createMarker(new GPoint(-105.00822449,39.82417297),"
Francis M. Day Elementary School
1740 Jordan Drive
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Francis M. Day Elementary School",'Denver=' + Denver.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.91803741,39.91493225),"
Glacier Peak Elementary School
12060 Jasmine Street
Brighton, CO 80605

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glacier Peak Elementary School",'Brighton=' + Brighton.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.02941895,39.84239960),"
Gregory Hill Preschool
8030 Irving Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gregory Hill Preschool",'Westminster=' + Westminster.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.90517426,39.82923889),"
Hanson Elementary School
7133 East 73rd Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hanson Elementary School",'Commerce_City=' + Commerce_City.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.04631042,39.83256149),"
Harris Park Elementary School
4300 West 75th Avenue
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harris Park Elementary School",'Westminster=' + Westminster.length); Henderson[Henderson.length] = createMarker(new GPoint(-104.84358978,39.92181778),"
Henderson Elementary School
12301 East 124th Avenue
Henderson, CO 80640

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Henderson Elementary School",'Henderson=' + Henderson.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03432900,39.82905500),"
Hidden Lake High School
7300 Lowell Boulevard
Westminster, CO 80030

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hidden Lake High School",'Westminster=' + Westminster.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97798157,39.86835480),"
High Plains High School
455 East Eppinger Boulevard
Thornton, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("High Plains High School",'Thornton=' + Thornton.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-105.00017548,39.88344955),"
Hillcrest Elementary School
10335 Croke Drive
Northglenn, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Northglenn=' + Northglenn.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.92535400,39.94313431),"
Horizon High School
5321 East 136 Avenue
Brighton, CO 80601

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Horizon High School",'Brighton=' + Brighton.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.98263550,39.88865280),"
Hulstrom Elementary School
10604 Grant Drive
Northglenn, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hulstrom Elementary School",'Northglenn=' + Northglenn.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97317505,39.93672180),"
Hunters Glen Elementary School
13222 Corona Street
Thornton, CO 80241

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hunters Glen Elementary School",'Thornton=' + Thornton.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.99652100,39.89485931),"
Huron Middle School
10900 North Huron Street
Northglenn, CO 80234

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Huron Middle School",'Northglenn=' + Northglenn.length); Denver[Denver.length] = createMarker(new GPoint(-105.01558685,39.84184647),"
Iver C. Ranum High School
2401 West 80th Avenue
Denver, CO 80221

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Iver C. Ranum High School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-105.03281403,39.81843567),"
J. Hodgkins Middle School
3475 West 67th Avenue
Denver, CO 80221

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("J. Hodgkins Middle School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-104.98753357,39.83438492),"
John Dewey Middle School
7480 Conifer Road
Denver, CO 80221

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("John Dewey Middle School",'Denver=' + Denver.length); Henderson[Henderson.length] = createMarker(new GPoint(-104.89289856,39.88621902),"
John W Thimmig Elementary School
11453 Oswego Street
Henderson, CO 80640

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("John W Thimmig Elementary School",'Henderson=' + Henderson.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.91741943,39.80830383),"
Kearney Middle School
6160 Kearney Street
Commerce City, CO 80022

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kearney Middle School",'Commerce_City=' + Commerce_City.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.90827942,39.81991577),"
Kemp Elementary School
6775 Oneida Street
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kemp Elementary School",'Commerce_City=' + Commerce_City.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.96854401,39.88917160),"
Leroy Drive Elementary School
1451 East Leroy Drive
Northglenn, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Leroy Drive Elementary School",'Northglenn=' + Northglenn.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.91191864,39.82706451),"
Lester R Arnold High School
6500 East 72nd Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lester R Arnold High School",'Commerce_City=' + Commerce_City.length); Denver[Denver.length] = createMarker(new GPoint(-105.00217438,39.82374954),"
M. Scott Carpenter Middle School
7001 Lipan Street
Denver, CO 80221

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("M. Scott Carpenter Middle School",'Denver=' + Denver.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.97145844,39.90413666),"
Malley Drive Elementary School
1300 East Malley Drive
Northglenn, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Malley Drive Elementary School",'Northglenn=' + Northglenn.length); Denver[Denver.length] = createMarker(new GPoint(-104.97980499,39.81288528),"
Mapleton Preschool
602 East 64th Avenue
Denver, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mapleton Preschool",'Denver=' + Denver.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.95780182,39.96014023),"
Mary E Pennock K-8 Elementary School
3707 Estrella Street
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mary E Pennock K-8 Elementary School",'Brighton=' + Brighton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97380066,39.85171890),"
Mc Elwain Elementary School
1020 Dawson Drive
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mc Elwain Elementary School",'Thornton=' + Thornton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.94437408,39.86160278),"
Meadow Elementary School
9150 Monroe Street
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meadow Elementary School",'Thornton=' + Thornton.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03421783,39.86223984),"
Mesa Elementary School
9100 Lowell Boulevard
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mesa Elementary School",'Westminster=' + Westminster.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.91881561,39.81298447),"
Mildred L Sanville Preschool
5941 East 64th Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mildred L Sanville Preschool",'Commerce_City=' + Commerce_City.length); Strasburg[Strasburg.length] = createMarker(new GPoint(-104.32630400,39.73886500),"
Model Charter School
56729 East Colorado Avenue
Strasburg, CO 80136

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Model Charter School",'Strasburg=' + Strasburg.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.91287994,39.83472061),"
Monaco Elementary School
7631 Monaco Boulevard
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Monaco Elementary School",'Commerce_City=' + Commerce_City.length); Denver[Denver.length] = createMarker(new GPoint(-104.96006012,39.85079193),"
Monterey Elementary School
2201 Mc Elwain Boulevard
Denver, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Monterey Elementary School",'Denver=' + Denver.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.85427856,39.74798584),"
Montview Elementary School
2055 Moline Street
Aurora, CO 80010

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Montview Elementary School",'Aurora=' + Aurora.length); Denver[Denver.length] = createMarker(new GPoint(-104.98812300,39.75509200),"
New America School
P O Box 201015
Denver, CO 80220

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New America School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-105.00592041,39.86856842),"
Niver Creek Middle School
9450 Pecos Street
Denver, CO 80221

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Niver Creek Middle School",'Denver=' + Denver.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.81557465,39.98833466),"
North Elementary School
89 North 6th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Elementary School",'Brighton=' + Brighton.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.84721375,39.74753571),"
North Middle School
12095 Montview Boulevard
Aurora, CO 80010

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("North Middle School",'Aurora=' + Aurora.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.99221039,39.86896515),"
North Mor Elementary School
9580 Damon Drive
Northglenn, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Mor Elementary School",'Northglenn=' + Northglenn.length); Denver[Denver.length] = createMarker(new GPoint(-104.99311829,39.85525894),"
North Star Elementary School
8740 North Star Drive
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Star Elementary School",'Denver=' + Denver.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.80289459,39.99243546),"
Northeast Elementary School
1605 Longspeak
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Northeast Elementary School",'Brighton=' + Brighton.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.99424744,39.87876892),"
Northglenn High School
601 West 100th Place
Northglenn, CO 80221

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northglenn High School",'Northglenn=' + Northglenn.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.97293854,39.89611053),"
Northglenn Middle School
1123 Muriel Drive
Northglenn, CO 80233

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northglenn Middle School",'Northglenn=' + Northglenn.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.80972290,39.73490524),"
Options School
11351 E. Montview Blvd.
Aurora, CO 80010

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Options School",'Aurora=' + Aurora.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.79947662,39.99528885),"
Overland Trail Middle School
455 North 19th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Overland Trail Middle School",'Brighton=' + Brighton.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.83479309,39.75751495),"
Park Lane Elementary School
13001 East 30th Avenue
Aurora, CO 80011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Park Lane Elementary School",'Aurora=' + Aurora.length); Federal_Heights[Federal_Heights.length] = createMarker(new GPoint(-105.01521600,39.85911400),"
Pinnacle Charter High School
1001 W 84th Avenue
Federal Heights, CO 80260

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Pinnacle Charter High School",'Federal_Heights=' + Federal_Heights.length); Federal_Heights[Federal_Heights.length] = createMarker(new GPoint(-105.01521600,39.85911400),"
Pinnacle Charter Middle School
1001 W 84th Avenue
Federal Heights, CO 80260

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Pinnacle Charter Middle School",'Federal_Heights=' + Federal_Heights.length); Federal_Heights[Federal_Heights.length] = createMarker(new GPoint(-104.99788666,39.84913635),"
Pinnacle Charter School
1001 W 84th Avenue
Federal Heights, CO 80260

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Pinnacle Charter School",'Federal_Heights=' + Federal_Heights.length); Strasburg[Strasburg.length] = createMarker(new GPoint(-104.31680298,39.76509857),"
Prairie Creeks Charter School
P O Box 889
Strasburg, CO 80136

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Prairie Creeks Charter School",'Strasburg=' + Strasburg.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95780182,39.96014023),"
Prairie Hills Elementary School
13801 Garfield Place
Thornton, CO 80602

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairie Hills Elementary School",'Thornton=' + Thornton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.92850494,39.89162064),"
Riverdale Elementary School
10724 Elm Drive
Thornton, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riverdale Elementary School",'Thornton=' + Thornton.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03250122,39.87594223),"
Rocky Mountain Elementary School
3350 West 99th Avenue
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rocky Mountain Elementary School",'Westminster=' + Westminster.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95933700,39.95164500),"
Rocky Top Middle School
14150 York Street
Thornton, CO 80602

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Rocky Top Middle School",'Thornton=' + Thornton.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.90802002,39.80196381),"
Rose Hill Elementary School
6900 East 58th Avenue
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rose Hill Elementary School",'Commerce_City=' + Commerce_City.length); Aurora[Aurora.length] = createMarker(new GPoint(-104.81958008,39.75384140),"
Sable Elementary School
2601 Sable Boulevard
Aurora, CO 80011

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sable Elementary School",'Aurora=' + Aurora.length); Commerce_City[Commerce_City.length] = createMarker(new GPoint(-104.90940094,39.80945969),"
Second Creek K-8 Elementary School
9950 Laredo Drive
Commerce City, CO 80022

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Second Creek K-8 Elementary School",'Commerce_City=' + Commerce_City.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.96863556,39.90834808),"
Shadow Ridge Middle School
12551 Holly Street
Thornton, CO 80602

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Shadow Ridge Middle School",'Thornton=' + Thornton.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.03842163,39.85584641),"
Shaw Heights Middle School
8780 Circle Drive
Westminster, CO 80030

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Shaw Heights Middle School",'Westminster=' + Westminster.length); Denver[Denver.length] = createMarker(new GPoint(-105.00087738,39.84318161),"
Sherrelwood Elementary School
8095 Kalamath Drive
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sherrelwood Elementary School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-105.01567841,39.83047485),"
Skyline Vista Elementary School
7395 Zuni Street
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Skyline Vista Elementary School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95906700,39.85943300),"
Skyview Academy High School
8990 York Street
Thornton, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview Academy High School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-104.99533800,39.82362700),"
Skyview Big Picture High School
660 W 70th Avenue
Denver, CO 80221

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview Big Picture High School",'Denver=' + Denver.length); Denver[Denver.length] = createMarker(new GPoint(-104.99533800,39.82362700),"
Skyview Early College High School
660 W 70th Avenue
Denver, CO 80221

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview Early College High School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.92884827,39.91868210),"
Skyview Elementary School
5021 East 123th Avenue
Thornton, CO 80241

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Skyview Elementary School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-105.00923900,39.82012000),"
Skyview Expeditionary Learning School
7480 Conifer Road
Denver, CO 80221

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview Expeditionary Learning School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95893097,39.85943985),"
Skyview High School
89000 York Street
Thornton, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview High School",'Thornton=' + Thornton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95906700,39.85943300),"
Skyview Learning Through Arts School
8990 York Street
Thornton, CO 80299

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview Learning Through Arts School",'Thornton=' + Thornton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.81687927,39.98189545),"
South Elementary School
305 South 5th Avenue
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("South Elementary School",'Brighton=' + Brighton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.80230713,39.97963715),"
Southeast Elementary School
1595 Southern Street
Brighton, CO 80601

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Southeast Elementary School",'Brighton=' + Brighton.length); Eastlake[Eastlake.length] = createMarker(new GPoint(-104.96080017,39.92380142),"
Stargate Charter School
Po Box 530
Eastlake, CO 80614

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stargate Charter School",'Eastlake=' + Eastlake.length); Thornton[Thornton.length] = createMarker(new GPoint(-105.15280151,39.80097961),"
Stargate Charter School
3951 Cottonwood Lakes Bouleva
Thornton, CO 80241

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stargate Charter School",'Thornton=' + Thornton.length); Strasburg[Strasburg.length] = createMarker(new GPoint(-104.31680298,39.76509857),"
Strasburg Elementary School
P O Box 207
Strasburg, CO 80136

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Strasburg Elementary School",'Strasburg=' + Strasburg.length); Strasburg[Strasburg.length] = createMarker(new GPoint(-104.31680298,39.76509857),"
Strasburg High School
P O Box 207
Strasburg, CO 80136

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Strasburg High School",'Strasburg=' + Strasburg.length); Strasburg[Strasburg.length] = createMarker(new GPoint(-104.31680298,39.76509857),"
Strasburg Junior High School
P O Box 207
Strasburg, CO 80136

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Strasburg Junior High School",'Strasburg=' + Strasburg.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.98101807,39.89763641),"
Stukey Elementary School
11080 Grant Drive
Northglenn, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stukey Elementary School",'Northglenn=' + Northglenn.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.02862549,39.86897278),"
Sunset Ridge Elementary School
9451 Hooker Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunset Ridge Elementary School",'Westminster=' + Westminster.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.94414520,39.93849182),"
Tarver Elementary School
3500 Summit Grove Parkway
Thornton, CO 80241

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tarver Elementary School",'Thornton=' + Thornton.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.04392242,39.81108856),"
Tennyson Knolls Elementary School
6330 Tennyson Street
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tennyson Knolls Elementary School",'Arvada=' + Arvada.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97602081,39.86386490),"
Thornton Elementary School
900 Eppinger Boulevard
Thornton, CO 80229

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Thornton Elementary School",'Thornton=' + Thornton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97798157,39.86625671),"
Thornton High School
9351 North Washington Street
Thornton, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Thornton High School",'Thornton=' + Thornton.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.97577667,39.86821365),"
Thornton Middle School
9451 Hoffman Way
Thornton, CO 80229

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Thornton Middle School",'Thornton=' + Thornton.length); Denver[Denver.length] = createMarker(new GPoint(-104.99536133,39.82358551),"
Valley View Elementary School
660 West 70th Avenue
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Valley View Elementary School",'Denver=' + Denver.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.98209381,39.86391449),"
Vantage Point High School
455 East Eppinger Boulevard
Thornton, CO 80229

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Vantage Point High School",'Thornton=' + Thornton.length); Brighton[Brighton.length] = createMarker(new GPoint(-104.81166840,39.97751999),"
Vikan Middle School
879 Jessup Street
Brighton, CO 80601

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Vikan Middle School",'Brighton=' + Brighton.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.04682922,39.85834885),"
Vista Grande Elementary School
8845 Wagner Drive
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Vista Grande Elementary School",'Westminster=' + Westminster.length); Denver[Denver.length] = createMarker(new GPoint(-104.98793793,39.83808517),"
Western Hills Elementary School
7700 Delta Street
Denver, CO 80221

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Western Hills Elementary School",'Denver=' + Denver.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.02941895,39.83221436),"
Westminster Elementary School
7482 Irving Street
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westminster Elementary School",'Westminster=' + Westminster.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.04384613,39.82033539),"
Westminster High School
4276 West 68th Avenue
Westminster, CO 80030

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Westminster High School",'Westminster=' + Westminster.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.04249573,39.84193802),"
Westminster Hills Elementary School
4105 West 80th Avenue
Westminster, CO 80030

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westminster Hills Elementary School",'Westminster=' + Westminster.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-105.00424194,39.89117813),"
Westview Elementary School
1300 Roseanna Drive
Northglenn, CO 80234

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westview Elementary School",'Northglenn=' + Northglenn.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.94638824,39.90864182),"
Woodglen Elementary School
11717 North Madison Street
Thornton, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodglen Elementary School",'Thornton=' + Thornton.length); Northglenn[Northglenn.length] = createMarker(new GPoint(-104.96495819,39.90582275),"
Wyco Drive Elementary School
11551 Wyco Drive
Northglenn, CO 80233

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wyco Drive Elementary School",'Northglenn=' + Northglenn.length); Thornton[Thornton.length] = createMarker(new GPoint(-104.95906067,39.86399078),"
York Middle School
9200 York Street
Thornton, CO 80229

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("York Middle School",'Thornton=' + Thornton.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(Arvada); map.removeOverlays(Aurora); map.removeOverlays(Bennett); map.removeOverlays(Brighton); map.removeOverlays(Commerce_City); map.removeOverlays(Denver); map.removeOverlays(Eastlake); map.removeOverlays(Federal_Heights); map.removeOverlays(Henderson); map.removeOverlays(Northglenn); map.removeOverlays(Strasburg); map.removeOverlays(Thornton); map.removeOverlays(Westminster); 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(Denver);map.removeOverlays(Arvada); map.removeOverlays(Aurora); map.removeOverlays(Bennett); map.removeOverlays(Brighton); map.removeOverlays(Commerce_City); map.removeOverlays(Denver); map.removeOverlays(Eastlake); map.removeOverlays(Federal_Heights); map.removeOverlays(Henderson); map.removeOverlays(Northglenn); map.removeOverlays(Strasburg); map.removeOverlays(Thornton); map.removeOverlays(Westminster); map.addOverlays(Arvada); centerByArray(Arvada, false, false); cntMarker += Arvada.length; map.addOverlays(Aurora); centerByArray(Aurora, false, false); cntMarker += Aurora.length; map.addOverlays(Bennett); centerByArray(Bennett, false, false); cntMarker += Bennett.length; map.addOverlays(Brighton); centerByArray(Brighton, false, false); cntMarker += Brighton.length; map.addOverlays(Commerce_City); centerByArray(Commerce_City, false, false); cntMarker += Commerce_City.length; map.addOverlays(Denver); centerByArray(Denver, false, false); cntMarker += Denver.length; map.addOverlays(Eastlake); centerByArray(Eastlake, false, false); cntMarker += Eastlake.length; map.addOverlays(Federal_Heights); centerByArray(Federal_Heights, false, false); cntMarker += Federal_Heights.length; map.addOverlays(Henderson); centerByArray(Henderson, false, false); cntMarker += Henderson.length; map.addOverlays(Northglenn); centerByArray(Northglenn, false, false); cntMarker += Northglenn.length; map.addOverlays(Strasburg); centerByArray(Strasburg, false, false); cntMarker += Strasburg.length; map.addOverlays(Thornton); centerByArray(Thornton, false, false); cntMarker += Thornton.length; map.addOverlays(Westminster); centerByArray(Westminster, false, false); cntMarker += Westminster.length; centerByArray(Denver,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'); } }