function addMarkers() { mySelect = document.getElementById('selection'); Acton = [];Alfred = [];Berwick = [];Biddeford = [];Buxton = [];Saco = [];Springvale = [];South_Berwick = [];York = [];Lyman = [];Kennebunk = [];Dayton = [];Eliot = [];Bar_Mills = [];Sanford = [];Parsonsfield = [];Kittery = [];Limington = [];Hollis = [];Kittery_Point = [];Old_Orchard_Bch = [];Kennebunkport = [];E_Lebanon = [];West_Newfield = [];Waterboro = [];Arundel = [];North_Berwick = [];N_Berwick = [];Ogunquit = [];Shapleigh = [];E_Waterboro = [];Wells = [];mySelect.options[mySelect.options.length] = new Option("Acton schools",'all=Acton'); mySelect.options[mySelect.options.length] = new Option("Alfred schools",'all=Alfred'); mySelect.options[mySelect.options.length] = new Option("Arundel schools",'all=Arundel'); mySelect.options[mySelect.options.length] = new Option("Bar Mills schools",'all=Bar_Mills'); mySelect.options[mySelect.options.length] = new Option("Berwick schools",'all=Berwick'); mySelect.options[mySelect.options.length] = new Option("Biddeford schools",'all=Biddeford'); mySelect.options[mySelect.options.length] = new Option("Buxton schools",'all=Buxton'); mySelect.options[mySelect.options.length] = new Option("Dayton schools",'all=Dayton'); mySelect.options[mySelect.options.length] = new Option("E Lebanon schools",'all=E_Lebanon'); mySelect.options[mySelect.options.length] = new Option("E Waterboro schools",'all=E_Waterboro'); mySelect.options[mySelect.options.length] = new Option("Eliot schools",'all=Eliot'); mySelect.options[mySelect.options.length] = new Option("Hollis schools",'all=Hollis'); mySelect.options[mySelect.options.length] = new Option("Kennebunk schools",'all=Kennebunk'); mySelect.options[mySelect.options.length] = new Option("Kennebunkport schools",'all=Kennebunkport'); mySelect.options[mySelect.options.length] = new Option("Kittery schools",'all=Kittery'); mySelect.options[mySelect.options.length] = new Option("Kittery Point schools",'all=Kittery_Point'); mySelect.options[mySelect.options.length] = new Option("Limington schools",'all=Limington'); mySelect.options[mySelect.options.length] = new Option("Lyman schools",'all=Lyman'); mySelect.options[mySelect.options.length] = new Option("N Berwick schools",'all=N_Berwick'); mySelect.options[mySelect.options.length] = new Option("North Berwick schools",'all=North_Berwick'); mySelect.options[mySelect.options.length] = new Option("Ogunquit schools",'all=Ogunquit'); mySelect.options[mySelect.options.length] = new Option("Old Orchard Bch schools",'all=Old_Orchard_Bch'); mySelect.options[mySelect.options.length] = new Option("Parsonsfield schools",'all=Parsonsfield'); mySelect.options[mySelect.options.length] = new Option("Saco schools",'all=Saco'); mySelect.options[mySelect.options.length] = new Option("Sanford schools",'all=Sanford'); mySelect.options[mySelect.options.length] = new Option("Shapleigh schools",'all=Shapleigh'); mySelect.options[mySelect.options.length] = new Option("South Berwick schools",'all=South_Berwick'); mySelect.options[mySelect.options.length] = new Option("Springvale schools",'all=Springvale'); mySelect.options[mySelect.options.length] = new Option("Waterboro schools",'all=Waterboro'); mySelect.options[mySelect.options.length] = new Option("Wells schools",'all=Wells'); mySelect.options[mySelect.options.length] = new Option("West Newfield schools",'all=West_Newfield'); mySelect.options[mySelect.options.length] = new Option("York schools",'all=York'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Acton[Acton.length] = createMarker(new GPoint(-70.89555359,43.50665665),"
",iconRd); mySelect.options[mySelect.options.length] = new Option("Acton Elementary School",'Acton=' + Acton.length); Alfred[Alfred.length] = createMarker(new GPoint(-70.71526337,43.47607040),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Alfred Elementary School",'Alfred=' + Alfred.length); Berwick[Berwick.length] = createMarker(new GPoint(-70.86244965,43.26793289),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Berwick Elementary School",'Berwick=' + Berwick.length); Biddeford[Biddeford.length] = createMarker(new GPoint(-70.47023010,43.49640656),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Biddeford High School",'Biddeford=' + Biddeford.length); Biddeford[Biddeford.length] = createMarker(new GPoint(-70.46752167,43.47415161),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Biddeford Middle School",'Biddeford=' + Biddeford.length); Biddeford[Biddeford.length] = createMarker(new GPoint(-70.46666718,43.47579575),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Biddeford Primary",'Biddeford=' + Biddeford.length); Biddeford[Biddeford.length] = createMarker(new GPoint(-70.46982574,43.49680710),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Biddeford Regional Center Of Technical",'Biddeford=' + Biddeford.length); Buxton[Buxton.length] = createMarker(new GPoint(-70.59616852,43.69403458),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Bonny Eagle Middle School",'Buxton=' + Buxton.length); Saco[Saco.length] = createMarker(new GPoint(-70.44062805,43.50150299),"",iconRd); mySelect.options[mySelect.options.length] = new Option("C K Burns School",'Saco=' + Saco.length); Springvale[Springvale.length] = createMarker(new GPoint(-70.78147888,43.46089554),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Carl J Lamb School",'Springvale=' + Springvale.length); South_Berwick[South_Berwick.length] = createMarker(new GPoint(-70.80891418,43.23328018),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Central School",'South_Berwick=' + South_Berwick.length); York[York.length] = createMarker(new GPoint(-70.64477539,43.15699768),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Coastal Ridge Elementary School",'York=' + York.length); Lyman[Lyman.length] = createMarker(new GPoint(-70.59114838,43.49773026),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Cousens Memorial School",'Lyman=' + Lyman.length); Kennebunk[Kennebunk.length] = createMarker(new GPoint(-70.54510498,43.38065338),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Cousens School",'Kennebunk=' + Kennebunk.length); Dayton[Dayton.length] = createMarker(new GPoint(-70.59282684,43.54462433),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Dayton Consolidated School",'Dayton=' + Dayton.length); Eliot[Eliot.length] = createMarker(new GPoint(-70.78793335,43.12269211),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Eliot Elementary School",'Eliot=' + Eliot.length); Bar_Mills[Bar_Mills.length] = createMarker(new GPoint(-70.55020142,43.61299896),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Eliza Libby Elementary School",'Bar_Mills=' + Bar_Mills.length); Sanford[Sanford.length] = createMarker(new GPoint(-70.77237701,43.43481445),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Emerson School",'Sanford=' + Sanford.length); Buxton[Buxton.length] = createMarker(new GPoint(-70.54013824,43.64979935),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Frank Jewett School",'Buxton=' + Buxton.length); Parsonsfield[Parsonsfield.length] = createMarker(new GPoint(-70.92839050,43.75896835),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Fred W Morrill School",'Parsonsfield=' + Parsonsfield.length); Kittery[Kittery.length] = createMarker(new GPoint(-70.73806000,43.09692383),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Frisbee Elementary School",'Kittery=' + Kittery.length); Saco[Saco.length] = createMarker(new GPoint(-70.43904877,43.49955368),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Governor John Fairfield School",'Saco=' + Saco.length); Limington[Limington.length] = createMarker(new GPoint(-70.70883942,43.72743988),"",iconRd); mySelect.options[mySelect.options.length] = new Option("H B Emery Junior Memorial School",'Limington=' + Limington.length); Hollis[Hollis.length] = createMarker(new GPoint(-70.59076691,43.60440063),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hollis Consolidated School",'Hollis=' + Hollis.length); Hollis[Hollis.length] = createMarker(new GPoint(-70.59076691,43.60440063),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hollis School",'Hollis=' + Hollis.length); Kittery_Point[Kittery_Point.length] = createMarker(new GPoint(-70.70001984,43.08368683),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Horace Mitchell Primary School",'Kittery_Point=' + Kittery_Point.length); Buxton[Buxton.length] = createMarker(new GPoint(-70.58255768,43.68011856),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Jack Memorial School",'Buxton=' + Buxton.length); Old_Orchard_Bch[Old_Orchard_Bch.length] = createMarker(new GPoint(-70.39366150,43.51255417),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Jameson Elementary School",'Old_Orchard_Bch=' + Old_Orchard_Bch.length); Biddeford[Biddeford.length] = createMarker(new GPoint(-70.46375275,43.47863388),"",iconRd); mySelect.options[mySelect.options.length] = new Option("John F Kennedy Memorial School",'Biddeford=' + Biddeford.length); Kennebunk[Kennebunk.length] = createMarker(new GPoint(-70.54955292,43.39542007),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Kennebunk High School",'Kennebunk=' + Kennebunk.length); Kennebunkport[Kennebunkport.length] = createMarker(new GPoint(-70.46963501,43.36248016),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Kennebunkport Consolidated School",'Kennebunkport=' + Kennebunkport.length); Sanford[Sanford.length] = createMarker(new GPoint(-70.77080536,43.44431305),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lafayette School",'Sanford=' + Sanford.length); E_Lebanon[E_Lebanon.length] = createMarker(new GPoint(-69.29499817,45.84260178),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lebanon School",'E_Lebanon=' + E_Lebanon.length); West_Newfield[West_Newfield.length] = createMarker(new GPoint(-70.83914948,43.65360260),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Line Elementary School",'West_Newfield=' + West_Newfield.length); Old_Orchard_Bch[Old_Orchard_Bch.length] = createMarker(new GPoint(-70.39001465,43.51364899),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Loranger Middle School",'Old_Orchard_Bch=' + Old_Orchard_Bch.length); Lyman[Lyman.length] = createMarker(new GPoint(-70.63240814,43.48547363),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lyman Elementary School",'Lyman=' + Lyman.length); Sanford[Sanford.length] = createMarker(new GPoint(-70.77731323,43.42397690),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Margaret Chase Smith School",'Sanford=' + Sanford.length); South_Berwick[South_Berwick.length] = createMarker(new GPoint(-70.79242706,43.20300674),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Marshwood High School",'South_Berwick=' + South_Berwick.length); Eliot[Eliot.length] = createMarker(new GPoint(-70.79821777,43.15275574),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Marshwood Junior High School",'Eliot=' + Eliot.length); South_Berwick[South_Berwick.length] = createMarker(new GPoint(-70.80168152,43.22509003),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Marshwood Middle School",'South_Berwick=' + South_Berwick.length); Waterboro[Waterboro.length] = createMarker(new GPoint(-70.71494293,43.53546143),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Massabesic High School",'Waterboro=' + Waterboro.length); Waterboro[Waterboro.length] = createMarker(new GPoint(-70.71494293,43.53546143),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Massabesic Junior High School",'Waterboro=' + Waterboro.length); Kennebunk[Kennebunk.length] = createMarker(new GPoint(-70.57651520,43.41194916),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Middle School Of Kennebunks",'Kennebunk=' + Kennebunk.length); Arundel[Arundel.length] = createMarker(new GPoint(-70.53845215,43.44473267),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Mildred L Day School",'Arundel=' + Arundel.length); North_Berwick[North_Berwick.length] = createMarker(new GPoint(-70.77825165,43.29874039),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Noble High School",'North_Berwick=' + North_Berwick.length); Berwick[Berwick.length] = createMarker(new GPoint(-70.82695770,43.28881454),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Noble Middle School",'Berwick=' + Berwick.length); Berwick[Berwick.length] = createMarker(new GPoint(-70.82281494,43.28493118),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Noble Vi Middle School",'Berwick=' + Berwick.length); N_Berwick[N_Berwick.length] = createMarker(new GPoint(-70.73949432,43.30715561),"",iconRd); mySelect.options[mySelect.options.length] = new Option("North Berwick Elementary School",'N_Berwick=' + N_Berwick.length); Ogunquit[Ogunquit.length] = createMarker(new GPoint(-70.60009766,43.25000000),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Ogunquit Village School",'Ogunquit=' + Ogunquit.length); Old_Orchard_Bch[Old_Orchard_Bch.length] = createMarker(new GPoint(-70.39202881,43.51422119),"