function addMarkers()
{
mySelect = document.getElementById('selection');
Guilford = [];North_Haven = [];Madison = [];Wolcott = [];Prospect = [];Hamden = [];West_Haven = [];Milford = [];New_Haven = [];Bethany = [];Orange = [];Woodbridge = [];Naugatuck = [];Seymour = [];Ansonia = [];Waterbury = [];Meriden = [];Derby = [];Branford = [];Cheshire = [];Northford = [];Wallingford = [];East_Haven = [];Southbury = [];Oxford = [];North_Branford = [];Beacon_Falls = [];Middlebury = [];Shelton = [];mySelect.options[mySelect.options.length] = new Option("Ansonia schools",'all=Ansonia');
mySelect.options[mySelect.options.length] = new Option("Beacon Falls schools",'all=Beacon_Falls');
mySelect.options[mySelect.options.length] = new Option("Bethany schools",'all=Bethany');
mySelect.options[mySelect.options.length] = new Option("Branford schools",'all=Branford');
mySelect.options[mySelect.options.length] = new Option("Cheshire schools",'all=Cheshire');
mySelect.options[mySelect.options.length] = new Option("Derby schools",'all=Derby');
mySelect.options[mySelect.options.length] = new Option("East Haven schools",'all=East_Haven');
mySelect.options[mySelect.options.length] = new Option("Guilford schools",'all=Guilford');
mySelect.options[mySelect.options.length] = new Option("Hamden schools",'all=Hamden');
mySelect.options[mySelect.options.length] = new Option("Madison schools",'all=Madison');
mySelect.options[mySelect.options.length] = new Option("Meriden schools",'all=Meriden');
mySelect.options[mySelect.options.length] = new Option("Middlebury schools",'all=Middlebury');
mySelect.options[mySelect.options.length] = new Option("Milford schools",'all=Milford');
mySelect.options[mySelect.options.length] = new Option("Naugatuck schools",'all=Naugatuck');
mySelect.options[mySelect.options.length] = new Option("New Haven schools",'all=New_Haven');
mySelect.options[mySelect.options.length] = new Option("North Branford schools",'all=North_Branford');
mySelect.options[mySelect.options.length] = new Option("North Haven schools",'all=North_Haven');
mySelect.options[mySelect.options.length] = new Option("Northford schools",'all=Northford');
mySelect.options[mySelect.options.length] = new Option("Orange schools",'all=Orange');
mySelect.options[mySelect.options.length] = new Option("Oxford schools",'all=Oxford');
mySelect.options[mySelect.options.length] = new Option("Prospect schools",'all=Prospect');
mySelect.options[mySelect.options.length] = new Option("Seymour schools",'all=Seymour');
mySelect.options[mySelect.options.length] = new Option("Shelton schools",'all=Shelton');
mySelect.options[mySelect.options.length] = new Option("Southbury schools",'all=Southbury');
mySelect.options[mySelect.options.length] = new Option("Wallingford schools",'all=Wallingford');
mySelect.options[mySelect.options.length] = new Option("Waterbury schools",'all=Waterbury');
mySelect.options[mySelect.options.length] = new Option("West Haven schools",'all=West_Haven');
mySelect.options[mySelect.options.length] = new Option("Wolcott schools",'all=Wolcott');
mySelect.options[mySelect.options.length] = new Option("Woodbridge schools",'all=Woodbridge');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Guilford[Guilford.length] = createMarker(new GPoint(-72.72163391,41.33799744),"
",iconBl);
mySelect.options[mySelect.options.length] = new Option("A. Baldwin Middle School",'Guilford=' + Guilford.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.88642120,41.36883163),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("A. C. E. S.",'North_Haven=' + North_Haven.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.69529724,41.28583145),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("A. W. Cox School",'Guilford=' + Guilford.length);
Madison[Madison.length] = createMarker(new GPoint(-72.60051727,41.27933884),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Academy Elementary School",'Madison=' + Madison.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-72.96057129,41.62365341),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Alcott School",'Wolcott=' + Wolcott.length);
Prospect[Prospect.length] = createMarker(new GPoint(-72.97452545,41.49732971),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Algonquin School",'Prospect=' + Prospect.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.90166400,41.38396500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Alice Peck School",'Hamden=' + Hamden.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.98811340,41.24209595),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Alma E. Pagels School",'West_Haven=' + West_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-73.00890350,41.23835373),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Alternate Education Program High School",'Milford=' + Milford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.90393829,41.31402588),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Amistad Academy",'New_Haven=' + New_Haven.length);
Bethany[Bethany.length] = createMarker(new GPoint(-73.00846863,41.41556931),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Amity Regional Junior High School: Bethany",'Bethany=' + Bethany.length);
Orange[Orange.length] = createMarker(new GPoint(-73.00524902,41.30069733),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Amity Regional Junior High School: Orange",'Orange=' + Orange.length);
Woodbridge[Woodbridge.length] = createMarker(new GPoint(-73.01104736,41.35519791),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Amity Regional Senior High School",'Woodbridge=' + Woodbridge.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.06616211,41.48394012),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Andrew Avenue School",'Naugatuck=' + Naugatuck.length);
Seymour[Seymour.length] = createMarker(new GPoint(-73.07119751,41.38870239),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anna L. Lopresti School",'Seymour=' + Seymour.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.97809601,41.27749634),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anna V. Molloy School",'West_Haven=' + West_Haven.length);
Ansonia[Ansonia.length] = createMarker(new GPoint(-73.06408691,41.32962418),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ansonia High School",'Ansonia=' + Ansonia.length);
Ansonia[Ansonia.length] = createMarker(new GPoint(-73.08388519,41.34075928),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Ansonia Middle School",'Ansonia=' + Ansonia.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.05207062,41.53623199),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("B. W. Tinker School",'Waterbury=' + Waterbury.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.06159973,41.55279922),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Barnard School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.95243073,41.31027985),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Barnard School",'New_Haven=' + New_Haven.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92654419,41.39039612),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bear Path School",'Hamden=' + Hamden.length);
Woodbridge[Woodbridge.length] = createMarker(new GPoint(-73.00758362,41.33660889),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beecher Road Intermediate School",'Woodbridge=' + Woodbridge.length);
Woodbridge[Woodbridge.length] = createMarker(new GPoint(-73.01007800,41.33569800),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beecher Road Primary School",'Woodbridge=' + Woodbridge.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.95400238,41.32561874),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beecher School",'New_Haven=' + New_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.78948975,41.53283310),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Benjamin Franklin School",'Meriden=' + Meriden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.88999939,41.30087662),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Benjamin Jepson Magnet School",'New_Haven=' + New_Haven.length);
Bethany[Bethany.length] = createMarker(new GPoint(-73.00092316,41.42190552),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bethany Community School",'Bethany=' + Bethany.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.87575531,41.32293701),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Betsy Ross Arts Magnet School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.86993408,41.32707977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bishop Woods School",'New_Haven=' + New_Haven.length);
Derby[Derby.length] = createMarker(new GPoint(-73.06413269,41.31917953),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bradley School",'Derby=' + Derby.length);
Branford[Branford.length] = createMarker(new GPoint(-72.80054474,41.28936768),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Branford High School",'Branford=' + Branford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.06159973,41.55279922),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brooklyn Elementary School",'Waterbury=' + Waterbury.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03045654,41.59954071),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bucks Hill School",'Waterbury=' + Waterbury.length);
Seymour[Seymour.length] = createMarker(new GPoint(-73.09241486,41.38687515),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bungay School",'Seymour=' + Seymour.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.06311798,41.56732941),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bunker Hill School",'Waterbury=' + Waterbury.length);
Milford[Milford.length] = createMarker(new GPoint(-73.02880859,41.21326447),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Calf Pen Meadow School",'Milford=' + Milford.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.67024231,41.28294754),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Calvin Leete School",'Guilford=' + Guilford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.08422089,41.57110596),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Carrington School",'Waterbury=' + Waterbury.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.80484772,41.52339935),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Casimir Pulaski School",'Meriden=' + Meriden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93660700,41.31714100),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Celentano School",'New_Haven=' + New_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.05099487,41.48880768),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Central Avenue School",'Naugatuck=' + Naugatuck.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.89662933,41.51900864),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chapman School",'Cheshire=' + Cheshire.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.89717865,41.52274704),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cheshire Correctional Center",'Cheshire=' + Cheshire.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.90492249,41.48924637),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cheshire High School",'Cheshire=' + Cheshire.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.89934540,41.30879593),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Christopher Columbus Academy",'New_Haven=' + New_Haven.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.93415070,41.35399628),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Church Street School",'Hamden=' + Hamden.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.03276825,41.49247360),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("City Hill Middle School",'Naugatuck=' + Naugatuck.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.95404816,41.28029633),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clarence E. Thompson School",'West_Haven=' + West_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94548798,41.34963989),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clarence Rogers School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93834686,41.29759598),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clemente Leadership Academy",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.89261627,41.31856155),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clinton Avenue School",'New_Haven=' + New_Haven.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.83092499,41.39211273),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clintonville Elementary School",'North_Haven=' + North_Haven.length);
Northford[Northford.length] = createMarker(new GPoint(-72.83821869,41.38632965),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Collaborative Alternative Magnet School",'Northford=' + Northford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.95864868,41.33936691),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Common Ground High School",'New_Haven=' + New_Haven.length);
Prospect[Prospect.length] = createMarker(new GPoint(-72.97811127,41.50115204),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Community School",'Prospect=' + Prospect.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.91462708,41.30360031),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Conte/west Hills Magnet Elementary School",'New_Haven=' + New_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.85910797,41.45883942),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cook Hill School",'Wallingford=' + Wallingford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.91893768,41.31271744),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cooperative High School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-72.97414398,41.54777527),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Crosby High School",'Waterbury=' + Waterbury.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.04644012,41.47010040),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Cross Street School",'Naugatuck=' + Naugatuck.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.86698914,41.25497437),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("D. C. Moore School",'East_Haven=' + East_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.81994629,41.43399811),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Dag Hammarskjold School",'Wallingford=' + Wallingford.length);
Madison[Madison.length] = createMarker(new GPoint(-72.62063599,41.29707336),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Daniel Hand High School",'Madison=' + Madison.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.94113922,41.53719330),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Darcey School",'Cheshire=' + Cheshire.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.97404480,41.32849884),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Davis 21st Century Magnet Elementary School",'New_Haven=' + New_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.83510590,41.32461929),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Deer Run School",'East_Haven=' + East_Haven.length);
Derby[Derby.length] = createMarker(new GPoint(-73.09820557,41.33587265),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Derby High School",'Derby=' + Derby.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.90557861,41.51009750),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Dodd Middle School",'Cheshire=' + Cheshire.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.85214233,41.33399582),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dominick H. Ferrara School",'East_Haven=' + East_Haven.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.92368317,41.49991989),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Doolittle School",'Cheshire=' + Cheshire.length);
Madison[Madison.length] = createMarker(new GPoint(-72.62950134,41.34091949),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Dr. Robert H. Brown School",'Madison=' + Madison.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.04295349,41.56402969),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Driggs School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.94124603,41.36499786),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dunbar Hill School",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93902600,41.30999300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dwight Early Childhood Program",'New_Haven=' + New_Haven.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.68547821,41.29084778),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("E. C. Adams Middle School",'Guilford=' + Guilford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.95994568,41.32769775),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Early Learning Center",'New_Haven=' + New_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.87572479,41.27516556),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("East Haven Academy",'East_Haven=' + East_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.87504578,41.27699661),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("East Haven High School",'East_Haven=' + East_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.90805054,41.31933212),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("East Rock Global Studies Magnet Elementary School",'New_Haven=' + New_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-73.00120544,41.22821045),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("East Shore Middle School",'Milford=' + Milford.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.95977020,41.26913452),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Edgar C. Stiles School",'West_Haven=' + West_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.96017456,41.31753540),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edgewood School",'New_Haven=' + New_Haven.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.96747589,41.25849533),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edith E. Mackrille School",'West_Haven=' + West_Haven.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.91614532,41.38198471),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Eli Whitney Vocational School",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.88787800,41.29958300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elm City College Preparatory School",'New_Haven=' + New_Haven.length);
Ansonia[Ansonia.length] = createMarker(new GPoint(-73.07871400,41.34316000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Emmett O'brien Technical High School",'Ansonia=' + Ansonia.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.05620400,41.48777300),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Enlightenment School",'Waterbury=' + Waterbury.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.81674194,41.43317795),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Evarts C. Stevens School",'Wallingford=' + Wallingford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.04570007,41.57149506),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("F. J. Kingsbury School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.89486694,41.30909729),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fair Haven Middle School",'New_Haven=' + New_Haven.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.96841431,41.29776382),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Forest School",'West_Haven=' + West_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.77445221,41.53137970),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Francis T. Maloney High School",'Meriden=' + Meriden.length);
Branford[Branford.length] = createMarker(new GPoint(-72.78202057,41.28562164),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Francis Walsh Intermediate",'Branford=' + Branford.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-72.97844696,41.57755280),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frisbie School",'Wolcott=' + Wolcott.length);
Southbury[Southbury.length] = createMarker(new GPoint(-73.22225952,41.47895050),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gainfield Elementary School",'Southbury=' + Southbury.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.02873993,41.52389526),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gilmartin School",'Waterbury=' + Waterbury.length);
Oxford[Oxford.length] = createMarker(new GPoint(-73.14373779,41.42669296),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Great Oak School",'Oxford=' + Oxford.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.86478424,41.40534973),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Green Acres Elementary School",'North_Haven=' + North_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.92506409,41.31433105),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Grove J. Tuttle School",'East_Haven=' + East_Haven.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.71248627,41.31430435),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Guilford High School",'Guilford=' + Guilford.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.69017792,41.35147095),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Guilford Lakes School",'Guilford=' + Guilford.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.83187103,41.52867889),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("H. C. Wilcox Vocational School",'Meriden=' + Meriden.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.00595093,41.55319595),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("H. S. Chase School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92074585,41.36699677),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hamden High School",'Hamden=' + Hamden.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92664337,41.33874130),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hamden Middle School",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94681800,41.33097600),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hamden Transition Academy",'New_Haven=' + New_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.79694366,41.53524780),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hanover School",'Meriden=' + Meriden.length);
Milford[Milford.length] = createMarker(new GPoint(-73.06105042,41.22329712),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Harborside Middle School",'Milford=' + Milford.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.97676849,41.25348663),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Harry M. Bailey Middle School",'West_Haven=' + West_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.84125519,41.31675720),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hays School",'East_Haven=' + East_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.05528900,41.49069500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Head Start At City Hill Middle School",'Naugatuck=' + Naugatuck.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92581940,41.29938126),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Headstart Elementary School",'New_Haven=' + New_Haven.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.94349670,41.34941864),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Helen Street School",'Hamden=' + Hamden.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.89593506,41.35995102),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("High Meadows",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92301178,41.30129623),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("High School In Community",'New_Haven=' + New_Haven.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.89962006,41.51099014),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highland School",'Cheshire=' + Cheshire.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.81469727,41.46089935),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highland School",'Wallingford=' + Wallingford.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92169189,41.34641647),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highville Mustard Seed Charter School",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93548584,41.29532623),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hill Central School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.91714478,41.30448914),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hill Regional Career High School",'New_Haven=' + New_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.05852509,41.49224854),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hillside Middle School",'Naugatuck=' + Naugatuck.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-72.97969818,41.59609985),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'Wolcott=' + Wolcott.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93569946,41.29520035),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'New_Haven=' + New_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.78099823,41.53079987),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'Meriden=' + Meriden.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.87740326,41.31669998),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound High School",'East_Haven=' + East_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.05445099,41.50159454),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hop Brook School",'Naugatuck=' + Naugatuck.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03432465,41.53275681),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hopeville School",'Waterbury=' + Waterbury.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.90354919,41.49966431),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Humiston School",'Cheshire=' + Cheshire.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.93640900,41.35421753),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hyde Leadership School",'Hamden=' + Hamden.length);
Branford[Branford.length] = createMarker(new GPoint(-72.80784607,41.26759720),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Indian Neck School",'Branford=' + Branford.length);
Derby[Derby.length] = createMarker(new GPoint(-73.08862305,41.32785416),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Irving School",'Derby=' + Derby.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93392181,41.31893158),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Isadore Wexler School",'New_Haven=' + New_Haven.length);
Madison[Madison.length] = createMarker(new GPoint(-72.60095978,41.27763748),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Island Avenue Elementary School",'Madison=' + Madison.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.79181671,41.52944946),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Israel Putnam School",'Meriden=' + Meriden.length);
Milford[Milford.length] = createMarker(new GPoint(-73.09079742,41.21485138),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("J. F. Kennedy School",'Milford=' + Milford.length);
Madison[Madison.length] = createMarker(new GPoint(-72.61513519,41.29636765),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("J. Milton Jeffrey Elementary School",'Madison=' + Madison.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94255066,41.32889557),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("J. Robinson Middle School",'New_Haven=' + New_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.83383942,41.48466873),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("James H. Moran Middle School",'Wallingford=' + Wallingford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93808746,41.32271576),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("James Hillhouse High School",'New_Haven=' + New_Haven.length);
North_Branford[North_Branford.length] = createMarker(new GPoint(-72.81090546,41.32939148),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jerome Harrison School",'North_Branford=' + North_Branford.length);
Branford[Branford.length] = createMarker(new GPoint(-72.81239319,41.27918243),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John B. Sliney School",'Branford=' + Branford.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.80289459,41.54541397),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Barry School",'Meriden=' + Meriden.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.05615997,41.54595184),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("John F. Kennedy High School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.90279900,41.30516000),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John S. Martinez School",'New_Haven=' + New_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-73.08785248,41.20389557),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Jonathan Law High School",'Milford=' + Milford.length);
Milford[Milford.length] = createMarker(new GPoint(-73.01316071,41.21784210),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Joseph A. Foran High School",'Milford=' + Milford.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.86764526,41.28519058),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Joseph Melillo Middle School",'East_Haven=' + East_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94528198,41.34954071),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Katherine Brennan School",'New_Haven=' + New_Haven.length);
Madison[Madison.length] = createMarker(new GPoint(-72.62953949,41.34099197),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kathleen H. Ryerson Elementary School",'Madison=' + Madison.length);
Beacon_Falls[Beacon_Falls.length] = createMarker(new GPoint(-73.06118774,41.44700623),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Laurel Ledge School",'Beacon_Falls=' + Beacon_Falls.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.80751038,41.53820038),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lincoln Middle School",'Meriden=' + Meriden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93044281,41.33149719),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lincoln-bassett School",'New_Haven=' + New_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-72.99617004,41.23751831),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Live Oaks School",'Milford=' + Milford.length);
Middlebury[Middlebury.length] = createMarker(new GPoint(-73.15299988,41.50431442),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Long Meadow Elementary School",'Middlebury=' + Middlebury.length);
Prospect[Prospect.length] = createMarker(new GPoint(-72.97834015,41.50276184),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Long River Middle School",'Prospect=' + Prospect.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.82212067,41.43644333),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lyman Hall High School",'Wallingford=' + Wallingford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03694916,41.55459595),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maloney Interdistrict Magnet Elementary School",'Waterbury=' + Waterbury.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.89787292,41.52472687),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Manson Youth Institution High School",'Cheshire=' + Cheshire.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.01420593,41.49468994),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maple Hill School",'Naugatuck=' + Naugatuck.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-72.98198700,41.54595947),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Margaret M. Generali Elementary School",'Waterbury=' + Waterbury.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.83393097,41.48456192),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mark T. Sheehan High School",'Wallingford=' + Wallingford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-82.46405029,28.23285675),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Martin Luther King School",'New_Haven=' + New_Haven.length);
Orange[Orange.length] = createMarker(new GPoint(-73.02384949,41.27929688),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mary L. Tracy School",'Orange=' + Orange.length);
Branford[Branford.length] = createMarker(new GPoint(-72.78762817,41.28347397),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mary R. Tisko School",'Branford=' + Branford.length);
Branford[Branford.length] = createMarker(new GPoint(-72.81932068,41.29332352),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mary T. Murphy School",'Branford=' + Branford.length);
Milford[Milford.length] = createMarker(new GPoint(-73.06126404,41.23863602),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mathewson School",'Milford=' + Milford.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.97214508,41.29039764),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("May V. Carrigan Middle School",'West_Haven=' + West_Haven.length);
Ansonia[Ansonia.length] = createMarker(new GPoint(-73.05087280,41.33558655),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mead School",'Ansonia=' + Ansonia.length);
Milford[Milford.length] = createMarker(new GPoint(-73.07469177,41.21146011),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Meadowside School",'Milford=' + Milford.length);
Guilford[Guilford.length] = createMarker(new GPoint(-72.72753143,41.36866760),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Melissa Jones School",'Guilford=' + Guilford.length);
Middlebury[Middlebury.length] = createMarker(new GPoint(-73.11650085,41.52809906),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Memorial Middle School",'Middlebury=' + Middlebury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.96839905,41.32960129),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Metropolitan Business High School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-72.97365570,41.54301453),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Michael F. Wallace Middle School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93569946,41.29520035),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Microsociety Magnet School",'New_Haven=' + New_Haven.length);
Middlebury[Middlebury.length] = createMarker(new GPoint(-73.11650085,41.52809906),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Middlebury Elementary School",'Middlebury=' + Middlebury.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.87283325,41.24870300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Momauguin School",'East_Haven=' + East_Haven.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.85065460,41.35459518),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Montowese Elementary School",'North_Haven=' + North_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.81114960,41.46937561),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Moses Y. Beach School",'Wallingford=' + Wallingford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92166138,41.30870438),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Museum Lab School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.87560272,41.27769852),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Nathan Hale School",'New_Haven=' + New_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.77484894,41.54294586),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Nathan Hale School",'Meriden=' + Meriden.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.07477570,41.49095154),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Naugatuck High School",'Naugatuck=' + Naugatuck.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92272949,41.32557297),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("New Haven Academy",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94084930,41.31606293),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("New Haven Community Correctional Center",'New_Haven=' + New_Haven.length);
North_Branford[North_Branford.length] = createMarker(new GPoint(-72.80268860,41.33389282),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("North Branford High School",'North_Branford=' + North_Branford.length);
North_Branford[North_Branford.length] = createMarker(new GPoint(-72.79997253,41.33261108),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("North Branford Intermediate",'North_Branford=' + North_Branford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03002167,41.60570145),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("North End Middle School",'Waterbury=' + Waterbury.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.85164642,41.37384415),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("North Haven High School",'North_Haven=' + North_Haven.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.85951233,41.37706757),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("North Haven Middle School",'North_Haven=' + North_Haven.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.91912079,41.47816086),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Norton School",'Cheshire=' + Cheshire.length);
Milford[Milford.length] = createMarker(new GPoint(-73.05001831,41.23776245),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Orange Avenue School",'Milford=' + Milford.length);
Milford[Milford.length] = createMarker(new GPoint(-73.02207184,41.22079849),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Orchard Hills School",'Milford=' + Milford.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.82504272,41.53499985),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Orville H. Platt High School",'Meriden=' + Meriden.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.88237762,41.27690125),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Overbrook School",'East_Haven=' + East_Haven.length);
Oxford[Oxford.length] = createMarker(new GPoint(-73.11766815,41.43521500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oxford Center School",'Oxford=' + Oxford.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.83528137,41.47623825),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Parker Farms School",'Wallingford=' + Wallingford.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.83800507,41.31831360),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pathways",'East_Haven=' + East_Haven.length);
Seymour[Seymour.length] = createMarker(new GPoint(-73.05564880,41.40215683),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Paul Chatfield School",'Seymour=' + Seymour.length);
Orange[Orange.length] = createMarker(new GPoint(-73.02873993,41.26504517),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Peck Place School",'Orange=' + Orange.length);
Milford[Milford.length] = createMarker(new GPoint(-73.04405212,41.25159836),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Platt Vocational School",'Milford=' + Milford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93906403,41.29759598),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Polly T Mccabe Center",'New_Haven=' + New_Haven.length);
Southbury[Southbury.length] = createMarker(new GPoint(-73.16360474,41.50131226),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pomperaug Regional High School",'Southbury=' + Southbury.length);
Southbury[Southbury.length] = createMarker(new GPoint(-73.21331787,41.49361038),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pomperaug School",'Southbury=' + Southbury.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.81684113,41.41879654),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pond Hill School",'Wallingford=' + Wallingford.length);
Ansonia[Ansonia.length] = createMarker(new GPoint(-73.05880737,41.33239365),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prendergast Elementary School",'Ansonia=' + Ansonia.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93151855,41.30116653),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prince School",'New_Haven=' + New_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.04289246,41.50108719),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prospect Street School",'Naugatuck=' + Naugatuck.length);
Milford[Milford.length] = createMarker(new GPoint(-73.07883453,41.20418930),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pumpkin Delight School",'Milford=' + Milford.length);
Oxford[Oxford.length] = createMarker(new GPoint(-73.14427185,41.42773056),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Quaker Farms School",'Oxford=' + Oxford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.88288879,41.30896378),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Quinnipiac School",'New_Haven=' + New_Haven.length);
Orange[Orange.length] = createMarker(new GPoint(-73.00508118,41.29142380),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Race Brook School",'Orange=' + Orange.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.02712250,41.59275055),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Regan School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.89868927,41.34655762),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ridge Hill School",'Hamden=' + Hamden.length);
North_Haven[North_Haven.length] = createMarker(new GPoint(-72.89646149,41.37162018),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ridge Road Elementary School",'North_Haven=' + North_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92875671,41.30730820),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Riverside Educational Academy",'New_Haven=' + New_Haven.length);
East_Haven[East_Haven.length] = createMarker(new GPoint(-72.86764526,41.28519058),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robert W. Carbone School",'East_Haven=' + East_Haven.length);
Southbury[Southbury.length] = createMarker(new GPoint(-73.22322083,41.46880722),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Rochambeau Middle School",'Southbury=' + Southbury.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.78768158,41.45680618),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rock Hill School",'Wallingford=' + Wallingford.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.78283691,41.53543091),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Roger Sherman School",'Meriden=' + Meriden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.87734400,41.32352600),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ross/woodward School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-72.97063446,41.55070877),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rotella Interdistrict Magnet School",'Waterbury=' + Waterbury.length);
Shelton[Shelton.length] = createMarker(new GPoint(-73.05787659,41.48695755),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Salem School",'Shelton=' + Shelton.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.94074249,41.26146317),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Savin Rock Community School",'West_Haven=' + West_Haven.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.04765800,41.49660200),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("School Readiness Program",'Naugatuck=' + Naugatuck.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.97825623,41.24224472),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seth G. Haley School",'West_Haven=' + West_Haven.length);
Seymour[Seymour.length] = createMarker(new GPoint(-73.09384155,41.38214111),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Seymour High School",'Seymour=' + Seymour.length);
Seymour[Seymour.length] = createMarker(new GPoint(-73.07522583,41.39199448),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Seymour Middle School",'Seymour=' + Seymour.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92453766,41.37961578),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Shepherd Glen School",'Hamden=' + Hamden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.96595764,41.32711029),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sheridan Communications And Technology Magnet Middle School",'New_Haven=' + New_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-73.08772278,41.19253540),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Simon Lake School",'Milford=' + Milford.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.92871857,41.28210831),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sound School",'New_Haven=' + New_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.82324219,41.46372223),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Alternative Middle High School",'Wallingford=' + Wallingford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.02960968,41.60647202),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Special Education Preschool",'Waterbury=' + Waterbury.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.04983521,41.58644104),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sprague School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.90737152,41.36802292),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Spring Glen School",'Hamden=' + Hamden.length);
Northford[Northford.length] = createMarker(new GPoint(-72.79502869,41.38874054),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Stanley T. Williams School",'Northford=' + Northford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.04530334,41.55619431),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("State Street School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.88504791,41.30789566),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Strong Traditional Magnet Academy",'New_Haven=' + New_Haven.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.77921295,41.55425644),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Thomas Edison Magnet Middle School",'Meriden=' + Meriden.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.77889600,41.51826600),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas Hooker School",'Meriden=' + Meriden.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93836975,41.31164932),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Timothy Dwight School",'New_Haven=' + New_Haven.length);
Northford[Northford.length] = createMarker(new GPoint(-72.79165649,41.39262772),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Totoket Valley Elementary School",'Northford=' + Northford.length);
Madison[Madison.length] = createMarker(new GPoint(-72.57566833,41.29451752),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Town Campus Kindergarten Center",'Madison=' + Madison.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94268036,41.31299591),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Troup Middle School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94141388,41.29289627),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Truman School",'New_Haven=' + New_Haven.length);
Orange[Orange.length] = createMarker(new GPoint(-73.04300690,41.28776169),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Turkey Hill School",'Orange=' + Orange.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-72.96721649,41.55648041),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Tyrrell Middle School",'Wolcott=' + Wolcott.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93534851,41.32291031),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Urban Youth Center Elementary School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93524933,41.33508682),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Urban Youth Center Middle School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.94264984,41.30599594),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Vincent E. Mauro School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.06486511,41.57481766),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("W. F. Kaynor Vocational School",'Waterbury=' + Waterbury.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-73.01057434,41.60908127),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wakelee School",'Wolcott=' + Wolcott.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03071594,41.55760574),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Walsh School",'Waterbury=' + Waterbury.length);
Madison[Madison.length] = createMarker(new GPoint(-72.60959625,41.30619812),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Walter C. Polson Upper Middle School",'Madison=' + Madison.length);
Meriden[Meriden.length] = createMarker(new GPoint(-72.78060150,41.55137634),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Washington Middle School",'Meriden=' + Meriden.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03416443,41.54327011),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Washington School",'Waterbury=' + Waterbury.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.96559906,41.27170181),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Washington School",'West_Haven=' + West_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.03701600,41.55450500),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Waterbury Arts Magnet School",'Waterbury=' + Waterbury.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.04615500,41.55408200),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Waterbury Arts Magnet School (high)",'Waterbury=' + Waterbury.length);
Cheshire[Cheshire.length] = createMarker(new GPoint(-72.89961243,41.52538300),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Webster Correctional Institute High School",'Cheshire=' + Cheshire.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93055725,41.30145645),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Welch Annex School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.01302338,41.53244400),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wendell L. Cross School",'Waterbury=' + Waterbury.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.95363617,41.26153564),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("West Haven High School",'West_Haven=' + West_Haven.length);
West_Haven[West_Haven.length] = createMarker(new GPoint(-72.95363617,41.26153564),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Haven School Readiness Program",'West_Haven=' + West_Haven.length);
Milford[Milford.length] = createMarker(new GPoint(-73.09856415,41.19258499),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("West Shore Middle School",'Milford=' + Milford.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.06260681,41.54735947),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("West Side Middle School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.92774963,41.43279648),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Woods School",'Hamden=' + Hamden.length);
Naugatuck[Naugatuck.length] = createMarker(new GPoint(-73.06893921,41.49387360),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Western School",'Naugatuck=' + Naugatuck.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.93392181,41.31893158),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wexler/grant School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.90904236,41.32421112),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Wilbur Cross High School",'New_Haven=' + New_Haven.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.02960968,41.60647202),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Wilby High School",'Waterbury=' + Waterbury.length);
Hamden[Hamden.length] = createMarker(new GPoint(-72.96248627,41.35786819),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wintergreen Interdist Magnet Elementary School",'Hamden=' + Hamden.length);
Wolcott[Wolcott.length] = createMarker(new GPoint(-72.97745514,41.60929871),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Wolcott High School",'Wolcott=' + Wolcott.length);
Beacon_Falls[Beacon_Falls.length] = createMarker(new GPoint(-73.07965088,41.42412949),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Woodland Regional High School",'Beacon_Falls=' + Beacon_Falls.length);
Waterbury[Waterbury.length] = createMarker(new GPoint(-73.07740784,41.56471634),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodrow Wilson School",'Waterbury=' + Waterbury.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.89299011,41.28987885),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodward School",'New_Haven=' + New_Haven.length);
New_Haven[New_Haven.length] = createMarker(new GPoint(-72.91386414,41.32396317),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Worthington Hooker School",'New_Haven=' + New_Haven.length);
Wallingford[Wallingford.length] = createMarker(new GPoint(-72.82434082,41.49179459),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Yalesville School",'Wallingford=' + Wallingford.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(Ansonia);
map.removeOverlays(Beacon_Falls);
map.removeOverlays(Bethany);
map.removeOverlays(Branford);
map.removeOverlays(Cheshire);
map.removeOverlays(Derby);
map.removeOverlays(East_Haven);
map.removeOverlays(Guilford);
map.removeOverlays(Hamden);
map.removeOverlays(Madison);
map.removeOverlays(Meriden);
map.removeOverlays(Middlebury);
map.removeOverlays(Milford);
map.removeOverlays(Naugatuck);
map.removeOverlays(New_Haven);
map.removeOverlays(North_Branford);
map.removeOverlays(North_Haven);
map.removeOverlays(Northford);
map.removeOverlays(Orange);
map.removeOverlays(Oxford);
map.removeOverlays(Prospect);
map.removeOverlays(Seymour);
map.removeOverlays(Shelton);
map.removeOverlays(Southbury);
map.removeOverlays(Wallingford);
map.removeOverlays(Waterbury);
map.removeOverlays(West_Haven);
map.removeOverlays(Wolcott);
map.removeOverlays(Woodbridge);
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(Guilford);map.removeOverlays(Ansonia);
map.removeOverlays(Beacon_Falls);
map.removeOverlays(Bethany);
map.removeOverlays(Branford);
map.removeOverlays(Cheshire);
map.removeOverlays(Derby);
map.removeOverlays(East_Haven);
map.removeOverlays(Guilford);
map.removeOverlays(Hamden);
map.removeOverlays(Madison);
map.removeOverlays(Meriden);
map.removeOverlays(Middlebury);
map.removeOverlays(Milford);
map.removeOverlays(Naugatuck);
map.removeOverlays(New_Haven);
map.removeOverlays(North_Branford);
map.removeOverlays(North_Haven);
map.removeOverlays(Northford);
map.removeOverlays(Orange);
map.removeOverlays(Oxford);
map.removeOverlays(Prospect);
map.removeOverlays(Seymour);
map.removeOverlays(Shelton);
map.removeOverlays(Southbury);
map.removeOverlays(Wallingford);
map.removeOverlays(Waterbury);
map.removeOverlays(West_Haven);
map.removeOverlays(Wolcott);
map.removeOverlays(Woodbridge);
map.addOverlays(Ansonia);
centerByArray(Ansonia, false, false);
cntMarker += Ansonia.length;
map.addOverlays(Beacon_Falls);
centerByArray(Beacon_Falls, false, false);
cntMarker += Beacon_Falls.length;
map.addOverlays(Bethany);
centerByArray(Bethany, false, false);
cntMarker += Bethany.length;
map.addOverlays(Branford);
centerByArray(Branford, false, false);
cntMarker += Branford.length;
map.addOverlays(Cheshire);
centerByArray(Cheshire, false, false);
cntMarker += Cheshire.length;
map.addOverlays(Derby);
centerByArray(Derby, false, false);
cntMarker += Derby.length;
map.addOverlays(East_Haven);
centerByArray(East_Haven, false, false);
cntMarker += East_Haven.length;
map.addOverlays(Guilford);
centerByArray(Guilford, false, false);
cntMarker += Guilford.length;
map.addOverlays(Hamden);
centerByArray(Hamden, false, false);
cntMarker += Hamden.length;
map.addOverlays(Madison);
centerByArray(Madison, false, false);
cntMarker += Madison.length;
map.addOverlays(Meriden);
centerByArray(Meriden, false, false);
cntMarker += Meriden.length;
map.addOverlays(Middlebury);
centerByArray(Middlebury, false, false);
cntMarker += Middlebury.length;
map.addOverlays(Milford);
centerByArray(Milford, false, false);
cntMarker += Milford.length;
map.addOverlays(Naugatuck);
centerByArray(Naugatuck, false, false);
cntMarker += Naugatuck.length;
map.addOverlays(New_Haven);
centerByArray(New_Haven, false, false);
cntMarker += New_Haven.length;
map.addOverlays(North_Branford);
centerByArray(North_Branford, false, false);
cntMarker += North_Branford.length;
map.addOverlays(North_Haven);
centerByArray(North_Haven, false, false);
cntMarker += North_Haven.length;
map.addOverlays(Northford);
centerByArray(Northford, false, false);
cntMarker += Northford.length;
map.addOverlays(Orange);
centerByArray(Orange, false, false);
cntMarker += Orange.length;
map.addOverlays(Oxford);
centerByArray(Oxford, false, false);
cntMarker += Oxford.length;
map.addOverlays(Prospect);
centerByArray(Prospect, false, false);
cntMarker += Prospect.length;
map.addOverlays(Seymour);
centerByArray(Seymour, false, false);
cntMarker += Seymour.length;
map.addOverlays(Shelton);
centerByArray(Shelton, false, false);
cntMarker += Shelton.length;
map.addOverlays(Southbury);
centerByArray(Southbury, false, false);
cntMarker += Southbury.length;
map.addOverlays(Wallingford);
centerByArray(Wallingford, false, false);
cntMarker += Wallingford.length;
map.addOverlays(Waterbury);
centerByArray(Waterbury, false, false);
cntMarker += Waterbury.length;
map.addOverlays(West_Haven);
centerByArray(West_Haven, false, false);
cntMarker += West_Haven.length;
map.addOverlays(Wolcott);
centerByArray(Wolcott, false, false);
cntMarker += Wolcott.length;
map.addOverlays(Woodbridge);
centerByArray(Woodbridge, false, false);
cntMarker += Woodbridge.length;
centerByArray(Guilford,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');
}
}