function addMarkers(){ mySelect = document.getElementById('selection'); Minneapolis = [];Alexandria = [];Anoka = [];Coon_Rapids = [];Eagan = [];Mendota_Heights = [];Brainerd = [];White_Bear_Lake = [];Rosemount = [];Dultuh = [];Oakdale = [];Brooklyn_Park = [];Hibbing = [];Inver_Grove_Heights = [];Grand_Rapids = [];Duluth = [];Saint_Paul = [];Eveleth = [];Roseville = [];Richfield = [];Brooklyn_Center = [];Winona = [];Detroit_Lakes = [];Fergus_Falls = [];Granite_Falls = [];Bloomington = [];Thief_River_Falls = [];Pine_City = [];International_Falls = [];Eden_Prairie = [];Mankato = [];Saint_Cloud = [];Willmar = [];Austin = [];Rochester = [];North_Mankato = [];Ely = [];mySelect.options[mySelect.options.length] = new Option("Alexandria Schools",'all=Alexandria'); mySelect.options[mySelect.options.length] = new Option("Anoka Schools",'all=Anoka'); mySelect.options[mySelect.options.length] = new Option("Austin Schools",'all=Austin'); mySelect.options[mySelect.options.length] = new Option("Bloomington Schools",'all=Bloomington'); mySelect.options[mySelect.options.length] = new Option("Brainerd Schools",'all=Brainerd'); mySelect.options[mySelect.options.length] = new Option("Brooklyn Center Schools",'all=Brooklyn_Center'); mySelect.options[mySelect.options.length] = new Option("Brooklyn Park Schools",'all=Brooklyn_Park'); mySelect.options[mySelect.options.length] = new Option("Coon Rapids Schools",'all=Coon_Rapids'); mySelect.options[mySelect.options.length] = new Option("Detroit Lakes Schools",'all=Detroit_Lakes'); mySelect.options[mySelect.options.length] = new Option("Dultuh Schools",'all=Dultuh'); mySelect.options[mySelect.options.length] = new Option("Duluth Schools",'all=Duluth'); mySelect.options[mySelect.options.length] = new Option("Eagan Schools",'all=Eagan'); mySelect.options[mySelect.options.length] = new Option("Eden Prairie Schools",'all=Eden_Prairie'); mySelect.options[mySelect.options.length] = new Option("Ely Schools",'all=Ely'); mySelect.options[mySelect.options.length] = new Option("Eveleth Schools",'all=Eveleth'); mySelect.options[mySelect.options.length] = new Option("Fergus Falls Schools",'all=Fergus_Falls'); mySelect.options[mySelect.options.length] = new Option("Grand Rapids Schools",'all=Grand_Rapids'); mySelect.options[mySelect.options.length] = new Option("Granite Falls Schools",'all=Granite_Falls'); mySelect.options[mySelect.options.length] = new Option("Hibbing Schools",'all=Hibbing'); mySelect.options[mySelect.options.length] = new Option("International Falls Schools",'all=International_Falls'); mySelect.options[mySelect.options.length] = new Option("Inver Grove Heights Schools",'all=Inver_Grove_Heights'); mySelect.options[mySelect.options.length] = new Option("Mankato Schools",'all=Mankato'); mySelect.options[mySelect.options.length] = new Option("Mendota Heights Schools",'all=Mendota_Heights'); mySelect.options[mySelect.options.length] = new Option("Minneapolis Schools",'all=Minneapolis'); mySelect.options[mySelect.options.length] = new Option("North Mankato Schools",'all=North_Mankato'); mySelect.options[mySelect.options.length] = new Option("Oakdale Schools",'all=Oakdale'); mySelect.options[mySelect.options.length] = new Option("Pine City Schools",'all=Pine_City'); mySelect.options[mySelect.options.length] = new Option("Richfield Schools",'all=Richfield'); mySelect.options[mySelect.options.length] = new Option("Rochester Schools",'all=Rochester'); mySelect.options[mySelect.options.length] = new Option("Rosemount Schools",'all=Rosemount'); mySelect.options[mySelect.options.length] = new Option("Roseville Schools",'all=Roseville'); mySelect.options[mySelect.options.length] = new Option("Saint Cloud Schools",'all=Saint_Cloud'); mySelect.options[mySelect.options.length] = new Option("Saint Paul Schools",'all=Saint_Paul'); mySelect.options[mySelect.options.length] = new Option("Thief River Falls Schools",'all=Thief_River_Falls'); mySelect.options[mySelect.options.length] = new Option("White Bear Lake Schools",'all=White_Bear_Lake'); mySelect.options[mySelect.options.length] = new Option("Willmar Schools",'all=Willmar'); mySelect.options[mySelect.options.length] = new Option("Winona Schools",'all=Winona'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); var tmpLatLng=0; var tmpLen=0; tmpLatLng=new GLatLng(44.98011799999999738,-93.2639240000000029); tmpLen=Minneapolis.length; Minneapolis[tmpLen] = createMarker(tmpLatLng,"
Academy College
1101 E. 78th Street, Suite 100
Minneapolis, MN 55420

[ View School Profile ]
",iconRd); Minneapolis[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Academy College",'Minneapolis=' + Minneapolis.length); tmpLatLng=new GLatLng(45.87402699999999811,-95.3731240000000042); tmpLen=Alexandria.length; Alexandria[tmpLen] = createMarker(tmpLatLng,"
Alexandria Technical College
1601 Jefferson Street
Alexandria, MN 56308

[ View School Profile ]
",iconGr); Alexandria[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Alexandria Technical College",'Alexandria=' + Alexandria.length); tmpLatLng=new GLatLng(45.21245499999999850,-93.4124220000000065); tmpLen=Anoka.length; Anoka[tmpLen] = createMarker(tmpLatLng,"
Anoka Technical College
1355 W Hwy 10
Anoka, MN 55303

[ View School Profile ]
",iconGr); Anoka[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Anoka Technical College",'Anoka=' + Anoka.length); tmpLatLng=new GLatLng(45.17456500000000119,-93.3464299999999980); tmpLen=Coon_Rapids.length; Coon_Rapids[tmpLen] = createMarker(tmpLatLng,"
Anoka-ramsey Community College
11200 Mississippi Blvd. Nw
Coon Rapids, MN 55433

[ View School Profile ]
",iconGr); Coon_Rapids[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Anoka-ramsey Community College",'Coon_Rapids=' + Coon_Rapids.length); tmpLatLng=new GLatLng(44.83628499999999661,-93.1733930000000043); tmpLen=Eagan.length; Eagan[tmpLen] = createMarker(tmpLatLng,"
Argosy University-twin Cities Campus
1515 Central Parkway
Eagan, MN 55121

[ View School Profile ]
",iconRd); Eagan[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Argosy University-twin Cities Campus",'Eagan=' + Eagan.length); tmpLatLng=new GLatLng(44.97614500000000248,-93.2763319999999964); tmpLen=Minneapolis.length; Minneapolis[tmpLen] = createMarker(tmpLatLng,"
Art Institutes International Minnesota
15 S 9th St
Minneapolis, MN 55402

[ View School Profile ]
",iconRd); Minneapolis[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Art Institutes International Minnesota",'Minneapolis=' + Minneapolis.length); tmpLatLng=new GLatLng(44.86381399999999786,-93.1674809999999951); tmpLen=Mendota_Heights.length; Mendota_Heights[tmpLen] = createMarker(tmpLatLng,"
Brown College
1440 Northland Dr
Mendota Heights, MN 55120

[ View School Profile ]
",iconRd); Mendota_Heights[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Brown College",'Mendota_Heights=' + Mendota_Heights.length); tmpLatLng=new GLatLng(46.34745699999999857,-94.2134630000000043); tmpLen=Brainerd.length; Brainerd[tmpLen] = createMarker(tmpLatLng,"
Central Lakes College
501 West College Drive
Brainerd, MN 56401

[ View School Profile ]
",iconGr); Brainerd[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Central Lakes College",'Brainerd=' + Brainerd.length); tmpLatLng=new GLatLng(45.04954800000000148,-92.9846160000000026); tmpLen=White_Bear_Lake.length; White_Bear_Lake[tmpLen] = createMarker(tmpLatLng,"
Century Community And Technical College
3300 Century Ave N
White Bear Lake, MN 55110

[ View School Profile ]
",iconGr); White_Bear_Lake[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Century Community And Technical College",'White_Bear_Lake=' + White_Bear_Lake.length); tmpLatLng=new GLatLng(44.73899699999999768,-93.0716340000000030); tmpLen=Rosemount.length; Rosemount[tmpLen] = createMarker(tmpLatLng,"
Dakota County Technical College
1300 145th Street East
Rosemount, MN 55068

[ View School Profile ]
",iconGr); Rosemount[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Dakota County Technical College",'Rosemount=' + Rosemount.length); tmpLatLng=new GLatLng(46.74257000000000061,-92.1583389999999980); tmpLen=Dultuh.length; Dultuh[tmpLen] = createMarker(tmpLatLng,"
Duluth Business University
4724 Mike Colalillo Drive
Dultuh, MN 55807

[ View School Profile ]
",iconRd); Dultuh[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Duluth Business University",'Dultuh=' + Dultuh.length); tmpLatLng=new GLatLng(44.97216499999999683,-93.2897389999999973); tmpLen=Minneapolis.length; Minneapolis[tmpLen] = createMarker(tmpLatLng,"
Dunwoody College Of Technology
818 Dunwoody Blvd
Minneapolis, MN 55403

[ View School Profile ]
",iconRd); Minneapolis[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Dunwoody College Of Technology",'Minneapolis=' + Minneapolis.length); tmpLatLng=new GLatLng(44.96318200000000331,-92.9609760000000022); tmpLen=Oakdale.length; Oakdale[tmpLen] = createMarker(tmpLatLng,"
Globe College
7166 10th St N
Oakdale, MN 55128

[ View School Profile ]
",iconRd); Oakdale[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Globe College",'Oakdale=' + Oakdale.length); tmpLatLng=new GLatLng(45.09446499999999957,-93.3958549999999974); tmpLen=Brooklyn_Park.length; Brooklyn_Park[tmpLen] = createMarker(tmpLatLng,"
Hennepin Technical College
9000 Brooklyn Blvd
Brooklyn Park, MN 55445

[ View School Profile ]
",iconGr); Brooklyn_Park[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Hennepin Technical College",'Brooklyn_Park=' + Brooklyn_Park.length); tmpLatLng=new GLatLng(45.056628,-93.367829); tmpLen=Minneapolis.length; Minneapolis[tmpLen] = createMarker(tmpLatLng,"
Herzing College
5700 W Broadway
Minneapolis, MN 55428

[ View School Profile ]
",iconRd); Minneapolis[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Herzing College",'Minneapolis=' + Minneapolis.length); tmpLatLng=new GLatLng(47.42036099999999976,-92.9207719999999994); tmpLen=Hibbing.length; Hibbing[tmpLen] = createMarker(tmpLatLng,"
Hibbing Community College-a Technical And Community College
1515 E 25th St
Hibbing, MN 55746

[ View School Profile ]
",iconGr); Hibbing[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Hibbing Community College-a Technical And Community College",'Hibbing=' + Hibbing.length); tmpLatLng=new GLatLng(44.83348600000000061,-93.0548770000000047); tmpLen=Inver_Grove_Heights.length; Inver_Grove_Heights[tmpLen] = createMarker(tmpLatLng,"
Inver Hills Community College
2500 80th St E
Inver Grove Heights, MN 55076

[ View School Profile ]
",iconGr); Inver_Grove_Heights[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Inver Hills Community College",'Inver_Grove_Heights=' + Inver_Grove_Heights.length); tmpLatLng=new GLatLng(47.23691199999999668,-93.5283129999999971); tmpLen=Grand_Rapids.length; Grand_Rapids[tmpLen] = createMarker(tmpLatLng,"
Itasca Community College
1851 Hwy 169 E
Grand Rapids, MN 55744

[ View School Profile ]
",iconGr); Grand_Rapids[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Itasca Community College",'Grand_Rapids=' + Grand_Rapids.length); tmpLatLng=new GLatLng(46.77941700000000224,-92.1398200000000002); tmpLen=Duluth.length; Duluth[tmpLen] = createMarker(tmpLatLng,"
Lake Superior College
2101 Trinity Rd
Duluth, MN 55811

[ View School Profile ]
",iconGr); Duluth[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Lake Superior College",'Duluth=' + Duluth.length); tmpLatLng=new GLatLng(44.94905700000000337,-93.0974159999999955); tmpLen=Saint_Paul.length; Saint_Paul[tmpLen] = createMarker(tmpLatLng,"
Mcnally Smith College Of Music
19 Exchange Street East
Saint Paul, MN 55101

[ View School Profile ]
",iconRd); Saint_Paul[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Mcnally Smith College Of Music",'Saint_Paul=' + Saint_Paul.length); tmpLatLng=new GLatLng(47.47796000000000304,-92.5265930000000054); tmpLen=Eveleth.length; Eveleth[tmpLen] = createMarker(tmpLatLng,"
Mesabi Range Community And Technical College
1100 Industrial Park Dr
Eveleth, MN 55734

[ View School Profile ]
",iconGr); Eveleth[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Mesabi Range Community And Technical College",'Eveleth=' + Eveleth.length); tmpLatLng=new GLatLng(45.00633700000000203,-93.1717500000000029); tmpLen=Roseville.length; Roseville[tmpLen] = createMarker(tmpLatLng,"
Minneapolis Business College
1711 W County Rd B
Roseville, MN 55113

[ View School Profile ]
",iconRd); Roseville[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minneapolis Business College",'Roseville=' + Roseville.length); tmpLatLng=new GLatLng(44.97326499999999782,-93.2842250000000063); tmpLen=Minneapolis.length; Minneapolis[tmpLen] = createMarker(tmpLatLng,"
Minneapolis Community And Technical College
1501 Hennepin Ave
Minneapolis, MN 55403

[ View School Profile ]
",iconGr); Minneapolis[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minneapolis Community And Technical College",'Minneapolis=' + Minneapolis.length); tmpLatLng=new GLatLng(44.86527999999999849,-93.2975110000000000); tmpLen=Richfield.length; Richfield[tmpLen] = createMarker(tmpLatLng,"
Minnesota School Of Business
1401 W 76 St
Richfield, MN 55423

[ View School Profile ]
",iconRd); Richfield[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota School Of Business",'Richfield=' + Richfield.length); tmpLatLng=new GLatLng(45.06272400000000288,-93.3113989999999944); tmpLen=Brooklyn_Center.length; Brooklyn_Center[tmpLen] = createMarker(tmpLatLng,"
Minnesota School Of Business-brooklyn Center
5910 Shingle Creek Pky
Brooklyn Center, MN 55430

[ View School Profile ]
",iconRd); Brooklyn_Center[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota School Of Business-brooklyn Center",'Brooklyn_Center=' + Brooklyn_Center.length); tmpLatLng=new GLatLng(44.02051699999999812,-91.6160679999999985); tmpLen=Winona.length; Winona[tmpLen] = createMarker(tmpLatLng,"
Minnesota State College-southeast Technical-winona
1250 Homer Rd
Winona, MN 55987

[ View School Profile ]
",iconGr); Winona[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota State College-southeast Technical-winona",'Winona=' + Winona.length); tmpLatLng=new GLatLng(46.82583699999999993,-95.8323979999999977); tmpLen=Detroit_Lakes.length; Detroit_Lakes[tmpLen] = createMarker(tmpLatLng,"
Minnesota State Community And Technical College
900 Hwy 34 E
Detroit Lakes, MN 56501

[ View School Profile ]
",iconGr); Detroit_Lakes[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota State Community And Technical College",'Detroit_Lakes=' + Detroit_Lakes.length); tmpLatLng=new GLatLng(46.28603799999999779,-96.0988679999999959); tmpLen=Fergus_Falls.length; Fergus_Falls[tmpLen] = createMarker(tmpLatLng,"
Minnesota State Community And Technical College
1414 College Way
Fergus Falls, MN 56537

[ View School Profile ]
",iconGr); Fergus_Falls[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota State Community And Technical College",'Fergus_Falls=' + Fergus_Falls.length); tmpLatLng=new GLatLng(44.80831500000000033,-95.5617689999999981); tmpLen=Granite_Falls.length; Granite_Falls[tmpLen] = createMarker(tmpLatLng,"
Minnesota West Community And Technical College
1593 11th Ave
Granite Falls, MN 56241

[ View School Profile ]
",iconGr); Granite_Falls[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Minnesota West Community And Technical College",'Granite_Falls=' + Granite_Falls.length); tmpLatLng=new GLatLng(44.82896600000000120,-93.3293249999999972); tmpLen=Bloomington.length; Bloomington[tmpLen] = createMarker(tmpLatLng,"
Normandale Community College
9700 France Ave S
Bloomington, MN 55431

[ View School Profile ]
",iconGr); Bloomington[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Normandale Community College",'Bloomington=' + Bloomington.length); tmpLatLng=new GLatLng(45.10892900000000338,-93.3759639999999961); tmpLen=Brooklyn_Park.length; Brooklyn_Park[tmpLen] = createMarker(tmpLatLng,"
North Hennepin Community College
7411 85th Ave N
Brooklyn Park, MN 55445

[ View School Profile ]
",iconGr); Brooklyn_Park[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("North Hennepin Community College",'Brooklyn_Park=' + Brooklyn_Park.length); tmpLatLng=new GLatLng(48.11809900000000084,-96.1815569999999979); tmpLen=Thief_River_Falls.length; Thief_River_Falls[tmpLen] = createMarker(tmpLatLng,"
Northland Community And Technical College
1101 Hwy 1 East
Thief River Falls, MN 56701

[ View School Profile ]
",iconGr); Thief_River_Falls[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Northland Community And Technical College",'Thief_River_Falls=' + Thief_River_Falls.length); tmpLatLng=new GLatLng(44.85634999999999905,-93.4304860000000019); tmpLen=Eagan.length; Eagan[tmpLen] = createMarker(tmpLatLng,"
Northwest Technical Institute
950 Blue Gentian Road, Suite500
Eagan, MN 55121

[ View School Profile ]
",iconRd); Eagan[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Northwest Technical Institute",'Eagan=' + Eagan.length); tmpLatLng=new GLatLng(45.81916700000000020,-92.9691949999999991); tmpLen=Pine_City.length; Pine_City[tmpLen] = createMarker(tmpLatLng,"
Pine Technical College
900 4th St. Se
Pine City, MN 55063

[ View School Profile ]
",iconGr); Pine_City[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Pine Technical College",'Pine_City=' + Pine_City.length); tmpLatLng=new GLatLng(48.59554599999999879,-93.4273649999999946); tmpLen=International_Falls.length; International_Falls[tmpLen] = createMarker(tmpLatLng,"
Rainy River Community College
1501 Hwy 71
International Falls, MN 56649

[ View School Profile ]
",iconGr); International_Falls[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rainy River Community College",'International_Falls=' + International_Falls.length); tmpLatLng=new GLatLng(44.82847600000000198,-93.1722900000000038); tmpLen=Eagan.length; Eagan[tmpLen] = createMarker(tmpLatLng,"
Rasmussen College-eagan
3500 Federal Dr
Eagan, MN 55122

[ View School Profile ]
",iconRd); Eagan[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rasmussen College-eagan",'Eagan=' + Eagan.length); tmpLatLng=new GLatLng(44.97128699999999668,-93.4351670000000069); tmpLen=Eden_Prairie.length; Eden_Prairie[tmpLen] = createMarker(tmpLatLng,"
Rasmussen College-eden Prairie
7905 Golden Triangle Drive 100
Eden Prairie, MN 55344

[ View School Profile ]
",iconRd); Eden_Prairie[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rasmussen College-eden Prairie",'Eden_Prairie=' + Eden_Prairie.length); tmpLatLng=new GLatLng(44.16570899999999966,-93.9693070000000005); tmpLen=Mankato.length; Mankato[tmpLen] = createMarker(tmpLatLng,"
Rasmussen College-mankato
501 Holly Ln
Mankato, MN 56001

[ View School Profile ]
",iconRd); Mankato[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rasmussen College-mankato",'Mankato=' + Mankato.length); tmpLatLng=new GLatLng(45.58346600000000137,-94.1878690000000062); tmpLen=Saint_Cloud.length; Saint_Cloud[tmpLen] = createMarker(tmpLatLng,"
Rasmussen College-st Cloud
226 Park Ave S
Saint Cloud, MN 56303

[ View School Profile ]
",iconRd); Saint_Cloud[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rasmussen College-st Cloud",'Saint_Cloud=' + Saint_Cloud.length); tmpLatLng=new GLatLng(45.13942399999999821,-95.0725819999999970); tmpLen=Willmar.length; Willmar[tmpLen] = createMarker(tmpLatLng,"
Ridgewater College
2101 15th Ave Nw
Willmar, MN 56201

[ View School Profile ]
",iconGr); Willmar[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Ridgewater College",'Willmar=' + Willmar.length); tmpLatLng=new GLatLng(43.67393700000000222,-93.0003710000000012); tmpLen=Austin.length; Austin[tmpLen] = createMarker(tmpLatLng,"
Riverland Community College
1900 8th Ave Nw
Austin, MN 55912

[ View School Profile ]
",iconGr); Austin[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Riverland Community College",'Austin=' + Austin.length); tmpLatLng=new GLatLng(44.01219700000000045,-92.4189930000000003); tmpLen=Rochester.length; Rochester[tmpLen] = createMarker(tmpLatLng,"
Rochester Community And Technical College
851 30th Ave Se
Rochester, MN 55904

[ View School Profile ]
",iconGr); Rochester[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Rochester Community And Technical College",'Rochester=' + Rochester.length); tmpLatLng=new GLatLng(45.57853399999999766,-94.1818350000000066); tmpLen=Saint_Cloud.length; Saint_Cloud[tmpLen] = createMarker(tmpLatLng,"
Saint Cloud Technical College
1540 Northway Drive
Saint Cloud, MN 56303

[ View School Profile ]
",iconGr); Saint_Cloud[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Saint Cloud Technical College",'Saint_Cloud=' + Saint_Cloud.length); tmpLatLng=new GLatLng(44.94789699999999754,-93.1092150000000060); tmpLen=Saint_Paul.length; Saint_Paul[tmpLen] = createMarker(tmpLatLng,"
Saint Paul College - A Community And Technical Col
235 Marshall Ave
Saint Paul, MN 55102

[ View School Profile ]
",iconGr); Saint_Paul[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Saint Paul College - A Community And Technical Col",'Saint_Paul=' + Saint_Paul.length); tmpLatLng=new GLatLng(44.17330499999999915,-94.0446879999999936); tmpLen=North_Mankato.length; North_Mankato[tmpLen] = createMarker(tmpLatLng,"
South Central College
1920 Lee Blvd
North Mankato, MN 56003

[ View School Profile ]
",iconGr); North_Mankato[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("South Central College",'North_Mankato=' + North_Mankato.length); tmpLatLng=new GLatLng(47.90412200000000098,-91.8381909999999948); tmpLen=Ely.length; Ely[tmpLen] = createMarker(tmpLatLng,"
Vermilion Community College
1900 E Camp Street
Ely, MN 55731

[ View School Profile ]
",iconGr); Ely[tmpLen].point = tmpLatLng; mySelect.options[mySelect.options.length] = new Option("Vermilion Community College",'Ely=' + Ely.length); map.removeOverlays(Alexandria); map.removeOverlays(Anoka); map.removeOverlays(Austin); map.removeOverlays(Bloomington); map.removeOverlays(Brainerd); map.removeOverlays(Brooklyn_Center); map.removeOverlays(Brooklyn_Park); map.removeOverlays(Coon_Rapids); map.removeOverlays(Detroit_Lakes); map.removeOverlays(Dultuh); map.removeOverlays(Duluth); map.removeOverlays(Eagan); map.removeOverlays(Eden_Prairie); map.removeOverlays(Ely); map.removeOverlays(Eveleth); map.removeOverlays(Fergus_Falls); map.removeOverlays(Grand_Rapids); map.removeOverlays(Granite_Falls); map.removeOverlays(Hibbing); map.removeOverlays(International_Falls); map.removeOverlays(Inver_Grove_Heights); map.removeOverlays(Mankato); map.removeOverlays(Mendota_Heights); map.removeOverlays(Minneapolis); map.removeOverlays(North_Mankato); map.removeOverlays(Oakdale); map.removeOverlays(Pine_City); map.removeOverlays(Richfield); map.removeOverlays(Rochester); map.removeOverlays(Rosemount); map.removeOverlays(Roseville); map.removeOverlays(Saint_Cloud); map.removeOverlays(Saint_Paul); map.removeOverlays(Thief_River_Falls); map.removeOverlays(White_Bear_Lake); map.removeOverlays(Willmar); map.removeOverlays(Winona); setTimeout(function(){map.addOverlays(Alexandria)},1000); setTimeout(function(){map.addOverlays(Anoka)},1000); setTimeout(function(){map.addOverlays(Austin)},1000); setTimeout(function(){map.addOverlays(Bloomington)},1000); setTimeout(function(){map.addOverlays(Brainerd)},1000); setTimeout(function(){map.addOverlays(Brooklyn_Center)},1000); setTimeout(function(){map.addOverlays(Brooklyn_Park)},1000); setTimeout(function(){map.addOverlays(Coon_Rapids)},1000); setTimeout(function(){map.addOverlays(Detroit_Lakes)},1000); setTimeout(function(){map.addOverlays(Dultuh)},1000); setTimeout(function(){map.addOverlays(Duluth)},1000); setTimeout(function(){map.addOverlays(Eagan)},1000); setTimeout(function(){map.addOverlays(Eden_Prairie)},1000); setTimeout(function(){map.addOverlays(Ely)},1000); setTimeout(function(){map.addOverlays(Eveleth)},1000); setTimeout(function(){map.addOverlays(Fergus_Falls)},1000); setTimeout(function(){map.addOverlays(Grand_Rapids)},1000); setTimeout(function(){map.addOverlays(Granite_Falls)},1000); setTimeout(function(){map.addOverlays(Hibbing)},1000); setTimeout(function(){map.addOverlays(International_Falls)},1000); setTimeout(function(){map.addOverlays(Inver_Grove_Heights)},1000); setTimeout(function(){map.addOverlays(Mankato)},1000); setTimeout(function(){map.addOverlays(Mendota_Heights)},1000); setTimeout(function(){map.addOverlays(Minneapolis)},1000); setTimeout(function(){map.addOverlays(North_Mankato)},1000); setTimeout(function(){map.addOverlays(Oakdale)},1000); setTimeout(function(){map.addOverlays(Pine_City)},1000); setTimeout(function(){map.addOverlays(Richfield)},1000); setTimeout(function(){map.addOverlays(Rochester)},1000); setTimeout(function(){map.addOverlays(Rosemount)},1000); setTimeout(function(){map.addOverlays(Roseville)},1000); setTimeout(function(){map.addOverlays(Saint_Cloud)},1000); setTimeout(function(){map.addOverlays(Saint_Paul)},1000); setTimeout(function(){map.addOverlays(Thief_River_Falls)},1000); setTimeout(function(){map.addOverlays(White_Bear_Lake)},1000); setTimeout(function(){map.addOverlays(Willmar)},1000); setTimeout(function(){map.addOverlays(Winona)},1000); getPoly("","state","","MN");} // End addStateMarkers JavaScript Function //open all when map is defined function openAll() { if (map) { selectChange("all"); } else { setTimeout("openAll()",200); } } // 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].point.x; var markLat = myArray[i].point.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].point.x; maxLat = myArray[0].point.y; minLng = myArray[0].point.x; minLat = myArray[0].point.y; } // Recenter map based on global max/mins function reCenterMap(){ //alert('#' + minLat + '#' + minLng + '#' + maxLat + '#' + maxLng); 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) { if (selection.options) { var _openNewWindow=true; var myVal = selection.options[selection.selectedIndex].value; } else { var _openNewWindow=false; var myVal=selection; } 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('schools-by-distance') == -1) window.open(location.href + '/map/all'); else window.open('/search////all'); map.removeOverlays(Alexandria); map.removeOverlays(Anoka); map.removeOverlays(Austin); map.removeOverlays(Bloomington); map.removeOverlays(Brainerd); map.removeOverlays(Brooklyn_Center); map.removeOverlays(Brooklyn_Park); map.removeOverlays(Coon_Rapids); map.removeOverlays(Detroit_Lakes); map.removeOverlays(Dultuh); map.removeOverlays(Duluth); map.removeOverlays(Eagan); map.removeOverlays(Eden_Prairie); map.removeOverlays(Ely); map.removeOverlays(Eveleth); map.removeOverlays(Fergus_Falls); map.removeOverlays(Grand_Rapids); map.removeOverlays(Granite_Falls); map.removeOverlays(Hibbing); map.removeOverlays(International_Falls); map.removeOverlays(Inver_Grove_Heights); map.removeOverlays(Mankato); map.removeOverlays(Mendota_Heights); map.removeOverlays(Minneapolis); map.removeOverlays(North_Mankato); map.removeOverlays(Oakdale); map.removeOverlays(Pine_City); map.removeOverlays(Richfield); map.removeOverlays(Rochester); map.removeOverlays(Rosemount); map.removeOverlays(Roseville); map.removeOverlays(Saint_Cloud); map.removeOverlays(Saint_Paul); map.removeOverlays(Thief_River_Falls); map.removeOverlays(White_Bear_Lake); map.removeOverlays(Willmar); map.removeOverlays(Winona); 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(Minneapolis);map.removeOverlays(Alexandria); map.removeOverlays(Anoka); map.removeOverlays(Austin); map.removeOverlays(Bloomington); map.removeOverlays(Brainerd); map.removeOverlays(Brooklyn_Center); map.removeOverlays(Brooklyn_Park); map.removeOverlays(Coon_Rapids); map.removeOverlays(Detroit_Lakes); map.removeOverlays(Dultuh); map.removeOverlays(Duluth); map.removeOverlays(Eagan); map.removeOverlays(Eden_Prairie); map.removeOverlays(Ely); map.removeOverlays(Eveleth); map.removeOverlays(Fergus_Falls); map.removeOverlays(Grand_Rapids); map.removeOverlays(Granite_Falls); map.removeOverlays(Hibbing); map.removeOverlays(International_Falls); map.removeOverlays(Inver_Grove_Heights); map.removeOverlays(Mankato); map.removeOverlays(Mendota_Heights); map.removeOverlays(Minneapolis); map.removeOverlays(North_Mankato); map.removeOverlays(Oakdale); map.removeOverlays(Pine_City); map.removeOverlays(Richfield); map.removeOverlays(Rochester); map.removeOverlays(Rosemount); map.removeOverlays(Roseville); map.removeOverlays(Saint_Cloud); map.removeOverlays(Saint_Paul); map.removeOverlays(Thief_River_Falls); map.removeOverlays(White_Bear_Lake); map.removeOverlays(Willmar); map.removeOverlays(Winona); map.addOverlays(Alexandria); centerByArray(Alexandria, false, false); cntMarker += Alexandria.length; map.addOverlays(Anoka); centerByArray(Anoka, false, false); cntMarker += Anoka.length; map.addOverlays(Austin); centerByArray(Austin, false, false); cntMarker += Austin.length; map.addOverlays(Bloomington); centerByArray(Bloomington, false, false); cntMarker += Bloomington.length; map.addOverlays(Brainerd); centerByArray(Brainerd, false, false); cntMarker += Brainerd.length; map.addOverlays(Brooklyn_Center); centerByArray(Brooklyn_Center, false, false); cntMarker += Brooklyn_Center.length; map.addOverlays(Brooklyn_Park); centerByArray(Brooklyn_Park, false, false); cntMarker += Brooklyn_Park.length; map.addOverlays(Coon_Rapids); centerByArray(Coon_Rapids, false, false); cntMarker += Coon_Rapids.length; map.addOverlays(Detroit_Lakes); centerByArray(Detroit_Lakes, false, false); cntMarker += Detroit_Lakes.length; map.addOverlays(Dultuh); centerByArray(Dultuh, false, false); cntMarker += Dultuh.length; map.addOverlays(Duluth); centerByArray(Duluth, false, false); cntMarker += Duluth.length; map.addOverlays(Eagan); centerByArray(Eagan, false, false); cntMarker += Eagan.length; map.addOverlays(Eden_Prairie); centerByArray(Eden_Prairie, false, false); cntMarker += Eden_Prairie.length; map.addOverlays(Ely); centerByArray(Ely, false, false); cntMarker += Ely.length; map.addOverlays(Eveleth); centerByArray(Eveleth, false, false); cntMarker += Eveleth.length; map.addOverlays(Fergus_Falls); centerByArray(Fergus_Falls, false, false); cntMarker += Fergus_Falls.length; map.addOverlays(Grand_Rapids); centerByArray(Grand_Rapids, false, false); cntMarker += Grand_Rapids.length; map.addOverlays(Granite_Falls); centerByArray(Granite_Falls, false, false); cntMarker += Granite_Falls.length; map.addOverlays(Hibbing); centerByArray(Hibbing, false, false); cntMarker += Hibbing.length; map.addOverlays(International_Falls); centerByArray(International_Falls, false, false); cntMarker += International_Falls.length; map.addOverlays(Inver_Grove_Heights); centerByArray(Inver_Grove_Heights, false, false); cntMarker += Inver_Grove_Heights.length; map.addOverlays(Mankato); centerByArray(Mankato, false, false); cntMarker += Mankato.length; map.addOverlays(Mendota_Heights); centerByArray(Mendota_Heights, false, false); cntMarker += Mendota_Heights.length; map.addOverlays(Minneapolis); centerByArray(Minneapolis, false, false); cntMarker += Minneapolis.length; map.addOverlays(North_Mankato); centerByArray(North_Mankato, false, false); cntMarker += North_Mankato.length; map.addOverlays(Oakdale); centerByArray(Oakdale, false, false); cntMarker += Oakdale.length; map.addOverlays(Pine_City); centerByArray(Pine_City, false, false); cntMarker += Pine_City.length; map.addOverlays(Richfield); centerByArray(Richfield, false, false); cntMarker += Richfield.length; map.addOverlays(Rochester); centerByArray(Rochester, false, false); cntMarker += Rochester.length; map.addOverlays(Rosemount); centerByArray(Rosemount, false, false); cntMarker += Rosemount.length; map.addOverlays(Roseville); centerByArray(Roseville, false, false); cntMarker += Roseville.length; map.addOverlays(Saint_Cloud); centerByArray(Saint_Cloud, false, false); cntMarker += Saint_Cloud.length; map.addOverlays(Saint_Paul); centerByArray(Saint_Paul, false, false); cntMarker += Saint_Paul.length; map.addOverlays(Thief_River_Falls); centerByArray(Thief_River_Falls, false, false); cntMarker += Thief_River_Falls.length; map.addOverlays(White_Bear_Lake); centerByArray(White_Bear_Lake, false, false); cntMarker += White_Bear_Lake.length; map.addOverlays(Willmar); centerByArray(Willmar, false, false); cntMarker += Willmar.length; map.addOverlays(Winona); centerByArray(Winona, false, false); cntMarker += Winona.length; reCenterMap(); //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'); } } function createMarker(point, label, icon){ var marker = new GMarker(point, icon); var html = label; GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; }