function addMarkers()
{
mySelect = document.getElementById('selection');
Hartford = [];Suffield = [];West_Hartford = [];Rocky_Hill = [];Wethersfield = [];East_Granby = [];Bristol = [];East_Hartford = [];Newington = [];Avon = [];Manchester = [];Berlin = [];Bloomfield = [];East_Windsor = [];Glastonbury = [];Canton = [];Enfield = [];Simsbury = [];New_Britain = [];Windsor = [];Southington = [];Farmington = [];Broad_Brook = [];South_Windsor = [];Marlborough = [];Granby = [];Plainville = [];Burlington = [];East_Hartland = [];Plantsville = [];Weatogue = [];Kensington = [];Windsor_Locks = [];East_Berlin = [];Tariffville = [];West_Simsbury = [];Unionville = [];mySelect.options[mySelect.options.length] = new Option("Avon schools",'all=Avon');
mySelect.options[mySelect.options.length] = new Option("Berlin schools",'all=Berlin');
mySelect.options[mySelect.options.length] = new Option("Bloomfield schools",'all=Bloomfield');
mySelect.options[mySelect.options.length] = new Option("Bristol schools",'all=Bristol');
mySelect.options[mySelect.options.length] = new Option("Broad Brook schools",'all=Broad_Brook');
mySelect.options[mySelect.options.length] = new Option("Burlington schools",'all=Burlington');
mySelect.options[mySelect.options.length] = new Option("Canton schools",'all=Canton');
mySelect.options[mySelect.options.length] = new Option("East Berlin schools",'all=East_Berlin');
mySelect.options[mySelect.options.length] = new Option("East Granby schools",'all=East_Granby');
mySelect.options[mySelect.options.length] = new Option("East Hartford schools",'all=East_Hartford');
mySelect.options[mySelect.options.length] = new Option("East Hartland schools",'all=East_Hartland');
mySelect.options[mySelect.options.length] = new Option("East Windsor schools",'all=East_Windsor');
mySelect.options[mySelect.options.length] = new Option("Enfield schools",'all=Enfield');
mySelect.options[mySelect.options.length] = new Option("Farmington schools",'all=Farmington');
mySelect.options[mySelect.options.length] = new Option("Glastonbury schools",'all=Glastonbury');
mySelect.options[mySelect.options.length] = new Option("Granby schools",'all=Granby');
mySelect.options[mySelect.options.length] = new Option("Hartford schools",'all=Hartford');
mySelect.options[mySelect.options.length] = new Option("Kensington schools",'all=Kensington');
mySelect.options[mySelect.options.length] = new Option("Manchester schools",'all=Manchester');
mySelect.options[mySelect.options.length] = new Option("Marlborough schools",'all=Marlborough');
mySelect.options[mySelect.options.length] = new Option("New Britain schools",'all=New_Britain');
mySelect.options[mySelect.options.length] = new Option("Newington schools",'all=Newington');
mySelect.options[mySelect.options.length] = new Option("Plainville schools",'all=Plainville');
mySelect.options[mySelect.options.length] = new Option("Plantsville schools",'all=Plantsville');
mySelect.options[mySelect.options.length] = new Option("Rocky Hill schools",'all=Rocky_Hill');
mySelect.options[mySelect.options.length] = new Option("Simsbury schools",'all=Simsbury');
mySelect.options[mySelect.options.length] = new Option("South Windsor schools",'all=South_Windsor');
mySelect.options[mySelect.options.length] = new Option("Southington schools",'all=Southington');
mySelect.options[mySelect.options.length] = new Option("Suffield schools",'all=Suffield');
mySelect.options[mySelect.options.length] = new Option("Tariffville schools",'all=Tariffville');
mySelect.options[mySelect.options.length] = new Option("Unionville schools",'all=Unionville');
mySelect.options[mySelect.options.length] = new Option("Weatogue schools",'all=Weatogue');
mySelect.options[mySelect.options.length] = new Option("West Hartford schools",'all=West_Hartford');
mySelect.options[mySelect.options.length] = new Option("West Simsbury schools",'all=West_Simsbury');
mySelect.options[mySelect.options.length] = new Option("Wethersfield schools",'all=Wethersfield');
mySelect.options[mySelect.options.length] = new Option("Windsor schools",'all=Windsor');
mySelect.options[mySelect.options.length] = new Option("Windsor Locks schools",'all=Windsor_Locks');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Hartford[Hartford.length] = createMarker(new GPoint(-72.70678711,41.74064636),"
",iconGr);
mySelect.options[mySelect.options.length] = new Option("A. I. Prince Vocational School",'Hartford=' + Hartford.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.69604492,41.98924255),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("A. Ward Spaulding School",'Suffield=' + Suffield.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74612427,41.80021667),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Aiken School",'West_Hartford=' + West_Hartford.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.65143585,41.66709900),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Albert D. Griswold Junior High School",'Rocky_Hill=' + Rocky_Hill.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.65863800,41.71579742),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Alfred W. Hanmer School",'Wethersfield=' + Wethersfield.length);
East_Granby[East_Granby.length] = createMarker(new GPoint(-72.73283386,41.94432831),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Allgrove School",'East_Granby=' + East_Granby.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.92497000,41.68484000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Alternative Special Education Program (asep)",'Bristol=' + Bristol.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.63124084,41.78485870),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anna E. Norris School",'East_Hartford=' + East_Hartford.length);
Newington[Newington.length] = createMarker(new GPoint(-72.74755859,41.71578598),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anna Reynolds School",'Newington=' + Newington.length);
Avon[Avon.length] = createMarker(new GPoint(-72.86374664,41.78320313),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Avon High School",'Avon=' + Avon.length);
Avon[Avon.length] = createMarker(new GPoint(-72.86244965,41.79188156),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Avon Middle School",'Avon=' + Avon.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67593384,41.77219009),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Barnard-brown School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70724487,41.73310852),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Batchelder School",'Hartford=' + Hartford.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.52033234,41.76599884),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Bennet Middle School",'Manchester=' + Manchester.length);
Berlin[Berlin.length] = createMarker(new GPoint(-72.75286865,41.62260437),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Berlin High School",'Berlin=' + Berlin.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.73426600,41.86964100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Big Picture High School",'Bloomfield=' + Bloomfield.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.72593689,41.82593155),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Bloomfield High School",'Bloomfield=' + Bloomfield.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.51142883,41.78919983),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bowers School",'Manchester=' + Manchester.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.76116943,41.76283264),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Braeburn School",'West_Hartford=' + West_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69787598,41.74923325),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Breakthrough Charter School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70175934,41.79151917),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Breakthrough Magnet School",'Hartford=' + Hartford.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.65015411,41.98097229),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bridge Street School",'Suffield=' + Suffield.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.95908356,41.66032410),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Bristol Central High School",'Bristol=' + Bristol.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.92486572,41.68492508),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Bristol Eastern High School",'Bristol=' + Bristol.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.71757000,41.76916700),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Bristow Middle School",'West_Hartford=' + West_Hartford.length);
East_Windsor[East_Windsor.length] = createMarker(new GPoint(-72.54623413,41.91056442),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Broad Brook Elementary School",'East_Windsor=' + East_Windsor.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.49221039,41.79332733),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Buckley School",'Manchester=' + Manchester.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.75369263,41.77915573),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bugbee School",'West_Hartford=' + West_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67338562,41.74762344),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Bulkeley High School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69013977,41.76150131),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Burns School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67303467,41.74485397),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Burr School",'Hartford=' + Hartford.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.59828186,41.68952560),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Buttonball Lane School",'Glastonbury=' + Glastonbury.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.66795349,41.75856400),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("C. R. E. C.",'Hartford=' + Hartford.length);
Canton[Canton.length] = createMarker(new GPoint(-72.91971588,41.82210922),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Canton Intermediate School",'Canton=' + Canton.length);
Canton[Canton.length] = createMarker(new GPoint(-72.92054749,41.81247711),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Canton Junior Senior High School",'Canton=' + Canton.length);
Canton[Canton.length] = createMarker(new GPoint(-72.91646800,41.82367800),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Canton Middle School",'Canton=' + Canton.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67261900,41.76831500),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Capitol Preparatory Magnet School",'Hartford=' + Hartford.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.73740900,41.82984000),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Carmen Arace Intermediate School",'Bloomfield=' + Bloomfield.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.71530914,41.82270050),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Carmen Arace Middle School",'Bloomfield=' + Bloomfield.length);
Berlin[Berlin.length] = createMarker(new GPoint(-72.76211548,41.61504364),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Catherine M. Mcgee Middle School",'Berlin=' + Berlin.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.54238129,42.01012039),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Cci/enfield High School",'Enfield=' + Enfield.length);
Simsbury[Simsbury.length] = createMarker(new GPoint(-72.80524445,41.88209534),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Central School",'Simsbury=' + Simsbury.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.75981140,41.67154312),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chamberlain School",'New_Britain=' + New_Britain.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.66796112,41.71632004),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Charles Wright School",'Wethersfield=' + Wethersfield.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.76665497,41.66239166),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Charter Oak Prep Academy",'New_Britain=' + New_Britain.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74370575,41.77149963),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Charter Oak School",'West_Hartford=' + West_Hartford.length);
Canton[Canton.length] = createMarker(new GPoint(-72.91304779,41.85852814),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cherry Brook School",'Canton=' + Canton.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.96788788,41.70021820),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Chippens Hill Middle School",'Bristol=' + Bristol.length);
Bristol[Bristol.length] = createMarker(new GPoint(-85.64542000,30.21128900),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clara T. O'connell School",'Bristol=' + Bristol.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.94906616,41.68139267),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clarence A. Bingham School",'Bristol=' + Bristol.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67735291,41.78704834),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clark School",'Hartford=' + Hartford.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.66222382,41.83231735),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Clover Street School",'Windsor=' + Windsor.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.75391388,41.73595047),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Conard High School",'West_Hartford=' + West_Hartford.length);
East_Windsor[East_Windsor.length] = createMarker(new GPoint(-72.57910100,41.90271800),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Connecticut Children's Place",'East_Windsor=' + East_Windsor.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.61250305,41.74739838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ct International Baccalaureate Academy",'East_Hartford=' + East_Hartford.length);
Southington[Southington.length] = createMarker(new GPoint(-72.87787628,41.60705566),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Derynoski Elementary School",'Southington=' + Southington.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.80773926,41.68665314),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Diloreto Magnet Elementary School",'New_Britain=' + New_Britain.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59533691,41.77639771),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dr. Franklin H. Mayberry Elementary School",'East_Hartford=' + East_Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.60083771,41.79150009),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Dr. John A. Langford School",'East_Hartford=' + East_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68053436,41.73473358),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Dr. Joseph Belizzi Middle School",'Hartford=' + Hartford.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.64115143,41.65010452),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dr. Oran A. Moser School",'Rocky_Hill=' + Rocky_Hill.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67290497,41.75930023),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dr. Ramon E. Betances School",'Hartford=' + Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-80.71336000,28.12303700),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dr. Thomas S. O'connell School",'East_Hartford=' + East_Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.75086212,41.74641418),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Duffy School",'West_Hartford=' + West_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67183685,41.74010086),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dwight School",'Hartford=' + Hartford.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.80695343,41.68683624),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("E. C. Goodwin Vocational School",'New_Britain=' + New_Britain.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.80039215,41.71971512),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("East Farms School",'Farmington=' + Farmington.length);
East_Granby[East_Granby.length] = createMarker(new GPoint(-72.73080444,41.93476486),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("East Granby High School",'East_Granby=' + East_Granby.length);
East_Granby[East_Granby.length] = createMarker(new GPoint(-72.73080444,41.93476486),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("East Granby Middle School",'East_Granby=' + East_Granby.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-83.40751648,34.97636032),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("East Hartford High School",'East_Hartford=' + East_Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.60695648,41.77999115),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("East Hartford Middle School",'East_Hartford=' + East_Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59024048,41.73548889),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("East Hartford/glastonbury Magnet Elementary School",'East_Hartford=' + East_Hartford.length);
Broad_Brook[Broad_Brook.length] = createMarker(new GPoint(-72.54460907,41.92238617),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("East Windsor Middle School",'Broad_Brook=' + Broad_Brook.length);
East_Windsor[East_Windsor.length] = createMarker(new GPoint(-72.61103058,41.90189743),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("East Windsor Senior High School",'East_Windsor=' + East_Windsor.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.53698730,41.69557190),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Eastbury School",'Glastonbury=' + Glastonbury.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.59392548,41.95079422),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edgar H. Parkman School",'Enfield=' + Enfield.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.91996002,41.69961929),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edgewood School",'Bristol=' + Bristol.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.55093384,41.86631012),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Eli Terry School",'South_Windsor=' + South_Windsor.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.55848694,41.98512268),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Eli Whitney School",'Enfield=' + Enfield.length);
Newington[Newington.length] = createMarker(new GPoint(-72.72256470,41.71427536),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elizabeth Green School",'Newington=' + Newington.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.90908813,41.67717743),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ellen P. Hubbell School",'Bristol=' + Bristol.length);
Marlborough[Marlborough.length] = createMarker(new GPoint(-72.45922852,41.62834549),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elmer Thienes-mary Hall Elementary School",'Marlborough=' + Marlborough.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.68128967,41.70182419),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Emerson-williams School",'Wethersfield=' + Wethersfield.length);
Berlin[Berlin.length] = createMarker(new GPoint(-72.75630951,41.61669159),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Emma Hart Willard School",'Berlin=' + Berlin.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.59229279,41.97920990),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Enfield High School",'Enfield=' + Enfield.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.59215546,41.97535324),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Enfield Street School",'Enfield=' + Enfield.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.54163361,42.00267029),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Enrico Fermi High School",'Enfield=' + Enfield.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.86835480,41.74866867),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Farmington High School",'Farmington=' + Farmington.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70747375,41.79164124),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fisher School",'Hartford=' + Hartford.length);
Southington[Southington.length] = createMarker(new GPoint(-72.85059357,41.61644745),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Flanders School",'Southington=' + Southington.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69676971,41.78439713),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fox Middle School",'Hartford=' + Hartford.length);
Granby[Granby.length] = createMarker(new GPoint(-72.79328918,41.93746948),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frank M. Kearns Primary School",'Granby=' + Granby.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.85877991,41.67437744),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frank T. Wheeler School",'Plainville=' + Plainville.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.81153107,41.67594147),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gaffney School",'New_Britain=' + New_Britain.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.54724884,41.69966507),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Gideon Welles School",'Glastonbury=' + Glastonbury.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.59226227,41.70259476),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Glastonbury High School",'Glastonbury=' + Glastonbury.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59019470,41.74223709),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Governor William Pitkin School",'East_Hartford=' + East_Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59022522,41.74229431),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Governor Wm. Pitkin School",'East_Hartford=' + East_Hartford.length);
Granby[Granby.length] = createMarker(new GPoint(-72.79041290,41.96039200),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Granby Memorial High School",'Granby=' + Granby.length);
Granby[Granby.length] = createMarker(new GPoint(-72.79048920,41.96120071),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Granby Memorial Middle School",'Granby=' + Granby.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.56698100,41.76230400),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Great Path Academy At Mcc",'Manchester=' + Manchester.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70090100,41.76557800),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Greater Hartford Classical",'Hartford=' + Hartford.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.89522552,41.66889954),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greene-hills School",'Bristol=' + Bristol.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74678802,41.79491043),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hall High School",'West_Hartford=' + West_Hartford.length);
Burlington[Burlington.length] = createMarker(new GPoint(-72.98952484,41.78145218),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Har-bur Middle School",'Burlington=' + Burlington.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.58833313,41.97029495),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Harriet Beecher Stowe School",'Enfield=' + Enfield.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.66076660,41.79246140),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hartford Community Correctional Center",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68684387,41.75120544),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Hartford Magnet Middle School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68905400,41.77144000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hartford Public High School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68201447,41.76052475),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hartford Transitional Learning Academy",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68186700,41.75935400),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hartford Transitional Learning Academy (seco",'Hartford=' + Hartford.length);
East_Hartland[East_Hartland.length] = createMarker(new GPoint(-72.90724945,41.99668121),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hartland Elementary School",'East_Hartland=' + East_Hartland.length);
Southington[Southington.length] = createMarker(new GPoint(-72.85526276,41.60142517),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hatton School",'Southington=' + Southington.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.54062653,41.99536514),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hazardville Memorial School",'Enfield=' + Enfield.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.59229279,41.97920990),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Head Start Program Elementary School",'Enfield=' + Enfield.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.55931091,41.71757507),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hebron Avenue School",'Glastonbury=' + Glastonbury.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.56246185,42.00289917),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Henry Barnard School",'Enfield=' + Enfield.length);
Simsbury[Simsbury.length] = createMarker(new GPoint(-72.81320190,41.88375854),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Henry James Memorial School",'Simsbury=' + Simsbury.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.68338776,41.68135834),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highcrest School",'Wethersfield=' + Wethersfield.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.49443054,41.77233124),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highland Park School",'Manchester=' + Manchester.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.62893677,41.73669815),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hockanum School",'East_Hartford=' + East_Hartford.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.77586365,41.70423889),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Holmes School",'New_Britain=' + New_Britain.length);
Avon[Avon.length] = createMarker(new GPoint(-72.86199951,41.79259872),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'Avon=' + Avon.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.57199860,41.70759964),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'Glastonbury=' + Glastonbury.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.61142731,41.78022385),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'East_Hartford=' + East_Hartford.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.77870178,41.66569901),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound",'New_Britain=' + New_Britain.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.66699982,41.65790176),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Homebound Elementary School",'Rocky_Hill=' + Rocky_Hill.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.94719696,41.67610168),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound High School",'Bristol=' + Bristol.length);
Southington[Southington.length] = createMarker(new GPoint(-72.87290192,41.60779953),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Homebound High School",'Southington=' + Southington.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.86139679,41.67259979),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Homebound Middle School",'Plainville=' + Plainville.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70124054,41.74078751),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hooker School",'Hartford=' + Hartford.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.55123138,41.68059921),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hopewell School",'Glastonbury=' + Glastonbury.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.56172943,41.78099823),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Howell Cheney Vocational School",'Manchester=' + Manchester.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.53456879,41.78176880),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Illing Middle School",'Manchester=' + Manchester.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.79974365,41.71939087),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Irving A. Robbins Middle School",'Farmington=' + Farmington.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.90131378,41.70630646),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ivy Drive School",'Bristol=' + Bristol.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.73497772,41.82426071),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("J. P. Vincent School",'Bloomfield=' + Bloomfield.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.79860687,41.69516754),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jefferson School",'New_Britain=' + New_Britain.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.56523895,41.95743561),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("John F. Kennedy Middle School",'Enfield=' + Enfield.length);
Plantsville[Plantsville.length] = createMarker(new GPoint(-72.89539337,41.57812881),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("John F. Kennedy Middle School",'Plantsville=' + Plantsville.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.67621613,41.83643341),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John F. Kennedy School",'Windsor=' + Windsor.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.94346619,41.69026566),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John J. Jennings School",'Bristol=' + Bristol.length);
Newington[Newington.length] = createMarker(new GPoint(-72.73875427,41.66956711),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Paterson School",'Newington=' + Newington.length);
Newington[Newington.length] = createMarker(new GPoint(-72.73014832,41.67105865),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("John Wallace Middle School",'Newington=' + Newington.length);
Southington[Southington.length] = createMarker(new GPoint(-72.85779572,41.60651016),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Joseph A. Depaolo Middle School",'Southington=' + Southington.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.60483551,41.73949814),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Joseph O. Goodwin School",'East_Hartford=' + East_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69760895,41.79142761),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jumoke Academy",'Hartford=' + Hartford.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.54106140,41.75526047),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Keeney School",'Manchester=' + Manchester.length);
Granby[Granby.length] = createMarker(new GPoint(-72.81175232,41.96820831),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kelly Lane Intermediate School",'Granby=' + Granby.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69380188,41.73500824),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kennelly School",'Hartford=' + Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74246216,41.79249954),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("King Philip Middle School",'West_Hartford=' + West_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.66493225,41.75503159),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kinsella School",'Hartford=' + Hartford.length);
Burlington[Burlington.length] = createMarker(new GPoint(-72.90718079,41.74240494),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lake Garda Elementary School",'Burlington=' + Burlington.length);
Weatogue[Weatogue.length] = createMarker(new GPoint(-72.82175446,41.84040070),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Latimer Lane School",'Weatogue=' + Weatogue.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.72133636,41.83779907),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Laurel School",'Bloomfield=' + Bloomfield.length);
Burlington[Burlington.length] = createMarker(new GPoint(-72.98952484,41.78145218),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lewis S. Mills High School",'Burlington=' + Burlington.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.80478668,41.65916443),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lincoln School",'New_Britain=' + New_Britain.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.85694885,41.66926193),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Linden Street School",'Plainville=' + Plainville.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70034027,41.76340103),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Little Owls Learning Center",'Hartford=' + Hartford.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.88084412,41.68915176),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Louis Toffolon School",'Plainville=' + Plainville.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68101501,41.74655533),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("M. D. Fox Elementary School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69546509,41.78540421),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("M. L. King School",'Hartford=' + Hartford.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.62841034,41.94810104),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Macdougall Correctional Institute High School",'Suffield=' + Suffield.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.52527618,41.79652786),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Manchester Head Start Elementary School",'Manchester=' + Manchester.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.52922821,41.78283310),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Manchester High School",'Manchester=' + Manchester.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.56643677,41.75878525),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Manchester Regional Academy",'Manchester=' + Manchester.length);
Newington[Newington.length] = createMarker(new GPoint(-72.73249054,41.70969009),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Martin Kellogg Middle School",'Newington=' + Newington.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.51114655,41.75398636),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Martin School",'Manchester=' + Manchester.length);
Kensington[Kensington.length] = createMarker(new GPoint(-72.78539276,41.63629532),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mary E. Griswold School",'Kensington=' + Kensington.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.66453800,41.98346300),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mcalister Intermediate School",'Suffield=' + Suffield.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.66097260,41.98348236),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Mcalister Middle School",'Suffield=' + Suffield.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69787598,41.74923325),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mcdonough School",'Hartford=' + Hartford.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.93894958,41.66989899),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Memorial Boulevard Middle School",'Bristol=' + Bristol.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.70594788,41.82931519),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Metacomet School",'Bloomfield=' + Bloomfield.length);
Bloomfield[Bloomfield.length] = createMarker(new GPoint(-72.71207428,41.82290649),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Metropolitan Learning Center",'Bloomfield=' + Bloomfield.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.88097382,41.68909073),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Middle School Of Plainville",'Plainville=' + Plainville.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68837738,41.78265762),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Milner School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68697357,41.74943924),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Montessori Magnet School",'Hartford=' + Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.73126221,41.76888275),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Morley School",'West_Hartford=' + West_Hartford.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.89872742,41.69462204),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mountain View School",'Bristol=' + Bristol.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69813538,41.74639893),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Moylan School",'Hartford=' + Hartford.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.65741730,41.66895676),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Myrtle H. Stevens School",'Rocky_Hill=' + Rocky_Hill.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.51222992,41.98799515),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Nathan Hale School",'Enfield=' + Enfield.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.52839661,41.76829910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Nathan Hale School",'Manchester=' + Manchester.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.61126709,41.72276688),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Naubuc School",'Glastonbury=' + Glastonbury.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67417908,41.73067474),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Naylor School",'Hartford=' + Hartford.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.80616760,41.65881729),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("New Britain Center For School Readiness",'New_Britain=' + New_Britain.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.77807617,41.65119553),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("New Britain High School",'New_Britain=' + New_Britain.length);
Newington[Newington.length] = createMarker(new GPoint(-72.73420715,41.70011902),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Newington High School",'Newington=' + Newington.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.82974243,41.72139740),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Noah Wallace School",'Farmington=' + Farmington.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.76114655,41.79370880),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Norfeldt School",'West_Hartford=' + West_Hartford.length);
Southington[Southington.length] = createMarker(new GPoint(-72.87815094,41.60599518),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("North Center School",'Southington=' + Southington.length);
Windsor_Locks[Windsor_Locks.length] = createMarker(new GPoint(-72.64903259,41.93807220),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("North Street School",'Windsor_Locks=' + Windsor_Locks.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.90874481,41.71529770),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Northeast Middle School",'Bristol=' + Bristol.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.78002930,41.65697479),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Northend School",'New_Britain=' + New_Britain.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.51741028,41.80846405),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Odyssey Community School",'Manchester=' + Manchester.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.64308167,41.88352203),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oliver Ellsworth School",'Windsor=' + Windsor.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.52971649,41.82741547),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Orchard Hill School",'South_Windsor=' + South_Windsor.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70724487,41.75702286),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Parkville Community Elementary School",'Hartford=' + Hartford.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.66760254,41.85820007),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pathways To Technology Magnet School",'Windsor=' + Windsor.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.51165771,41.84041977),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Philip R. Smith School",'South_Windsor=' + South_Windsor.length);
Avon[Avon.length] = createMarker(new GPoint(-72.85453033,41.77708435),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pine Grove School",'Avon=' + Avon.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.85764313,41.66599655),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Plainville High School",'Plainville=' + Plainville.length);
Plantsville[Plantsville.length] = createMarker(new GPoint(-72.89444733,41.58916855),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Plantsville School",'Plantsville=' + Plantsville.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.59719086,41.81130600),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pleasant Valley School",'South_Windsor=' + South_Windsor.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.67933655,41.90461731),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Poquonock Elementary School",'Windsor=' + Windsor.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.63839722,41.98770142),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prekindergarten Program",'Suffield=' + Suffield.length);
Plainville[Plainville.length] = createMarker(new GPoint(-72.85764313,41.66599655),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prekindergarten Program",'Plainville=' + Plainville.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.57035828,42.01765442),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prudence Crandall School",'Enfield=' + Enfield.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.79165649,41.69805145),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Pulaski Middle School",'New_Britain=' + New_Britain.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68149567,41.77432251),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Quirk Middle School",'Hartford=' + Hartford.length);
East_Granby[East_Granby.length] = createMarker(new GPoint(-72.76999664,41.93485260),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("R. Dudley Seymour School",'East_Granby=' + East_Granby.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70005798,41.79581833),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rawson School",'Hartford=' + Hartford.length);
East_Berlin[East_Berlin.length] = createMarker(new GPoint(-72.72000122,41.61422348),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Richard D. Hubbard School",'East_Berlin=' + East_Berlin.length);
Avon[Avon.length] = createMarker(new GPoint(-72.89111328,41.79331589),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Roaring Brook School",'Avon=' + Avon.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-80.67492300,27.94788200),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robert J. O'brien School",'East_Hartford=' + East_Hartford.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.52536774,41.79729080),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robertson School",'Manchester=' + Manchester.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.51367950,42.01463318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Robinson Correctional Institute High School",'Enfield=' + Enfield.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.63954163,41.66495895),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rocky Hill High School",'Rocky_Hill=' + Rocky_Hill.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.65821838,41.81685638),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Roger Wolcott Early Child Center",'Windsor=' + Windsor.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.76261902,41.66584778),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Roosevelt Middle School",'New_Britain=' + New_Britain.length);
Newington[Newington.length] = createMarker(new GPoint(-72.71463776,41.68249130),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ruth Chaffee School",'Newington=' + Newington.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.65573883,41.84079742),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sage Park Middle School",'Windsor=' + Windsor.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68933868,41.75873184),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sanchez School",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67642975,41.77764130),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sand School",'Hartford=' + Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.75539398,41.75067520),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sedgwick Middle School",'West_Hartford=' + West_Hartford.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.66293335,41.71025467),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Silas Deane Middle School",'Wethersfield=' + Wethersfield.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.63401031,41.76129532),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Silver Lane School",'East_Hartford=' + East_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68174744,41.79474258),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Simpson-waverly School",'Hartford=' + Hartford.length);
Simsbury[Simsbury.length] = createMarker(new GPoint(-72.82424164,41.86999512),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Simsbury High School",'Simsbury=' + Simsbury.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.80616760,41.65881729),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Slade Middle School",'New_Britain=' + New_Britain.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.77152252,41.67745972),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smalley Academy",'New_Britain=' + New_Britain.length);
Glastonbury[Glastonbury.length] = createMarker(new GPoint(-72.57990265,41.72314835),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Smith Middle School",'Glastonbury=' + Glastonbury.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.75782776,41.66148758),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smith School",'New_Britain=' + New_Britain.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.72679901,41.76150131),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smith School",'West_Hartford=' + West_Hartford.length);
Windsor_Locks[Windsor_Locks.length] = createMarker(new GPoint(-72.63854980,41.91852951),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("South Elementary School",'Windsor_Locks=' + Windsor_Locks.length);
Plantsville[Plantsville.length] = createMarker(new GPoint(-72.87369537,41.56900787),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("South End School",'Plantsville=' + Plantsville.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.95332336,41.65798187),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("South Side School",'Bristol=' + Bristol.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.55191803,41.84234619),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("South Windsor High School",'South_Windsor=' + South_Windsor.length);
Southington[Southington.length] = createMarker(new GPoint(-72.87820400,41.60073500),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Southington High School",'Southington=' + Southington.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68877411,41.76396561),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Education Program",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67832184,41.76732254),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sport And Medical Sciences Academy",'Hartford=' + Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.68803406,41.76810074),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sports Science Academy",'Hartford=' + Hartford.length);
Simsbury[Simsbury.length] = createMarker(new GPoint(-72.80693817,41.90129852),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Squadron Line School",'Simsbury=' + Simsbury.length);
Bristol[Bristol.length] = createMarker(new GPoint(-72.91804504,41.68919754),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Stafford School",'Bristol=' + Bristol.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59606400,41.75554100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Stevens Alternate High School",'East_Hartford=' + East_Hartford.length);
Plantsville[Plantsville.length] = createMarker(new GPoint(-72.91973114,41.57384109),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Strong School",'Plantsville=' + Plantsville.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.66384888,41.98344803),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Suffield High School",'Suffield=' + Suffield.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59999084,41.76484680),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sunset Ridge School",'East_Hartford=' + East_Hartford.length);
Tariffville[Tariffville.length] = createMarker(new GPoint(-72.76693726,41.90949631),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tariffville School",'Tariffville=' + Tariffville.length);
Southington[Southington.length] = createMarker(new GPoint(-72.86218262,41.64658356),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thalberg School",'Southington=' + Southington.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.59425354,41.99375534),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas G. Alcorn School",'Enfield=' + Enfield.length);
Avon[Avon.length] = createMarker(new GPoint(-72.85008240,41.77170944),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Thompson Brook School",'Avon=' + Avon.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.52388763,41.82889175),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Timothy Edwards School",'South_Windsor=' + South_Windsor.length);
West_Simsbury[West_Simsbury.length] = createMarker(new GPoint(-80.20811400,25.90946900),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tootin' Hills School",'West_Simsbury=' + West_Simsbury.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.59435272,41.78512955),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Transitional Education Program",'East_Hartford=' + East_Hartford.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.87876129,41.70668411),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Tunxis Middle College High School",'Farmington=' + Farmington.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70388794,41.80410004),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Twain School",'Hartford=' + Hartford.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.64548400,41.76646500),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Two Rivers Middle Magnet School",'East_Hartford=' + East_Hartford.length);
Unionville[Unionville.length] = createMarker(new GPoint(-72.88934326,41.75876999),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Union School",'Unionville=' + Unionville.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70589400,41.77460700),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("University High School",'Hartford=' + Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.71669006,41.79405212),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("University Of Hartford Magnet School",'West_Hartford=' + West_Hartford.length);
Southington[Southington.length] = createMarker(new GPoint(-72.89532471,41.61141586),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Urbin T. Kelley School",'Southington=' + Southington.length);
New_Britain[New_Britain.length] = createMarker(new GPoint(-72.79248047,41.65460587),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Vance School",'New_Britain=' + New_Britain.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.55333710,41.77381516),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Verplanck School",'Manchester=' + Manchester.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.53550720,41.78400040),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Waddell School",'Manchester=' + Manchester.length);
Suffield[Suffield.length] = createMarker(new GPoint(-72.62841034,41.94814682),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Walker Reception Center",'Suffield=' + Suffield.length);
South_Windsor[South_Windsor.length] = createMarker(new GPoint(-72.55577087,41.84505844),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wapping Elementary School",'South_Windsor=' + South_Windsor.length);
Manchester[Manchester.length] = createMarker(new GPoint(-72.53311157,41.76792526),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Washington School",'Manchester=' + Manchester.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.70605469,41.80006790),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Weaver High School",'Hartford=' + Hartford.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.69068146,41.69921875),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Webb Kindergarten Center",'Wethersfield=' + Wethersfield.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74044037,41.74390030),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Webster Hill School",'West_Hartford=' + West_Hartford.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.71149445,41.76886368),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Webster School",'Hartford=' + Hartford.length);
Granby[Granby.length] = createMarker(new GPoint(-72.80790710,41.99119186),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wells Road Intermediate School",'Granby=' + Granby.length);
Unionville[Unionville.length] = createMarker(new GPoint(-72.87967682,41.73785400),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West District School",'Unionville=' + Unionville.length);
Rocky_Hill[Rocky_Hill.length] = createMarker(new GPoint(-72.67956543,41.66256332),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Hill School",'Rocky_Hill=' + Rocky_Hill.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.69502258,41.77065277),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Middle School",'Hartford=' + Hartford.length);
Farmington[Farmington.length] = createMarker(new GPoint(-72.87411499,41.70970917),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("West Woods Upper Elementary School",'Farmington=' + Farmington.length);
Wethersfield[Wethersfield.length] = createMarker(new GPoint(-72.66850281,41.70779800),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Wethersfield High School",'Wethersfield=' + Wethersfield.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.72390747,41.76340866),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Whiting Lane School",'West_Hartford=' + West_Hartford.length);
Enfield[Enfield.length] = createMarker(new GPoint(-72.51367950,42.01463318),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Willard/cybulski Correctional Institute High School",'Enfield=' + Enfield.length);
East_Hartford[East_Hartford.length] = createMarker(new GPoint(-72.63756561,41.74555588),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Willowbrook Early Childhood Elementary School",'East_Hartford=' + East_Hartford.length);
Windsor[Windsor.length] = createMarker(new GPoint(-72.65702057,41.84265518),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Windsor High School",'Windsor=' + Windsor.length);
Windsor_Locks[Windsor_Locks.length] = createMarker(new GPoint(-72.64793396,41.91959763),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Windsor Locks High School",'Windsor_Locks=' + Windsor_Locks.length);
Windsor_Locks[Windsor_Locks.length] = createMarker(new GPoint(-72.63316345,41.92623138),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Windsor Locks Middle School",'Windsor_Locks=' + Windsor_Locks.length);
Hartford[Hartford.length] = createMarker(new GPoint(-72.67683411,41.79495239),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wish School",'Hartford=' + Hartford.length);
West_Hartford[West_Hartford.length] = createMarker(new GPoint(-72.74785614,41.72562027),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wolcott School",'West_Hartford=' + West_Hartford.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(Avon);
map.removeOverlays(Berlin);
map.removeOverlays(Bloomfield);
map.removeOverlays(Bristol);
map.removeOverlays(Broad_Brook);
map.removeOverlays(Burlington);
map.removeOverlays(Canton);
map.removeOverlays(East_Berlin);
map.removeOverlays(East_Granby);
map.removeOverlays(East_Hartford);
map.removeOverlays(East_Hartland);
map.removeOverlays(East_Windsor);
map.removeOverlays(Enfield);
map.removeOverlays(Farmington);
map.removeOverlays(Glastonbury);
map.removeOverlays(Granby);
map.removeOverlays(Hartford);
map.removeOverlays(Kensington);
map.removeOverlays(Manchester);
map.removeOverlays(Marlborough);
map.removeOverlays(New_Britain);
map.removeOverlays(Newington);
map.removeOverlays(Plainville);
map.removeOverlays(Plantsville);
map.removeOverlays(Rocky_Hill);
map.removeOverlays(Simsbury);
map.removeOverlays(South_Windsor);
map.removeOverlays(Southington);
map.removeOverlays(Suffield);
map.removeOverlays(Tariffville);
map.removeOverlays(Unionville);
map.removeOverlays(Weatogue);
map.removeOverlays(West_Hartford);
map.removeOverlays(West_Simsbury);
map.removeOverlays(Wethersfield);
map.removeOverlays(Windsor);
map.removeOverlays(Windsor_Locks);
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(Hartford);map.removeOverlays(Avon);
map.removeOverlays(Berlin);
map.removeOverlays(Bloomfield);
map.removeOverlays(Bristol);
map.removeOverlays(Broad_Brook);
map.removeOverlays(Burlington);
map.removeOverlays(Canton);
map.removeOverlays(East_Berlin);
map.removeOverlays(East_Granby);
map.removeOverlays(East_Hartford);
map.removeOverlays(East_Hartland);
map.removeOverlays(East_Windsor);
map.removeOverlays(Enfield);
map.removeOverlays(Farmington);
map.removeOverlays(Glastonbury);
map.removeOverlays(Granby);
map.removeOverlays(Hartford);
map.removeOverlays(Kensington);
map.removeOverlays(Manchester);
map.removeOverlays(Marlborough);
map.removeOverlays(New_Britain);
map.removeOverlays(Newington);
map.removeOverlays(Plainville);
map.removeOverlays(Plantsville);
map.removeOverlays(Rocky_Hill);
map.removeOverlays(Simsbury);
map.removeOverlays(South_Windsor);
map.removeOverlays(Southington);
map.removeOverlays(Suffield);
map.removeOverlays(Tariffville);
map.removeOverlays(Unionville);
map.removeOverlays(Weatogue);
map.removeOverlays(West_Hartford);
map.removeOverlays(West_Simsbury);
map.removeOverlays(Wethersfield);
map.removeOverlays(Windsor);
map.removeOverlays(Windsor_Locks);
map.addOverlays(Avon);
centerByArray(Avon, false, false);
cntMarker += Avon.length;
map.addOverlays(Berlin);
centerByArray(Berlin, false, false);
cntMarker += Berlin.length;
map.addOverlays(Bloomfield);
centerByArray(Bloomfield, false, false);
cntMarker += Bloomfield.length;
map.addOverlays(Bristol);
centerByArray(Bristol, false, false);
cntMarker += Bristol.length;
map.addOverlays(Broad_Brook);
centerByArray(Broad_Brook, false, false);
cntMarker += Broad_Brook.length;
map.addOverlays(Burlington);
centerByArray(Burlington, false, false);
cntMarker += Burlington.length;
map.addOverlays(Canton);
centerByArray(Canton, false, false);
cntMarker += Canton.length;
map.addOverlays(East_Berlin);
centerByArray(East_Berlin, false, false);
cntMarker += East_Berlin.length;
map.addOverlays(East_Granby);
centerByArray(East_Granby, false, false);
cntMarker += East_Granby.length;
map.addOverlays(East_Hartford);
centerByArray(East_Hartford, false, false);
cntMarker += East_Hartford.length;
map.addOverlays(East_Hartland);
centerByArray(East_Hartland, false, false);
cntMarker += East_Hartland.length;
map.addOverlays(East_Windsor);
centerByArray(East_Windsor, false, false);
cntMarker += East_Windsor.length;
map.addOverlays(Enfield);
centerByArray(Enfield, false, false);
cntMarker += Enfield.length;
map.addOverlays(Farmington);
centerByArray(Farmington, false, false);
cntMarker += Farmington.length;
map.addOverlays(Glastonbury);
centerByArray(Glastonbury, false, false);
cntMarker += Glastonbury.length;
map.addOverlays(Granby);
centerByArray(Granby, false, false);
cntMarker += Granby.length;
map.addOverlays(Hartford);
centerByArray(Hartford, false, false);
cntMarker += Hartford.length;
map.addOverlays(Kensington);
centerByArray(Kensington, false, false);
cntMarker += Kensington.length;
map.addOverlays(Manchester);
centerByArray(Manchester, false, false);
cntMarker += Manchester.length;
map.addOverlays(Marlborough);
centerByArray(Marlborough, false, false);
cntMarker += Marlborough.length;
map.addOverlays(New_Britain);
centerByArray(New_Britain, false, false);
cntMarker += New_Britain.length;
map.addOverlays(Newington);
centerByArray(Newington, false, false);
cntMarker += Newington.length;
map.addOverlays(Plainville);
centerByArray(Plainville, false, false);
cntMarker += Plainville.length;
map.addOverlays(Plantsville);
centerByArray(Plantsville, false, false);
cntMarker += Plantsville.length;
map.addOverlays(Rocky_Hill);
centerByArray(Rocky_Hill, false, false);
cntMarker += Rocky_Hill.length;
map.addOverlays(Simsbury);
centerByArray(Simsbury, false, false);
cntMarker += Simsbury.length;
map.addOverlays(South_Windsor);
centerByArray(South_Windsor, false, false);
cntMarker += South_Windsor.length;
map.addOverlays(Southington);
centerByArray(Southington, false, false);
cntMarker += Southington.length;
map.addOverlays(Suffield);
centerByArray(Suffield, false, false);
cntMarker += Suffield.length;
map.addOverlays(Tariffville);
centerByArray(Tariffville, false, false);
cntMarker += Tariffville.length;
map.addOverlays(Unionville);
centerByArray(Unionville, false, false);
cntMarker += Unionville.length;
map.addOverlays(Weatogue);
centerByArray(Weatogue, false, false);
cntMarker += Weatogue.length;
map.addOverlays(West_Hartford);
centerByArray(West_Hartford, false, false);
cntMarker += West_Hartford.length;
map.addOverlays(West_Simsbury);
centerByArray(West_Simsbury, false, false);
cntMarker += West_Simsbury.length;
map.addOverlays(Wethersfield);
centerByArray(Wethersfield, false, false);
cntMarker += Wethersfield.length;
map.addOverlays(Windsor);
centerByArray(Windsor, false, false);
cntMarker += Windsor.length;
map.addOverlays(Windsor_Locks);
centerByArray(Windsor_Locks, false, false);
cntMarker += Windsor_Locks.length;
centerByArray(Hartford,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');
}
}