function addMarkers() { mySelect = document.getElementById('selection'); Bridgewater = [];Manville = [];Belle_Mead = [];Warren = [];Somerville = [];Watchung = [];Bedminster = [];Bernardsville = [];Bound_Brook = [];Basking_Ridge = [];Somerset = [];Kingston = [];N_Plainfield = [];Franklin_Park = [];Green_Brook = [];Hillsborough = [];Raritan = [];Liberty_Corner = [];Skillman = [];Branchburg = [];S_Bound_Brook = [];Skillman_Nj = [];Neshanic_Station = [];mySelect.options[mySelect.options.length] = new Option("Basking Ridge schools",'all=Basking_Ridge'); mySelect.options[mySelect.options.length] = new Option("Bedminster schools",'all=Bedminster'); mySelect.options[mySelect.options.length] = new Option("Belle Mead schools",'all=Belle_Mead'); mySelect.options[mySelect.options.length] = new Option("Bernardsville schools",'all=Bernardsville'); mySelect.options[mySelect.options.length] = new Option("Bound Brook schools",'all=Bound_Brook'); mySelect.options[mySelect.options.length] = new Option("Branchburg schools",'all=Branchburg'); mySelect.options[mySelect.options.length] = new Option("Bridgewater schools",'all=Bridgewater'); mySelect.options[mySelect.options.length] = new Option("Franklin Park schools",'all=Franklin_Park'); mySelect.options[mySelect.options.length] = new Option("Green Brook schools",'all=Green_Brook'); mySelect.options[mySelect.options.length] = new Option("Hillsborough schools",'all=Hillsborough'); mySelect.options[mySelect.options.length] = new Option("Kingston schools",'all=Kingston'); mySelect.options[mySelect.options.length] = new Option("Liberty Corner schools",'all=Liberty_Corner'); mySelect.options[mySelect.options.length] = new Option("Manville schools",'all=Manville'); mySelect.options[mySelect.options.length] = new Option("N Plainfield schools",'all=N_Plainfield'); mySelect.options[mySelect.options.length] = new Option("Neshanic Station schools",'all=Neshanic_Station'); mySelect.options[mySelect.options.length] = new Option("Raritan schools",'all=Raritan'); mySelect.options[mySelect.options.length] = new Option("S Bound Brook schools",'all=S_Bound_Brook'); mySelect.options[mySelect.options.length] = new Option("Skillman schools",'all=Skillman'); mySelect.options[mySelect.options.length] = new Option("Skillman Nj schools",'all=Skillman_Nj'); mySelect.options[mySelect.options.length] = new Option("Somerset schools",'all=Somerset'); mySelect.options[mySelect.options.length] = new Option("Somerville schools",'all=Somerville'); mySelect.options[mySelect.options.length] = new Option("Warren schools",'all=Warren'); mySelect.options[mySelect.options.length] = new Option("Watchung schools",'all=Watchung'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.58130646,40.56988144),"
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adamsville Elementary School",'Bridgewater=' + Bridgewater.length); Manville[Manville.length] = createMarker(new GPoint(-74.59919739,40.54340363),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Alexander Batcho Inter Middle School",'Manville=' + Manville.length); Belle_Mead[Belle_Mead.length] = createMarker(new GPoint(-74.64859772,40.44869995),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Amsterdam School",'Belle_Mead=' + Belle_Mead.length); Warren[Warren.length] = createMarker(new GPoint(-74.52465820,40.60414124),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Angelo Tomaso School",'Warren=' + Warren.length); Somerville[Somerville.length] = createMarker(new GPoint(-74.59030151,40.56450272),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Auten Road School",'Somerville=' + Somerville.length); Watchung[Watchung.length] = createMarker(new GPoint(-74.43900299,40.64319992),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Bayberry Elementary School",'Watchung=' + Watchung.length); Bedminster[Bedminster.length] = createMarker(new GPoint(-74.64541626,40.67930222),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Bedminster Township Elementary School",'Bedminster=' + Bedminster.length); Bernardsville[Bernardsville.length] = createMarker(new GPoint(-74.56950378,40.72874069),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Bedwell Elementary School",'Bernardsville=' + Bernardsville.length); Bernardsville[Bernardsville.length] = createMarker(new GPoint(-74.56735992,40.72150803),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Bernards High School",'Bernardsville=' + Bernardsville.length); Bernardsville[Bernardsville.length] = createMarker(new GPoint(-74.56950378,40.72874069),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Bernardsville Middle School",'Bernardsville=' + Bernardsville.length); Bound_Brook[Bound_Brook.length] = createMarker(new GPoint(-74.54364014,40.56769943),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Bound Brook High School",'Bound_Brook=' + Bound_Brook.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.65820312,40.56248093),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Bradley Gardens Elementary School",'Bridgewater=' + Bridgewater.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.62689972,40.59040070),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Brdgwtr-raritn High School",'Bridgewater=' + Bridgewater.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.62689972,40.59040070),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Brdgwtr-raritn Middle School",'Bridgewater=' + Bridgewater.length); Basking_Ridge[Basking_Ridge.length] = createMarker(new GPoint(-74.54449463,40.69163132),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Cedar Hill School",'Basking_Ridge=' + Basking_Ridge.length); Warren[Warren.length] = createMarker(new GPoint(-74.42359924,40.61759949),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Central Elementary School",'Warren=' + Warren.length); Somerville[Somerville.length] = createMarker(new GPoint(-74.67179871,40.58060074),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Central Middle School",'Somerville=' + Somerville.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.49426270,40.50571442),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Conerly Road Elementary School",'Somerset=' + Somerset.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.59124756,40.61116028),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Crim Elementary School",'Bridgewater=' + Bridgewater.length); Kingston[Kingston.length] = createMarker(new GPoint(-74.61479950,40.37710571),"",iconGr); mySelect.options[mySelect.options.length] = new Option("E S C Kingston School",'Kingston=' + Kingston.length); N_Plainfield[N_Plainfield.length] = createMarker(new GPoint(-74.42124939,40.62945175),"",iconRd); mySelect.options[mySelect.options.length] = new Option("East End Elementary School",'N_Plainfield=' + N_Plainfield.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.64697266,40.61432266),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Eisenhower Middle School",'Bridgewater=' + Bridgewater.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.53260040,40.54980469),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Elizabeth Ave Elementary School",'Somerset=' + Somerset.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.51535034,40.53418732),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Charter School",'Somerset=' + Somerset.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.48526000,40.49093500),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Franklin Middle School",'Somerset=' + Somerset.length); Franklin_Park[Franklin_Park.length] = createMarker(new GPoint(-74.53870392,40.44221878),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Park Elementary School",'Franklin_Park=' + Franklin_Park.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.48699951,40.48800278),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Franklin Township High School",'Somerset=' + Somerset.length); Green_Brook[Green_Brook.length] = createMarker(new GPoint(-74.46080017,40.59680176),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Green Brook Middle School",'Green_Brook=' + Green_Brook.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.62689972,40.59040070),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hamilton School",'Bridgewater=' + Bridgewater.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.48140717,40.49262619),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Somerset=' + Somerset.length); Hillsborough[Hillsborough.length] = createMarker(new GPoint(-74.64859772,40.44869995),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillsborough Elementary School",'Hillsborough=' + Hillsborough.length); Hillsborough[Hillsborough.length] = createMarker(new GPoint(-74.65311400,40.48255000),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Hillsborough High School",'Hillsborough=' + Hillsborough.length); Hillsborough[Hillsborough.length] = createMarker(new GPoint(-74.64425659,40.51844788),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Hillsborough Middle School",'Hillsborough=' + Hillsborough.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.62945557,40.62926483),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Hillside Middle School",'Bridgewater=' + Bridgewater.length); Green_Brook[Green_Brook.length] = createMarker(new GPoint(-74.47673798,40.59994125),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Irene E Feldkirchner Elementary School",'Green_Brook=' + Green_Brook.length); Raritan[Raritan.length] = createMarker(new GPoint(-74.64797974,40.56766891),"",iconRd); mySelect.options[mySelect.options.length] = new Option("John F Kennedy Elementary School",'Raritan=' + Raritan.length); Bound_Brook[Bound_Brook.length] = createMarker(new GPoint(-74.53563690,40.56431961),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lafayette Elementary School",'Bound_Brook=' + Bound_Brook.length); Liberty_Corner[Liberty_Corner.length] = createMarker(new GPoint(-74.58023834,40.66564941),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Liberty Corner Elementary School",'Liberty_Corner=' + Liberty_Corner.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.50980377,40.50490189),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Macafee Elementary School",'Somerset=' + Somerset.length); Manville[Manville.length] = createMarker(new GPoint(-74.59750366,40.54370117),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Manville High School",'Manville=' + Manville.length); Warren[Warren.length] = createMarker(new GPoint(-74.48844910,40.63975143),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Middle Middle School",'Warren=' + Warren.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.67274100,40.59706700),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Milltown School",'Bridgewater=' + Bridgewater.length); Skillman[Skillman.length] = createMarker(new GPoint(-74.67439270,40.42853546),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Montgomery High School",'Skillman=' + Skillman.length); Skillman[Skillman.length] = createMarker(new GPoint(-74.66794300,40.42451000),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Montgomery Lower Mid School",'Skillman=' + Skillman.length); Skillman[Skillman.length] = createMarker(new GPoint(-74.67439270,40.42853546),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Montgomery Middle School",'Skillman=' + Skillman.length); Basking_Ridge[Basking_Ridge.length] = createMarker(new GPoint(-74.62354279,40.65682983),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Mount Prospect Elementary School",'Basking_Ridge=' + Basking_Ridge.length); Warren[Warren.length] = createMarker(new GPoint(-74.51139832,40.63309860),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Mt. Horeb Elementary School",'Warren=' + Warren.length); N_Plainfield[N_Plainfield.length] = createMarker(new GPoint(-74.44071960,40.62253571),"",iconGr); mySelect.options[mySelect.options.length] = new Option("North Plainfield High School",'N_Plainfield=' + N_Plainfield.length); Basking_Ridge[Basking_Ridge.length] = createMarker(new GPoint(-74.55242920,40.70622253),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak St Elementary School",'Basking_Ridge=' + Basking_Ridge.length); Branchburg[Branchburg.length] = createMarker(new GPoint(-74.69751740,40.55997849),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Old York Elementary School",'Branchburg=' + Branchburg.length); Skillman[Skillman.length] = createMarker(new GPoint(-74.67214966,40.41932678),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Orchard Hill Elementary School",'Skillman=' + Skillman.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.47139740,40.49865341),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Pine Grove Manor Elementary School",'Somerset=' + Somerset.length); Basking_Ridge[Basking_Ridge.length] = createMarker(new GPoint(-74.54887390,40.69515991),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Ridge High School",'Basking_Ridge=' + Basking_Ridge.length); S_Bound_Brook[S_Bound_Brook.length] = createMarker(new GPoint(-74.53170013,40.55430222),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Robert Morris Public School",'S_Bound_Brook=' + S_Bound_Brook.length); Manville[Manville.length] = createMarker(new GPoint(-74.59149933,40.54478455),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Roosevelt School",'Manville=' + Manville.length); Somerset[Somerset.length] = createMarker(new GPoint(-74.52157593,40.49344635),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Sampson G Smith Middle School",'Somerset=' + Somerset.length); Bound_Brook[Bound_Brook.length] = createMarker(new GPoint(-74.54171753,40.57093811),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Smalley Elementary School",'Bound_Brook=' + Bound_Brook.length); N_Plainfield[N_Plainfield.length] = createMarker(new GPoint(-74.42946900,40.62182000),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Somerset",'N_Plainfield=' + N_Plainfield.length); Bridgewater[Bridgewater.length] = createMarker(new GPoint(-74.62310028,40.58980179),"