function addMarkers()
{
mySelect = document.getElementById('selection');
Adelphi = [];Temple_Hills = [];Forestville = [];Bladensburg = [];Fort_Washington = [];Landover = [];Upper_Marlboro = [];Auburn_Hills = [];Brandywine = [];Oxon_Hill = [];Riverdale = [];Beltsville = [];Morningside = [];Bowie = [];Benton_Harbor = [];Birch_Run = [];Laurel = [];Capitol_Heights = [];Mitchellville = [];Takoma_Park = [];New_Carrollton = [];Lanham = [];Hyattsville = [];Springdale = [];Clinton = [];District_Heights = [];Landover_Hills = [];Suitland = [];Greenbelt = [];Accokeek = [];Seabrook = [];Cheverly = [];Glenarden = [];Glenn_Dale = [];College_Park = [];Ft_Washington = [];Mt_Rainier = [];Largo = [];Cheltenham = [];Seat_Pleasant = [];mySelect.options[mySelect.options.length] = new Option("Accokeek schools",'all=Accokeek');
mySelect.options[mySelect.options.length] = new Option("Adelphi schools",'all=Adelphi');
mySelect.options[mySelect.options.length] = new Option("Auburn Hills schools",'all=Auburn_Hills');
mySelect.options[mySelect.options.length] = new Option("Beltsville schools",'all=Beltsville');
mySelect.options[mySelect.options.length] = new Option("Benton Harbor schools",'all=Benton_Harbor');
mySelect.options[mySelect.options.length] = new Option("Birch Run schools",'all=Birch_Run');
mySelect.options[mySelect.options.length] = new Option("Bladensburg schools",'all=Bladensburg');
mySelect.options[mySelect.options.length] = new Option("Bowie schools",'all=Bowie');
mySelect.options[mySelect.options.length] = new Option("Brandywine schools",'all=Brandywine');
mySelect.options[mySelect.options.length] = new Option("Capitol Heights schools",'all=Capitol_Heights');
mySelect.options[mySelect.options.length] = new Option("Cheltenham schools",'all=Cheltenham');
mySelect.options[mySelect.options.length] = new Option("Cheverly schools",'all=Cheverly');
mySelect.options[mySelect.options.length] = new Option("Clinton schools",'all=Clinton');
mySelect.options[mySelect.options.length] = new Option("College Park schools",'all=College_Park');
mySelect.options[mySelect.options.length] = new Option("District Heights schools",'all=District_Heights');
mySelect.options[mySelect.options.length] = new Option("Forestville schools",'all=Forestville');
mySelect.options[mySelect.options.length] = new Option("Fort Washington schools",'all=Fort_Washington');
mySelect.options[mySelect.options.length] = new Option("Ft Washington schools",'all=Ft_Washington');
mySelect.options[mySelect.options.length] = new Option("Glenarden schools",'all=Glenarden');
mySelect.options[mySelect.options.length] = new Option("Glenn Dale schools",'all=Glenn_Dale');
mySelect.options[mySelect.options.length] = new Option("Greenbelt schools",'all=Greenbelt');
mySelect.options[mySelect.options.length] = new Option("Hyattsville schools",'all=Hyattsville');
mySelect.options[mySelect.options.length] = new Option("Landover schools",'all=Landover');
mySelect.options[mySelect.options.length] = new Option("Landover Hills schools",'all=Landover_Hills');
mySelect.options[mySelect.options.length] = new Option("Lanham schools",'all=Lanham');
mySelect.options[mySelect.options.length] = new Option("Largo schools",'all=Largo');
mySelect.options[mySelect.options.length] = new Option("Laurel schools",'all=Laurel');
mySelect.options[mySelect.options.length] = new Option("Mitchellville schools",'all=Mitchellville');
mySelect.options[mySelect.options.length] = new Option("Morningside schools",'all=Morningside');
mySelect.options[mySelect.options.length] = new Option("Mt Rainier schools",'all=Mt_Rainier');
mySelect.options[mySelect.options.length] = new Option("New Carrollton schools",'all=New_Carrollton');
mySelect.options[mySelect.options.length] = new Option("Oxon Hill schools",'all=Oxon_Hill');
mySelect.options[mySelect.options.length] = new Option("Riverdale schools",'all=Riverdale');
mySelect.options[mySelect.options.length] = new Option("Seabrook schools",'all=Seabrook');
mySelect.options[mySelect.options.length] = new Option("Seat Pleasant schools",'all=Seat_Pleasant');
mySelect.options[mySelect.options.length] = new Option("Springdale schools",'all=Springdale');
mySelect.options[mySelect.options.length] = new Option("Suitland schools",'all=Suitland');
mySelect.options[mySelect.options.length] = new Option("Takoma Park schools",'all=Takoma_Park');
mySelect.options[mySelect.options.length] = new Option("Temple Hills schools",'all=Temple_Hills');
mySelect.options[mySelect.options.length] = new Option("Upper Marlboro schools",'all=Upper_Marlboro');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Adelphi[Adelphi.length] = createMarker(new GPoint(-76.97259521,39.00049210),"
",iconRd);
mySelect.options[mySelect.options.length] = new Option("Adelphi Elementary School",'Adelphi=' + Adelphi.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.94855200,38.82381700),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Allenwood Elementary School",'Temple_Hills=' + Temple_Hills.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.90788269,38.84297180),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Andrew Jackson Middle School",'Forestville=' + Forestville.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.92880249,38.94100189),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Annapolis Road Middle School",'Bladensburg=' + Bladensburg.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.96374512,38.78933716),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Apple Grove Elementary School",'Fort_Washington=' + Fort_Washington.length);
Landover[Landover.length] = createMarker(new GPoint(-76.88269806,38.91989899),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ardmore Elementary School",'Landover=' + Landover.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.84323883,38.85723495),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arrowhead Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.94371033,38.79054260),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Avalon Elementary School",'Fort_Washington=' + Fort_Washington.length);
Auburn_Hills[Auburn_Hills.length] = createMarker(new GPoint(-83.22982025,42.63006973),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Avondale Community Education",'Auburn_Hills=' + Auburn_Hills.length);
Brandywine[Brandywine.length] = createMarker(new GPoint(-76.81580353,38.67409897),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Baden Elementary School",'Brandywine=' + Brandywine.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99220276,38.80680084),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Barnaby Manor Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Riverdale[Riverdale.length] = createMarker(new GPoint(-76.89944458,38.95782852),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beacon Heights Elementary School",'Riverdale=' + Riverdale.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.91912800,39.03518100),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beltsville Elementary School",'Beltsville=' + Beltsville.length);
Morningside[Morningside.length] = createMarker(new GPoint(-76.88792419,38.82638550),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Benjamin D. Foulois Elementary School",'Morningside=' + Morningside.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.94219971,38.82160187),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Benjamin Stoddert Middle School",'Temple_Hills=' + Temple_Hills.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.74504089,38.95633698),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Benjamin Tasker Middle School",'Bowie=' + Bowie.length);
Benton_Harbor[Benton_Harbor.length] = createMarker(new GPoint(-86.46639252,42.11344910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Benton Harbor Creative Learning Center",'Benton_Harbor=' + Benton_Harbor.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.88960266,38.85329819),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Berkshire Elementary School",'Forestville=' + Forestville.length);
Birch_Run[Birch_Run.length] = createMarker(new GPoint(-83.79222107,43.25142670),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Birch Run Preschool",'Birch_Run=' + Birch_Run.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.92880249,38.94100189),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bladensburg Elementary School",'Bladensburg=' + Bladensburg.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.92098236,38.94247818),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Bladensburg Evening High School",'Bladensburg=' + Bladensburg.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.74474335,38.97142029),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Bladensburg High School",'Bladensburg=' + Bladensburg.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.89593506,39.10860443),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bond Mill Elementary School",'Laurel=' + Laurel.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.74283600,38.97704697),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Bowie High School",'Bowie=' + Bowie.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.92786407,38.87067413),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bradbury Heights Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Brandywine[Brandywine.length] = createMarker(new GPoint(-76.85557556,38.69717407),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brandywine Elementary School",'Brandywine=' + Brandywine.length);
Adelphi[Adelphi.length] = createMarker(new GPoint(-76.96186066,39.01397324),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Buck Lodge Middle School",'Adelphi=' + Adelphi.length);
Mitchellville[Mitchellville.length] = createMarker(new GPoint(-76.73601532,38.92059326),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("C. Elizabeth Rieg Regional Center",'Mitchellville=' + Mitchellville.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.93781281,39.05563354),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Calverton Elementary School",'Beltsville=' + Beltsville.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.90409851,38.88560104),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Capitol Heights Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99448395,38.80278397),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Carmody Hills Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Takoma_Park[Takoma_Park.length] = createMarker(new GPoint(-76.98376465,38.98278809),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Carole Highlands Elementary School",'Takoma_Park=' + Takoma_Park.length);
New_Carrollton[New_Carrollton.length] = createMarker(new GPoint(-76.87549591,38.96736908),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Carrollton Elementary School",'New_Carrollton=' + New_Carrollton.length);
Lanham[Lanham.length] = createMarker(new GPoint(-76.84293365,38.99198532),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Catherine T. Reed Elementary School",'Lanham=' + Lanham.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.89180756,38.88546371),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Central High School",'Capitol_Heights=' + Capitol_Heights.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.98321533,38.96977234),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cesar Chavez Elementary School",'Hyattsville=' + Hyattsville.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.73824310,38.98617172),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chapel Forge Early Childhood Center",'Bowie=' + Bowie.length);
New_Carrollton[New_Carrollton.length] = createMarker(new GPoint(-76.88031769,38.96965027),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Charles Carroll Middle School",'New_Carrollton=' + New_Carrollton.length);
Springdale[Springdale.length] = createMarker(new GPoint(-76.85516357,38.93648529),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Charles Herbert Flowers High School",'Springdale=' + Springdale.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.82140350,38.75991058),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cheltenham Forest Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Adelphi[Adelphi.length] = createMarker(new GPoint(-76.96325684,39.00589752),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cherokee Lane Elementary School",'Adelphi=' + Adelphi.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.96549988,38.96350098),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chillum Elementary School",'Hyattsville=' + Hyattsville.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.92275238,38.76036072),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clinton Grove Elementary School",'Clinton=' + Clinton.length);
Landover[Landover.length] = createMarker(new GPoint(-76.88774872,38.91606903),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Columbia Park Elementary School",'Landover=' + Landover.length);
District_Heights[District_Heights.length] = createMarker(new GPoint(-76.90672302,38.86371231),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Concord Elementary School",'District_Heights=' + District_Heights.length);
Adelphi[Adelphi.length] = createMarker(new GPoint(-76.97226715,39.00178528),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cool Spring Elementary School",'Adelphi=' + Adelphi.length);
Landover_Hills[Landover_Hills.length] = createMarker(new GPoint(-76.90046692,38.93773270),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cooper Lane Elementary School",'Landover_Hills=' + Landover_Hills.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.73448944,38.77052307),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Croom Vocational High School",'Upper_Marlboro=' + Upper_Marlboro.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.92850494,38.79518127),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Crossland Evening High School",'Temple_Hills=' + Temple_Hills.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.92850494,38.79518127),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Crossland High School",'Temple_Hills=' + Temple_Hills.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.84367371,39.07044220),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Deerfield Run Elementary School",'Laurel=' + Laurel.length);
District_Heights[District_Heights.length] = createMarker(new GPoint(-76.88960266,38.85329819),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("District Heights Elementary School",'District_Heights=' + District_Heights.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.90409851,38.88560104),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Doswell E. Brooks Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.91780090,38.83720016),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Drew Freeman Middle School",'Suitland=' + Suitland.length);
Lanham[Lanham.length] = createMarker(new GPoint(-76.83631897,38.98924255),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Duval High School",'Lanham=' + Lanham.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.85592651,39.07996750),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Dwight D. Eisenhower Middle School",'Laurel=' + Laurel.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.93248749,38.86382294),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edgar Allan Poe Elementary School",'Suitland=' + Suitland.length);
Greenbelt[Greenbelt.length] = createMarker(new GPoint(-76.88189697,38.99909973),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Eleanor Roosevelt High School",'Greenbelt=' + Greenbelt.length);
Mitchellville[Mitchellville.length] = createMarker(new GPoint(-76.79769897,38.91519928),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ernest Everett Just Middle School",'Mitchellville=' + Mitchellville.length);
Accokeek[Accokeek.length] = createMarker(new GPoint(-77.01959991,38.66699982),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Eugene Burroughs Middle School",'Accokeek=' + Accokeek.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.91984558,38.90922165),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fairmont Heights High School",'Capitol_Heights=' + Capitol_Heights.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99220276,38.80680084),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Flintstone Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-77.00192261,38.81570816),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Forest Heights Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.88576508,38.83739853),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Forestville High School",'Forestville=' + Forestville.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-77.00096700,38.74015800),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fort Foote Elementary School",'Fort_Washington=' + Fort_Washington.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.98588562,38.70846558),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fort Washington Forest Elementary School",'Fort_Washington=' + Fort_Washington.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.90899658,39.04320145),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frances Fuchs Early Childhood Center",'Beltsville=' + Beltsville.length);
District_Heights[District_Heights.length] = createMarker(new GPoint(-76.90179443,38.86065292),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Francis Scott Key Elementary School",'District_Heights=' + District_Heights.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.89150238,38.78387070),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Francis T. Evans Elementary School",'Clinton=' + Clinton.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.77430725,38.78000259),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Frederick Douglass High School",'Upper_Marlboro=' + Upper_Marlboro.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.96846771,38.75384521),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Friendly High School",'Fort_Washington=' + Fort_Washington.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.96762848,38.83469391),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("G. Gardner Shugart Middle School",'Temple_Hills=' + Temple_Hills.length);
Auburn_Hills[Auburn_Hills.length] = createMarker(new GPoint(-83.22982025,42.63006973),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gateway Montessori Kindergarten",'Auburn_Hills=' + Auburn_Hills.length);
Seabrook[Seabrook.length] = createMarker(new GPoint(-76.85240173,38.96409988),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gaywood Elementary School",'Seabrook=' + Seabrook.length);
Cheverly[Cheverly.length] = createMarker(new GPoint(-76.90627289,38.93124771),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gladys N. Spellman Elementary School",'Cheverly=' + Cheverly.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99087524,38.81761551),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glassmanor Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Glenarden[Glenarden.length] = createMarker(new GPoint(-76.86796570,38.93741608),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenarden Woods Elementary School",'Glenarden=' + Glenarden.length);
Glenn_Dale[Glenn_Dale.length] = createMarker(new GPoint(-76.81557465,38.98155594),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenn Dale Elementary School",'Glenn_Dale=' + Glenn_Dale.length);
Landover_Hills[Landover_Hills.length] = createMarker(new GPoint(-76.88954163,38.95120239),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenridge Elementary School",'Landover_Hills=' + Landover_Hills.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.94219971,38.82160187),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Green Valley Elementary School",'Temple_Hills=' + Temple_Hills.length);
Greenbelt[Greenbelt.length] = createMarker(new GPoint(-76.87655640,39.01119614),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greenbelt Elementary School",'Greenbelt=' + Greenbelt.length);
Greenbelt[Greenbelt.length] = createMarker(new GPoint(-76.87892700,39.00026700),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Greenbelt Middle School",'Greenbelt=' + Greenbelt.length);
Brandywine[Brandywine.length] = createMarker(new GPoint(-76.81580353,38.67409897),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Gwynn Park High School",'Brandywine=' + Brandywine.length);
Brandywine[Brandywine.length] = createMarker(new GPoint(-76.86956024,38.70463562),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Gwynn Park Middle School",'Brandywine=' + Brandywine.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.85713959,38.87809372),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("H. W. Wheatley Early Childhood Center",'Capitol_Heights=' + Capitol_Heights.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.73281860,38.95198822),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Heather Hills Elementary School",'Bowie=' + Bowie.length);
Accokeek[Accokeek.length] = createMarker(new GPoint(-76.98015594,38.68596268),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Henry G. Ferguson Elementary School",'Accokeek=' + Accokeek.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.77293396,38.98635483),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("High Bridge Elementary School",'Bowie=' + Bowie.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.94380951,39.04335785),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("High Point High School",'Beltsville=' + Beltsville.length);
Landover[Landover.length] = createMarker(new GPoint(-76.89509583,38.90397644),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highland Park Elementary School",'Landover=' + Landover.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.96018982,38.83110046),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hillcrest Heights Elementary School",'Temple_Hills=' + Temple_Hills.length);
College_Park[College_Park.length] = createMarker(new GPoint(-76.93726900,38.98072500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hollywood Elementary School",'College_Park=' + College_Park.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.94290924,38.95370102),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hyattsville Elementary School",'Hyattsville=' + Hyattsville.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.94654083,38.95934677),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hyattsville Middle School",'Hyattsville=' + Hyattsville.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-77.01591492,38.75937653),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Indian Queen Elementary School",'Fort_Washington=' + Fort_Washington.length);
Ft_Washington[Ft_Washington.length] = createMarker(new GPoint(-76.96283722,38.80826950),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("J. Frank Dent Elementary School",'Ft_Washington=' + Ft_Washington.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.93761444,39.04148865),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("James E. Duckworth Regional Center",'Beltsville=' + Beltsville.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.86201477,39.07020569),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("James H. Harrison Elementary School",'Laurel=' + Laurel.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.78299713,38.79669952),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("James Madison Middle School",'Upper_Marlboro=' + Upper_Marlboro.length);
Lanham[Lanham.length] = createMarker(new GPoint(-76.85240173,38.96409988),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("James Mchenry Elementary School",'Lanham=' + Lanham.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.91403961,38.78217316),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("James Ryder Randall Elementary School",'Clinton=' + Clinton.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.95124054,38.83748245),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jessie B. Mason School",'Temple_Hills=' + Temple_Hills.length);
Landover[Landover.length] = createMarker(new GPoint(-76.87623596,38.90815353),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Carroll Elementary School",'Landover=' + Landover.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.93128204,38.86833191),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Eager Howard Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.90409851,38.88560104),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John H. Bayne Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Glenarden[Glenarden.length] = createMarker(new GPoint(-76.87081146,38.93149948),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Judge Sylvania W. Woods Elementary School",'Glenarden=' + Glenarden.length);
Cheverly[Cheverly.length] = createMarker(new GPoint(-76.91627502,38.91864395),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Judith P. Hoyer Early Childhood Center",'Cheverly=' + Cheverly.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.73584747,38.95799255),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kenilworth Elementary School",'Bowie=' + Bowie.length);
Landover[Landover.length] = createMarker(new GPoint(-76.86877441,38.92758942),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kenmoor Elementary School",'Landover=' + Landover.length);
Landover[Landover.length] = createMarker(new GPoint(-76.86818695,38.92404175),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Kenmoor Middle School",'Landover=' + Landover.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.81381226,38.89008331),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kettering Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.78299713,38.79669952),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Kettering Middle School",'Upper_Marlboro=' + Upper_Marlboro.length);
Mitchellville[Mitchellville.length] = createMarker(new GPoint(-76.79812622,38.90885162),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kingsford Elementary School",'Mitchellville=' + Mitchellville.length);
New_Carrollton[New_Carrollton.length] = createMarker(new GPoint(-76.88364410,38.97492218),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lamont Elementary School",'New_Carrollton=' + New_Carrollton.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.98226166,38.99243927),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Langley Park/mccormick Elementary School",'Hyattsville=' + Hyattsville.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.80349731,38.88779831),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Largo High School",'Upper_Marlboro=' + Upper_Marlboro.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.85133362,39.10523224),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Laurel Elementary School",'Laurel=' + Laurel.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.86725616,39.09326553),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Laurel High School",'Laurel=' + Laurel.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.96968079,38.97547913),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lewisdale Elementary School",'Hyattsville=' + Hyattsville.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.88048553,38.84500122),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Longfields Elementary School",'Forestville=' + Forestville.length);
Ft_Washington[Ft_Washington.length] = createMarker(new GPoint(-76.98429871,38.75630188),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lord Baltimore Middle School",'Ft_Washington=' + Ft_Washington.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.90393066,38.88602066),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lyndon Hill Elementary School",'Capitol_Heights=' + Capitol_Heights.length);
Lanham[Lanham.length] = createMarker(new GPoint(-76.86103821,38.98297119),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Magnolia Elementary School",'Lanham=' + Lanham.length);
New_Carrollton[New_Carrollton.length] = createMarker(new GPoint(-76.88154602,38.96385193),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Margaret Brent Regional Center",'New_Carrollton=' + New_Carrollton.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.79017639,38.77257919),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marlton Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Beltsville[Beltsville.length] = createMarker(new GPoint(-76.91241455,39.05576324),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Martin Luther King Junior Middle School",'Beltsville=' + Beltsville.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.80551910,38.74880219),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mattaponi Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Landover[Landover.length] = createMarker(new GPoint(-76.88269806,38.91989899),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Matthew Henson Elementary School",'Landover=' + Landover.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.83833313,38.79193878),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Melwood Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.94219971,38.82160187),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Middleton Valley Elementary School",'Temple_Hills=' + Temple_Hills.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.84380341,39.06280136),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Montpelier Elementary School",'Laurel=' + Laurel.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.88842773,38.82830811),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Morningside Elementary School",'Suitland=' + Suitland.length);
Mt_Rainier[Mt_Rainier.length] = createMarker(new GPoint(-76.96325684,38.93828583),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mount Rainier Elementary School",'Mt_Rainier=' + Mt_Rainier.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.95951843,38.96697235),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Nicholas Orem Middle School",'Hyattsville=' + Hyattsville.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.93119049,38.93959427),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("North End Academy",'Bladensburg=' + Bladensburg.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.88960266,38.85329819),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("North Forestville Elementary School",'Forestville=' + Forestville.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.96549988,38.96350098),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Northwestern High School",'Hyattsville=' + Hyattsville.length);
Landover[Landover.length] = createMarker(new GPoint(-76.88877869,38.90324402),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oakcrest Elementary School",'Landover=' + Landover.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.84849548,39.07833481),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oaklands Elementary School",'Laurel=' + Laurel.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.94219971,38.82160187),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Overlook Elementary School",'Temple_Hills=' + Temple_Hills.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.98009491,38.81759262),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Owens Road Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99220276,38.80680084),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oxon Hill Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99220276,38.80680084),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Oxon Hill High School",'Oxon_Hill=' + Oxon_Hill.length);
Ft_Washington[Ft_Washington.length] = createMarker(new GPoint(-77.01338196,38.76035690),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Oxon Hill Middle School",'Ft_Washington=' + Ft_Washington.length);
College_Park[College_Park.length] = createMarker(new GPoint(-76.92684937,38.98751450),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Paint Branch Elementary School",'College_Park=' + College_Park.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.96734619,38.83485794),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Panorama Elementary School",'Temple_Hills=' + Temple_Hills.length);
Riverdale[Riverdale.length] = createMarker(new GPoint(-76.91790009,38.96170044),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Parkdale High School",'Riverdale=' + Riverdale.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.71125793,38.82933044),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Patuxent Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Largo[Largo.length] = createMarker(new GPoint(-76.78139496,38.88287735),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Perrywood Elementary School",'Largo=' + Largo.length);
Upper_Marlboro[Upper_Marlboro.length] = createMarker(new GPoint(-76.83886719,38.89021301),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Phyllis E. Williams Elementary School",'Upper_Marlboro=' + Upper_Marlboro.length);
Benton_Harbor[Benton_Harbor.length] = createMarker(new GPoint(-86.44889832,42.09745026),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pointer Ridge Elementary School",'Benton_Harbor=' + Benton_Harbor.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.72679901,38.93130112),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pointer Ridge Elementary School",'Bowie=' + Bowie.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.97747040,38.82249451),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Potomac High School",'Oxon_Hill=' + Oxon_Hill.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.98429871,38.75630188),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Potomac Landing Elementary School",'Fort_Washington=' + Fort_Washington.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.90142822,38.81407166),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Princeton Elementary School",'Suitland=' + Suitland.length);
Cheltenham[Cheltenham.length] = createMarker(new GPoint(-76.85999298,38.73647308),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rica-southern Md",'Cheltenham=' + Cheltenham.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.98970032,38.96471786),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ridgecrest Elementary School",'Hyattsville=' + Hyattsville.length);
Riverdale[Riverdale.length] = createMarker(new GPoint(-76.92939758,38.96111679),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Riverdale Elementary School",'Riverdale=' + Riverdale.length);
New_Carrollton[New_Carrollton.length] = createMarker(new GPoint(-76.88939667,38.95050049),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robert Frost Elementary School",'New_Carrollton=' + New_Carrollton.length);
Seabrook[Seabrook.length] = createMarker(new GPoint(-76.83766937,38.98723602),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Robert Goddard Middle School",'Seabrook=' + Seabrook.length);
District_Heights[District_Heights.length] = createMarker(new GPoint(-76.89649963,38.85309982),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robert R. Gray Elementary School",'District_Heights=' + District_Heights.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.74047400,38.96097000),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rockledge Elementary School",'Bowie=' + Bowie.length);
Bladensburg[Bladensburg.length] = createMarker(new GPoint(-76.91360474,38.94309998),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rogers Heights Elementary School",'Bladensburg=' + Bladensburg.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.98429871,38.75630188),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rose Valley Elementary School",'Fort_Washington=' + Fort_Washington.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.95173645,38.81056976),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Samuel Chase Elementary School",'Temple_Hills=' + Temple_Hills.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.74150085,38.98009872),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Samuel Ogle Elementary School",'Bowie=' + Bowie.length);
Laurel[Laurel.length] = createMarker(new GPoint(-76.87417603,39.10967255),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Scotch Town Hills Elementary School",'Laurel=' + Laurel.length);
Seabrook[Seabrook.length] = createMarker(new GPoint(-76.84137726,38.96705627),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seabrook Elementary School",'Seabrook=' + Seabrook.length);
Seat_Pleasant[Seat_Pleasant.length] = createMarker(new GPoint(-76.90409851,38.88560104),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seat Pleasant Elementary School",'Seat_Pleasant=' + Seat_Pleasant.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.92674255,38.85338593),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Shadyside Elementary School",'Suitland=' + Suitland.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.91780090,38.83720016),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Skyline Elementary School",'Suitland=' + Suitland.length);
Greenbelt[Greenbelt.length] = createMarker(new GPoint(-76.88189697,38.99909973),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Springhill Lake Elementary School",'Greenbelt=' + Greenbelt.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.89920044,38.75730133),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Stephen Decatur Middle School",'Clinton=' + Clinton.length);
Forestville[Forestville.length] = createMarker(new GPoint(-76.91754913,38.85218811),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Suitland High School",'Forestville=' + Forestville.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.90515137,38.76221848),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Surrattsville High School",'Clinton=' + Clinton.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.79705000,38.91484900),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Tall Oaks Vocational",'Bowie=' + Bowie.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.77020264,38.94540405),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Tall Oaks Vocational High School",'Bowie=' + Bowie.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.87111400,38.77509600),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tanglewood Regional Center",'Clinton=' + Clinton.length);
Fort_Washington[Fort_Washington.length] = createMarker(new GPoint(-76.95141602,38.77234268),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tayac Elementary School",'Fort_Washington=' + Fort_Washington.length);
Riverdale[Riverdale.length] = createMarker(new GPoint(-76.91450500,38.95304489),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Templeton Elementary School",'Riverdale=' + Riverdale.length);
District_Heights[District_Heights.length] = createMarker(new GPoint(-76.88790131,38.86319351),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas Claggett Elementary School",'District_Heights=' + District_Heights.length);
Lanham[Lanham.length] = createMarker(new GPoint(-76.84239197,38.95979309),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Thomas Johnson Middle School",'Lanham=' + Lanham.length);
Landover[Landover.length] = createMarker(new GPoint(-76.85322571,38.89928055),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas Pullen School",'Landover=' + Landover.length);
Mt_Rainier[Mt_Rainier.length] = createMarker(new GPoint(-76.96469879,38.94160080),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas S. Stone Elementary School",'Mt_Rainier=' + Mt_Rainier.length);
Temple_Hills[Temple_Hills.length] = createMarker(new GPoint(-76.92294312,38.80216980),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Thurgood Marshall Middle School",'Temple_Hills=' + Temple_Hills.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.75091553,38.96691513),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tulip Grove Elementary School",'Bowie=' + Bowie.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.94423676,38.97259140),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("University Park Elementary School",'Hyattsville=' + Hyattsville.length);
Oxon_Hill[Oxon_Hill.length] = createMarker(new GPoint(-76.99220276,38.80680084),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Valley View Elementary School",'Oxon_Hill=' + Oxon_Hill.length);
Clinton[Clinton.length] = createMarker(new GPoint(-76.90003967,38.74777222),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Waldon Woods Elementary School",'Clinton=' + Clinton.length);
Capitol_Heights[Capitol_Heights.length] = createMarker(new GPoint(-76.88564301,38.87788010),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Walker Mill Middle School",'Capitol_Heights=' + Capitol_Heights.length);
Suitland[Suitland.length] = createMarker(new GPoint(-76.91780090,38.83720016),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("William Beanes Elementary School",'Suitland=' + Suitland.length);
Landover[Landover.length] = createMarker(new GPoint(-76.88269806,38.91989899),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("William Paca Elementary School",'Landover=' + Landover.length);
Riverdale[Riverdale.length] = createMarker(new GPoint(-76.91104126,38.95637894),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("William Wirt Middle School",'Riverdale=' + Riverdale.length);
Mitchellville[Mitchellville.length] = createMarker(new GPoint(-76.78606415,38.92537308),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodmore Elementary School",'Mitchellville=' + Mitchellville.length);
Hyattsville[Hyattsville.length] = createMarker(new GPoint(-76.88939667,38.95050049),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodridge Elementary School",'Hyattsville=' + Hyattsville.length);
Bowie[Bowie.length] = createMarker(new GPoint(-76.73346710,38.98939133),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Yorktown Elementary School",'Bowie=' + Bowie.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(Accokeek);
map.removeOverlays(Adelphi);
map.removeOverlays(Auburn_Hills);
map.removeOverlays(Beltsville);
map.removeOverlays(Benton_Harbor);
map.removeOverlays(Birch_Run);
map.removeOverlays(Bladensburg);
map.removeOverlays(Bowie);
map.removeOverlays(Brandywine);
map.removeOverlays(Capitol_Heights);
map.removeOverlays(Cheltenham);
map.removeOverlays(Cheverly);
map.removeOverlays(Clinton);
map.removeOverlays(College_Park);
map.removeOverlays(District_Heights);
map.removeOverlays(Forestville);
map.removeOverlays(Fort_Washington);
map.removeOverlays(Ft_Washington);
map.removeOverlays(Glenarden);
map.removeOverlays(Glenn_Dale);
map.removeOverlays(Greenbelt);
map.removeOverlays(Hyattsville);
map.removeOverlays(Landover);
map.removeOverlays(Landover_Hills);
map.removeOverlays(Lanham);
map.removeOverlays(Largo);
map.removeOverlays(Laurel);
map.removeOverlays(Mitchellville);
map.removeOverlays(Morningside);
map.removeOverlays(Mt_Rainier);
map.removeOverlays(New_Carrollton);
map.removeOverlays(Oxon_Hill);
map.removeOverlays(Riverdale);
map.removeOverlays(Seabrook);
map.removeOverlays(Seat_Pleasant);
map.removeOverlays(Springdale);
map.removeOverlays(Suitland);
map.removeOverlays(Takoma_Park);
map.removeOverlays(Temple_Hills);
map.removeOverlays(Upper_Marlboro);
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(Adelphi);map.removeOverlays(Accokeek);
map.removeOverlays(Adelphi);
map.removeOverlays(Auburn_Hills);
map.removeOverlays(Beltsville);
map.removeOverlays(Benton_Harbor);
map.removeOverlays(Birch_Run);
map.removeOverlays(Bladensburg);
map.removeOverlays(Bowie);
map.removeOverlays(Brandywine);
map.removeOverlays(Capitol_Heights);
map.removeOverlays(Cheltenham);
map.removeOverlays(Cheverly);
map.removeOverlays(Clinton);
map.removeOverlays(College_Park);
map.removeOverlays(District_Heights);
map.removeOverlays(Forestville);
map.removeOverlays(Fort_Washington);
map.removeOverlays(Ft_Washington);
map.removeOverlays(Glenarden);
map.removeOverlays(Glenn_Dale);
map.removeOverlays(Greenbelt);
map.removeOverlays(Hyattsville);
map.removeOverlays(Landover);
map.removeOverlays(Landover_Hills);
map.removeOverlays(Lanham);
map.removeOverlays(Largo);
map.removeOverlays(Laurel);
map.removeOverlays(Mitchellville);
map.removeOverlays(Morningside);
map.removeOverlays(Mt_Rainier);
map.removeOverlays(New_Carrollton);
map.removeOverlays(Oxon_Hill);
map.removeOverlays(Riverdale);
map.removeOverlays(Seabrook);
map.removeOverlays(Seat_Pleasant);
map.removeOverlays(Springdale);
map.removeOverlays(Suitland);
map.removeOverlays(Takoma_Park);
map.removeOverlays(Temple_Hills);
map.removeOverlays(Upper_Marlboro);
map.addOverlays(Accokeek);
centerByArray(Accokeek, false, false);
cntMarker += Accokeek.length;
map.addOverlays(Adelphi);
centerByArray(Adelphi, false, false);
cntMarker += Adelphi.length;
map.addOverlays(Auburn_Hills);
centerByArray(Auburn_Hills, false, false);
cntMarker += Auburn_Hills.length;
map.addOverlays(Beltsville);
centerByArray(Beltsville, false, false);
cntMarker += Beltsville.length;
map.addOverlays(Benton_Harbor);
centerByArray(Benton_Harbor, false, false);
cntMarker += Benton_Harbor.length;
map.addOverlays(Birch_Run);
centerByArray(Birch_Run, false, false);
cntMarker += Birch_Run.length;
map.addOverlays(Bladensburg);
centerByArray(Bladensburg, false, false);
cntMarker += Bladensburg.length;
map.addOverlays(Bowie);
centerByArray(Bowie, false, false);
cntMarker += Bowie.length;
map.addOverlays(Brandywine);
centerByArray(Brandywine, false, false);
cntMarker += Brandywine.length;
map.addOverlays(Capitol_Heights);
centerByArray(Capitol_Heights, false, false);
cntMarker += Capitol_Heights.length;
map.addOverlays(Cheltenham);
centerByArray(Cheltenham, false, false);
cntMarker += Cheltenham.length;
map.addOverlays(Cheverly);
centerByArray(Cheverly, false, false);
cntMarker += Cheverly.length;
map.addOverlays(Clinton);
centerByArray(Clinton, false, false);
cntMarker += Clinton.length;
map.addOverlays(College_Park);
centerByArray(College_Park, false, false);
cntMarker += College_Park.length;
map.addOverlays(District_Heights);
centerByArray(District_Heights, false, false);
cntMarker += District_Heights.length;
map.addOverlays(Forestville);
centerByArray(Forestville, false, false);
cntMarker += Forestville.length;
map.addOverlays(Fort_Washington);
centerByArray(Fort_Washington, false, false);
cntMarker += Fort_Washington.length;
map.addOverlays(Ft_Washington);
centerByArray(Ft_Washington, false, false);
cntMarker += Ft_Washington.length;
map.addOverlays(Glenarden);
centerByArray(Glenarden, false, false);
cntMarker += Glenarden.length;
map.addOverlays(Glenn_Dale);
centerByArray(Glenn_Dale, false, false);
cntMarker += Glenn_Dale.length;
map.addOverlays(Greenbelt);
centerByArray(Greenbelt, false, false);
cntMarker += Greenbelt.length;
map.addOverlays(Hyattsville);
centerByArray(Hyattsville, false, false);
cntMarker += Hyattsville.length;
map.addOverlays(Landover);
centerByArray(Landover, false, false);
cntMarker += Landover.length;
map.addOverlays(Landover_Hills);
centerByArray(Landover_Hills, false, false);
cntMarker += Landover_Hills.length;
map.addOverlays(Lanham);
centerByArray(Lanham, false, false);
cntMarker += Lanham.length;
map.addOverlays(Largo);
centerByArray(Largo, false, false);
cntMarker += Largo.length;
map.addOverlays(Laurel);
centerByArray(Laurel, false, false);
cntMarker += Laurel.length;
map.addOverlays(Mitchellville);
centerByArray(Mitchellville, false, false);
cntMarker += Mitchellville.length;
map.addOverlays(Morningside);
centerByArray(Morningside, false, false);
cntMarker += Morningside.length;
map.addOverlays(Mt_Rainier);
centerByArray(Mt_Rainier, false, false);
cntMarker += Mt_Rainier.length;
map.addOverlays(New_Carrollton);
centerByArray(New_Carrollton, false, false);
cntMarker += New_Carrollton.length;
map.addOverlays(Oxon_Hill);
centerByArray(Oxon_Hill, false, false);
cntMarker += Oxon_Hill.length;
map.addOverlays(Riverdale);
centerByArray(Riverdale, false, false);
cntMarker += Riverdale.length;
map.addOverlays(Seabrook);
centerByArray(Seabrook, false, false);
cntMarker += Seabrook.length;
map.addOverlays(Seat_Pleasant);
centerByArray(Seat_Pleasant, false, false);
cntMarker += Seat_Pleasant.length;
map.addOverlays(Springdale);
centerByArray(Springdale, false, false);
cntMarker += Springdale.length;
map.addOverlays(Suitland);
centerByArray(Suitland, false, false);
cntMarker += Suitland.length;
map.addOverlays(Takoma_Park);
centerByArray(Takoma_Park, false, false);
cntMarker += Takoma_Park.length;
map.addOverlays(Temple_Hills);
centerByArray(Temple_Hills, false, false);
cntMarker += Temple_Hills.length;
map.addOverlays(Upper_Marlboro);
centerByArray(Upper_Marlboro, false, false);
cntMarker += Upper_Marlboro.length;
centerByArray(Adelphi,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');
}
}