function addMarkers() { mySelect = document.getElementById('selection'); Westminster = [];Lakewood = [];Arvada = [];Golden = [];Evergreen = [];Wheat_Ridge = [];Conifer = [];Denver = [];Edgewater = [];Pine = [];Broomfield = [];Morrison = [];Indian_Hills = [];mySelect.options[mySelect.options.length] = new Option("Arvada schools",'all=Arvada'); mySelect.options[mySelect.options.length] = new Option("Broomfield schools",'all=Broomfield'); mySelect.options[mySelect.options.length] = new Option("Conifer schools",'all=Conifer'); mySelect.options[mySelect.options.length] = new Option("Denver schools",'all=Denver'); mySelect.options[mySelect.options.length] = new Option("Edgewater schools",'all=Edgewater'); mySelect.options[mySelect.options.length] = new Option("Evergreen schools",'all=Evergreen'); mySelect.options[mySelect.options.length] = new Option("Golden schools",'all=Golden'); mySelect.options[mySelect.options.length] = new Option("Indian Hills schools",'all=Indian_Hills'); mySelect.options[mySelect.options.length] = new Option("Lakewood schools",'all=Lakewood'); mySelect.options[mySelect.options.length] = new Option("Morrison schools",'all=Morrison'); mySelect.options[mySelect.options.length] = new Option("Pine schools",'all=Pine'); mySelect.options[mySelect.options.length] = new Option("Westminster schools",'all=Westminster'); mySelect.options[mySelect.options.length] = new Option("Wheat Ridge schools",'all=Wheat_Ridge'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Westminster[Westminster.length] = createMarker(new GPoint(-105.06569300,39.86943900),"
Adams Elementary School
6450 West 95th Place
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adams Elementary School",'Westminster=' + Westminster.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08163452,39.69399643),"
Alameda High School
1255 South Wadsworth Blvd
Lakewood, CO 80232

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Alameda High School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.11784900,39.80469700),"
Allendale Elementary School
5900 Oak Street
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Allendale Elementary School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.08331299,39.81465912),"
Arvada High School
7951 West 65th Avenue
Arvada, CO 80004

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Arvada High School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.08850098,39.80094147),"
Arvada Middle School
5751 Balsam Street
Arvada, CO 80002

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Arvada Middle School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.12586212,39.80878830),"
Arvada West High School
11325 Allendale Drive
Arvada, CO 80004

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Arvada West High School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10958862,39.66178131),"
Bear Creek Elementary School
3125 South Kipling
Lakewood, CO 80227

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bear Creek Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10979462,39.66120148),"
Bear Creek High School
3490 South Kipling Street
Lakewood, CO 80227

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bear Creek High School",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.19374084,39.73288727),"
Bell Middle School
1001 Ulysses Street
Golden, CO 80401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Bell Middle School",'Golden=' + Golden.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10031128,39.70045853),"
Belmar Elementary School
885 South Garrison Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belmar Elementary School",'Lakewood=' + Lakewood.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.36138000,39.68085000),"
Bergen Meadows Primary School
1892 Bergen Parkway
Evergreen, CO 80439

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bergen Meadows Primary School",'Evergreen=' + Evergreen.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.34745300,39.68936300),"
Bergen Valley Intermediate School
1422 Sugarbush Drive
Evergreen, CO 80439

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bergen Valley Intermediate School",'Evergreen=' + Evergreen.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.05538200,39.70216800),"
Brady Exploration School
5290 W Ohio Avenue
Lakewood, CO 80226

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brady Exploration School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.11807300,39.81591800),"
Campbell Elementary School
6500 Oak Street
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Campbell Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10974121,39.67952347),"
Carmody Middle School
2050 S Kipling Street
Lakewood, CO 80227

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Carmody Middle School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08267975,39.67631912),"
Center For Discovery Learning Charter School
7700 West Woodard Drive
Lakewood, CO 80227

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Center For Discovery Learning Charter School",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.36013794,39.90410614),"
Coal Creek Elementary School
11719 Ranch Elsie Road
Golden, CO 80403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Coal Creek Elementary School",'Golden=' + Golden.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.11432648,39.77816010),"
Compass Montessori Charter School
10399 West 44th Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Compass Montessori Charter School",'Wheat_Ridge=' + Wheat_Ridge.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.11432648,39.77816010),"
Compass Secondary Montessori C
10399 West 44th Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Compass Secondary Montessori C",'Wheat_Ridge=' + Wheat_Ridge.length); Golden[Golden.length] = createMarker(new GPoint(-105.11412048,39.77833557),"
Compass Secondary Montessori Charter School
4441 Salvia Street
Golden, CO 80403

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Compass Secondary Montessori Charter School",'Golden=' + Golden.length); Conifer[Conifer.length] = createMarker(new GPoint(-105.30574036,39.52035904),"
Conifer Senior High School
10441 County Highway 73
Conifer, CO 80433

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Conifer Senior High School",'Conifer=' + Conifer.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10514832,39.71783447),"
Creighton Middle School
75 Independence Street
Lakewood, CO 80226

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Creighton Middle School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.06277466,39.70631027),"
Deane Elementary School
580 South Harlan Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Deane Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10484314,39.72148514),"
Dennison Elementary School
401 Independence Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dennison Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.13748932,39.68504715),"
Devinny Elementary School
1725 South Wright Street
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Devinny Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.14325714,39.79091263),"
Drake Junior High School
12550 West 52nd Avenue
Arvada, CO 80002

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Drake Junior High School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.13566589,39.68291473),"
Dunstan Middle School
1855 South Wright Street
Lakewood, CO 80228

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Dunstan Middle School",'Lakewood=' + Lakewood.length); Denver[Denver.length] = createMarker(new GPoint(-105.08271900,39.64556000),"
D'evelyn Junior/senior High School
810359 W Nassau Avenue
Denver, CO 80235

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("D'evelyn Junior/senior High School",'Denver=' + Denver.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-105.05793762,39.75015259),"
Edgewater Elementary School
2280 Depew Street
Edgewater, CO 80214

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edgewater Elementary School",'Edgewater=' + Edgewater.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10494232,39.73686600),"
Eiber Elementary School
1385 Independence Street
Lakewood, CO 80215

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eiber Elementary School",'Lakewood=' + Lakewood.length); Pine[Pine.length] = createMarker(new GPoint(-105.32196045,39.40983963),"
Elk Creek Elementary School
13304 South U S Highway 285
Pine, CO 80470

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Elk Creek Elementary School",'Pine=' + Pine.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.33350372,39.62279892),"
Evergreen High School
29300 Buffalo Road
Evergreen, CO 80439

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Evergreen High School",'Evergreen=' + Evergreen.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.36040497,39.67681885),"
Evergreen Middle School
2052 Hiwan Drive
Evergreen, CO 80439

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Evergreen Middle School",'Evergreen=' + Evergreen.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.10970306,39.77065277),"
Everitt Middle School
3900 Kipling Street
Wheat Ridge, CO 80033

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Everitt Middle School",'Wheat_Ridge=' + Wheat_Ridge.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.12860600,39.85129900),"
Excel Academy Charter School
11500 W. 84th Ave
Arvada, CO 80002

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Excel Academy Charter School",'Arvada=' + Arvada.length); Golden[Golden.length] = createMarker(new GPoint(-105.17921448,39.78697205),"
Fairmount Elementary School
15975 West 50th Avenue
Golden, CO 80403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fairmount Elementary School",'Golden=' + Golden.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.10350700,39.81000000),"
Fitzmorris Elementary School
6250 Independence Street
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fitzmorris Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14567566,39.70179367),"
Foothills Elementary School
13165 West Ohio Avenue
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Foothills Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.07617400,39.79283500),"
Foster Elementary School
5300 Saulsbury Court
Arvada, CO 80002

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Foster Elementary School",'Arvada=' + Arvada.length); Golden[Golden.length] = createMarker(new GPoint(-105.14257812,39.74524307),"
Free Horizon Montessori Charter School
1921 Youngfield Suite 204
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Free Horizon Montessori Charter School",'Golden=' + Golden.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.13278100,39.81382300),"
Fremont Elementary School
6420 Urban
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fremont Elementary School",'Arvada=' + Arvada.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.11820221,39.77817535),"
Fruitdale Language Development Preschool
10801 West 44th Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fruitdale Language Development Preschool",'Wheat_Ridge=' + Wheat_Ridge.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.12162781,39.70627594),"
Glennon Heights Elementary School
11025 West Glennon Drive
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glennon Heights Elementary School",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.21114349,39.74618530),"
Golden High School
701 24th Street
Golden, CO 80401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Golden High School",'Golden=' + Golden.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09484100,39.67878723),"
Green Gables Elementary School
8701 West Woodard Drive
Lakewood, CO 80227

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Green Gables Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.13259888,39.69926453),"
Green Mountain Elementary School
12250 West Kentucky Drive
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Green Mountain Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14526367,39.69205093),"
Green Mountain High School
13175 W Green Mountain Drive
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Green Mountain High School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.07847900,39.83463300),"
Hackberry Hill Elementary School
7300 West 76th Avenue
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hackberry Hill Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14727020,39.76183319),"
Home Options School
13600 W. 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Home Options School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14410400,39.68096542),"
Hutchinson Elementary School
12900 West Utah Avenue
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hutchinson Elementary School",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.20042419,39.74132919),"
Interventions Transitional Programs
1829 Denver West Drive
Golden, CO 80401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Interventions Transitional Programs",'Golden=' + Golden.length); Broomfield[Broomfield.length] = createMarker(new GPoint(-105.08466800,39.87718300),"
Jefferson Academy Charter School
9955 Yarrow Street
Broomfield, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson Academy Charter School",'Broomfield=' + Broomfield.length); Broomfield[Broomfield.length] = createMarker(new GPoint(-105.08397675,39.87735748),"
Jefferson Charter Academy Junior High School
9955 Yarrow Street
Broomfield, CO 80020

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jefferson Charter Academy Junior High School",'Broomfield=' + Broomfield.length); Broomfield[Broomfield.length] = createMarker(new GPoint(-105.08397675,39.87735748),"
Jefferson Charter Academy Senior High School
9955 Yarrow Street
Broomfield, CO 80021

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Jefferson Charter Academy Senior High School",'Broomfield=' + Broomfield.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08207800,39.73309200),"
Jefferson County Open Elementary School
7655 West 10th Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson County Open Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09084320,39.73278809),"
Jefferson County Open High School
7655 West 10th Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Jefferson County Open High School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08227539,39.73313522),"
Jefferson County Open Junior High School
7655 West 10th Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jefferson County Open Junior High School",'Lakewood=' + Lakewood.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-105.07199860,39.75039673),"
Jefferson High School
2305 Pierce Street
Edgewater, CO 80214

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Jefferson High School",'Edgewater=' + Edgewater.length); Golden[Golden.length] = createMarker(new GPoint(-105.20042419,39.74132919),"
Johnson Program
1200 Johnson Road
Golden, CO 80401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Johnson Program",'Golden=' + Golden.length); Morrison[Morrison.length] = createMarker(new GPoint(-105.15158844,39.63126373),"
Kendallvue Elementary School
13658 West Marlowe Avenue
Morrison, CO 80465

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kendallvue Elementary School",'Morrison=' + Morrison.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10372162,39.69993210),"
Kendrick Lakes Elementary School
1350 South Hoyt Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kendrick Lakes Elementary School",'Lakewood=' + Lakewood.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.13594055,39.76806641),"
Kullerstrand Elementary School
12225 West 38th Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kullerstrand Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Golden[Golden.length] = createMarker(new GPoint(-105.15896606,39.71298218),"
Kyffin Elementary School
205 North Flora Way
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kyffin Elementary School",'Golden=' + Golden.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10630798,39.72819901),"
Lakewood High School
9700 West 8th Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lakewood High School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.06619263,39.70217514),"
Lasley Elementary School
1401 South Kendall Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lasley Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.08588000,39.79800900),"
Lawrence Elementary School
5611 Zephyr Street
Arvada, CO 80002

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lawrence Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08142090,39.75484085),"
Lighthouse Program
1005 Wadsworth Boulevard
Lakewood, CO 80215

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lighthouse Program",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.07129700,39.82283600),"
Lincoln Charter Academy
6980 Pierce Street
Arvada, CO 80003

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lincoln Charter Academy",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.06792900,39.85335000),"
Little Elementary School
8448 Otis Drive
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Little Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14791870,39.71478653),"
Longview High School
13301 West 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Longview High School",'Lakewood=' + Lakewood.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.10239100,39.87308500),"
Lukas Elementary School
9650 West 97th Avenue
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lukas Elementary School",'Westminster=' + Westminster.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-105.07087708,39.74943542),"
Lumberg Elementary School
6705 West 22nd Avenue
Edgewater, CO 80214

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lumberg Elementary School",'Edgewater=' + Edgewater.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.07398987,39.87506104),"
Mandalay Middle School
9651 North Pierce St
Westminster, CO 80021

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mandalay Middle School",'Westminster=' + Westminster.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.16709137,39.76202774),"
Manning Options School
13200 West 32nd Place
Lakewood, CO 80401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Manning Options School",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.14720154,39.76007843),"
Maple Grove Elementary School
3085 Alkire Street
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Maple Grove Elementary School",'Golden=' + Golden.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.30543900,39.58851000),"
Marshdale Elementary School
26663 North Turkey Creek Road
Evergreen, CO 80439

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Marshdale Elementary School",'Evergreen=' + Evergreen.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.07002258,39.77938461),"
Martensen Elementary School
6625 West 45th Place
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Martensen Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14682007,39.71662521),"
Mc Lain Community High School
13600 West 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mc Lain Community High School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14682007,39.71662521),"
Mc Lain High School
13600 West 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mc Lain High School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09204102,39.71438217),"
Meadowlark Cottage Day Program
110 South Cody Street
Lakewood, CO 80226

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meadowlark Cottage Day Program",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10964203,39.71298599),"
Miller Special Education
200 Kipling Street
Lakewood, CO 80226

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Miller Special Education",'Lakewood=' + Lakewood.length); Golden[Golden.length] = createMarker(new GPoint(-105.23360443,39.75995636),"
Mitchell Elementary School
200 Rubey Drive
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mitchell Elementary School",'Golden=' + Golden.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.06263733,39.73125458),"
Molholm Elementary School
6000 West 9th Avenue
Lakewood, CO 80214

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Molholm Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.09490967,39.85632324),"
Moore Middle School
8455 West 88th Avenue
Arvada, CO 80005

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Moore Middle School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.06490900,39.82616000),"
North Arvada Middle School
7285 Pierce Street
Arvada, CO 80003

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("North Arvada Middle School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.07735443,39.69984818),"
O'connell Middle School
31275 South Teller Street
Lakewood, CO 80226

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("O'connell Middle School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.12348175,39.82847977),"
Oberon Junior High School
7300 Quail Street
Arvada, CO 80005

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Oberon Junior High School",'Arvada=' + Arvada.length); Indian_Hills[Indian_Hills.length] = createMarker(new GPoint(-105.26954651,39.63688660),"
Parmalee Elementary School
4460 S Parmalee Gulch Box 58
Indian Hills, CO 80454

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Parmalee Elementary School",'Indian_Hills=' + Indian_Hills.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.06136400,39.84840600),"
Parr Elementary School
5800 West 84th Avenue
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Parr Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09464264,39.69838715),"
Patterson Elementary School
1263 South Dudley Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Patterson Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.09203000,39.81444400),"
Peck Elementary School
6495 Carr Street
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Peck Elementary School",'Arvada=' + Arvada.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.10489655,39.78122330),"
Pennington Elementary School
4645 Independence Street
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pennington Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Golden[Golden.length] = createMarker(new GPoint(-105.17890930,39.73268890),"
Pleasant View Elementary School
15920 West 10th Avenue
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pleasant View Elementary School",'Golden=' + Golden.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.08849335,39.84837341),"
Pomona High School
8101 West Pomona Drive
Arvada, CO 80005

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Pomona High School",'Arvada=' + Arvada.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.12258911,39.76361847),"
Prospect Valley Elementary School
3400 Pierson Street
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prospect Valley Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Golden[Golden.length] = createMarker(new GPoint(-105.27244568,39.71928787),"
Ralston Elementary School
25856 Columbine Glen
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ralston Elementary School",'Golden=' + Golden.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.14361572,39.84170532),"
Ralston Valley Senior High School
13355 West 80th Avenue
Arvada, CO 80005

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ralston Valley Senior High School",'Arvada=' + Arvada.length); Morrison[Morrison.length] = createMarker(new GPoint(-105.19444275,39.65478516),"
Red Rocks Elementary School
17199 Highway 74
Morrison, CO 80465

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Red Rocks Elementary School",'Morrison=' + Morrison.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.34052800,39.64800000),"
Rocky Mountain Academy Of Evergreen
P O Box 3162
Evergreen, CO 80439

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rocky Mountain Academy Of Evergreen",'Evergreen=' + Evergreen.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.11379242,39.70250320),"
Rocky Mountain Deaf School
10700 W. Exposition Dr
Lakewood, CO 80226

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Rocky Mountain Deaf School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.15274048,39.67728806),"
Rooney Ranch Elementary School
2200 South Coors Street
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rooney Ranch Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.08494400,39.79014900),"
Russell Elementary School
5150 Allison Street
Arvada, CO 80002

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Russell Elementary School",'Arvada=' + Arvada.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.06102800,39.90711200),"
Ryan Elementary School
5851 West 115th Avenue
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ryan Elementary School",'Westminster=' + Westminster.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.08126831,39.70380020),"
Sams Preschool
Intervention Plaza, Temp 2a, 2
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sams Preschool",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.07306100,39.81369600),"
Secrest Elementary School
6875 West 64th Avenue
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Secrest Elementary School",'Arvada=' + Arvada.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.08010200,39.87201500),"
Semper Elementary School
7575 West 96th Avenue
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Semper Elementary School",'Westminster=' + Westminster.length); Golden[Golden.length] = createMarker(new GPoint(-105.21538544,39.72301865),"
Shelton Elementary School
420 Crawford Street
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shelton Elementary School",'Golden=' + Golden.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.06395900,39.89604400),"
Sheridan Green Elementary School
10951 North Harlan Street
Westminster, CO 80020

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sheridan Green Elementary School",'Westminster=' + Westminster.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.12041400,39.83774600),"
Sierra Elementary School
7751 Oak Street
Arvada, CO 80005

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sierra Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09328461,39.75116348),"
Slater Elementary School
8605 West 23rd Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Slater Elementary School",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.10414124,39.74748611),"
Sobesky Academy Day Treatment
2001 Hoyt Street
Lakewood, CO 80215

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Sobesky Academy Day Treatment",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09135437,39.71828842),"
South Lakewood Elementary School
8425 West 1st Avenue
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("South Lakewood Elementary School",'Lakewood=' + Lakewood.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.10021973,39.88550186),"
Standley Lake High School
9300 West 104th Avenue
Westminster, CO 80021

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Standley Lake High School",'Westminster=' + Westminster.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.07677460,39.71512604),"
Stein Elementary School
80 South Teller Street
Lakewood, CO 80226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stein Elementary School",'Lakewood=' + Lakewood.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.07447052,39.77233887),"
Stevens Elementary School
4001 Reed Street
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stevens Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.13359070,39.75098419),"
Stober Elementary School
2300 Urban Street
Lakewood, CO 80215

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stober Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.14175800,39.81604900),"
Stott Elementary School
6600 Yank Way
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stott Elementary School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.06376500,39.82093600),"
Swanson Elementary School
6055 West 68th Avenue
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Swanson Elementary School",'Arvada=' + Arvada.length); Golden[Golden.length] = createMarker(new GPoint(-105.14727020,39.76183319),"
Talented Students (jeffco Acce
13200 West 32nd Avenue
Golden, CO 80401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Talented Students (jeffco Acce",'Golden=' + Golden.length); Golden[Golden.length] = createMarker(new GPoint(-105.20059967,39.73030090),"
Tanglewood Language Development Preschool
P O Box 4001
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tanglewood Language Development Preschool",'Golden=' + Golden.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.06137900,39.83737700),"
Thomson Elementary School
7750 Harlan Street
Arvada, CO 80003

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Thomson Elementary School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.14857400,39.83327100),"
Van Arsdale Elementary School
7535 Alkire Street
Arvada, CO 80005

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Van Arsdale Elementary School",'Arvada=' + Arvada.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.12690300,39.80319300),"
Vanderhoof Elementary School
5875 Routt Court
Arvada, CO 80004

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Vanderhoof Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.11560059,39.75278473),"
Vivian Elementary School
10500 West 25th Avenue
Lakewood, CO 80215

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Vivian Elementary School",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.09198100,39.83756600),"
Warder Elementary School
7840 Carr Drive
Arvada, CO 80005

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Warder Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14791870,39.71478653),"
Warren Center Preschool
13300 West 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Warren Center Preschool",'Lakewood=' + Lakewood.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.14791870,39.71478653),"
Warren Occupation Technical Center
13300 West 2nd Place
Lakewood, CO 80228

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Warren Occupation Technical Center",'Lakewood=' + Lakewood.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.09329300,39.84653100),"
Weber Elementary School
8725 W. 81st Place
Arvada, CO 80005

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Weber Elementary School",'Arvada=' + Arvada.length); Golden[Golden.length] = createMarker(new GPoint(-105.14443207,39.73279953),"
Welchester Elementary School
13000 West 10th Avenue
Golden, CO 80401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Welchester Elementary School",'Golden=' + Golden.length); Conifer[Conifer.length] = createMarker(new GPoint(-105.30313873,39.53754044),"
West Jefferson Elementary School
26501 Barkley Road
Conifer, CO 80433

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("West Jefferson Elementary School",'Conifer=' + Conifer.length); Conifer[Conifer.length] = createMarker(new GPoint(-105.30146027,39.54526901),"
West Jefferson Middle School
9449 South Barnes Street
Conifer, CO 80433

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("West Jefferson Middle School",'Conifer=' + Conifer.length); Arvada[Arvada.length] = createMarker(new GPoint(-105.18707700,39.82591500),"
West Woods Elementary School
16650 West 72nd Avenue
Arvada, CO 80007

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("West Woods Elementary School",'Arvada=' + Arvada.length); Lakewood[Lakewood.length] = createMarker(new GPoint(-105.09300995,39.66883469),"
Westgate Elementary School
8550 West Vassar Drive
Lakewood, CO 80227

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westgate Elementary School",'Lakewood=' + Lakewood.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.10362244,39.76204681),"
Wheat Ridge High School
9505 West 32nd Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wheat Ridge High School",'Wheat_Ridge=' + Wheat_Ridge.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.07621002,39.76935959),"
Wheat Ridge Middle School
7101 West 38th Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Wheat Ridge Middle School",'Wheat_Ridge=' + Wheat_Ridge.length); Wheat_Ridge[Wheat_Ridge.length] = createMarker(new GPoint(-105.08473206,39.77296448),"
Wilmore Davis Elementary School
7975 West 41st Avenue
Wheat Ridge, CO 80033

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wilmore Davis Elementary School",'Wheat_Ridge=' + Wheat_Ridge.length); Evergreen[Evergreen.length] = createMarker(new GPoint(-105.33631500,39.62102400),"
Wilmot Elementary School
5124 South Hatch Drive
Evergreen, CO 80439

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wilmot Elementary School",'Evergreen=' + Evergreen.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.11188300,39.88514800),"
Witt Elementary School
10255 West 104th Drive
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Witt Elementary School",'Westminster=' + Westminster.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.08144379,39.82503510),"
Woodrow Wilson Charter Academy
8300 W 94th Avenue
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodrow Wilson Charter Academy",'Westminster=' + Westminster.length); Westminster[Westminster.length] = createMarker(new GPoint(-105.09760200,39.86129800),"
Zerger Elementary School
9050 Field Street
Westminster, CO 80021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Zerger Elementary School",'Westminster=' + Westminster.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(Broomfield); map.removeOverlays(Conifer); map.removeOverlays(Denver); map.removeOverlays(Edgewater); map.removeOverlays(Evergreen); map.removeOverlays(Golden); map.removeOverlays(Indian_Hills); map.removeOverlays(Lakewood); map.removeOverlays(Morrison); map.removeOverlays(Pine); map.removeOverlays(Westminster); map.removeOverlays(Wheat_Ridge); 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(Westminster);map.removeOverlays(Arvada); map.removeOverlays(Broomfield); map.removeOverlays(Conifer); map.removeOverlays(Denver); map.removeOverlays(Edgewater); map.removeOverlays(Evergreen); map.removeOverlays(Golden); map.removeOverlays(Indian_Hills); map.removeOverlays(Lakewood); map.removeOverlays(Morrison); map.removeOverlays(Pine); map.removeOverlays(Westminster); map.removeOverlays(Wheat_Ridge); map.addOverlays(Arvada); centerByArray(Arvada, false, false); cntMarker += Arvada.length; map.addOverlays(Broomfield); centerByArray(Broomfield, false, false); cntMarker += Broomfield.length; map.addOverlays(Conifer); centerByArray(Conifer, false, false); cntMarker += Conifer.length; map.addOverlays(Denver); centerByArray(Denver, false, false); cntMarker += Denver.length; map.addOverlays(Edgewater); centerByArray(Edgewater, false, false); cntMarker += Edgewater.length; map.addOverlays(Evergreen); centerByArray(Evergreen, false, false); cntMarker += Evergreen.length; map.addOverlays(Golden); centerByArray(Golden, false, false); cntMarker += Golden.length; map.addOverlays(Indian_Hills); centerByArray(Indian_Hills, false, false); cntMarker += Indian_Hills.length; map.addOverlays(Lakewood); centerByArray(Lakewood, false, false); cntMarker += Lakewood.length; map.addOverlays(Morrison); centerByArray(Morrison, false, false); cntMarker += Morrison.length; map.addOverlays(Pine); centerByArray(Pine, false, false); cntMarker += Pine.length; map.addOverlays(Westminster); centerByArray(Westminster, false, false); cntMarker += Westminster.length; map.addOverlays(Wheat_Ridge); centerByArray(Wheat_Ridge, false, false); cntMarker += Wheat_Ridge.length; centerByArray(Westminster,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'); } }