function addMarkers() { mySelect = document.getElementById('selection'); Titusville = [];Cocoa = [];Merritt_Island = [];Palm_Bay = [];Rockledge = [];Viera = [];Port_St_John = [];Cape_Canaveral = [];West_Melbourne = [];Cocoa_Beach = [];Melbourne = [];Satellite_Beach = [];Mims = [];Melbourne_Beach = [];Indialantic = [];Indian_Harbour_Beach = [];Scottsmoor = [];Sebastian = [];mySelect.options[mySelect.options.length] = new Option("Cape Canaveral schools",'all=Cape_Canaveral'); mySelect.options[mySelect.options.length] = new Option("Cocoa schools",'all=Cocoa'); mySelect.options[mySelect.options.length] = new Option("Cocoa Beach schools",'all=Cocoa_Beach'); mySelect.options[mySelect.options.length] = new Option("Indialantic schools",'all=Indialantic'); mySelect.options[mySelect.options.length] = new Option("Indian Harbour Beach schools",'all=Indian_Harbour_Beach'); mySelect.options[mySelect.options.length] = new Option("Melbourne schools",'all=Melbourne'); mySelect.options[mySelect.options.length] = new Option("Melbourne Beach schools",'all=Melbourne_Beach'); mySelect.options[mySelect.options.length] = new Option("Merritt Island schools",'all=Merritt_Island'); mySelect.options[mySelect.options.length] = new Option("Mims schools",'all=Mims'); mySelect.options[mySelect.options.length] = new Option("Palm Bay schools",'all=Palm_Bay'); mySelect.options[mySelect.options.length] = new Option("Port St John schools",'all=Port_St_John'); mySelect.options[mySelect.options.length] = new Option("Rockledge schools",'all=Rockledge'); mySelect.options[mySelect.options.length] = new Option("Satellite Beach schools",'all=Satellite_Beach'); mySelect.options[mySelect.options.length] = new Option("Scottsmoor schools",'all=Scottsmoor'); mySelect.options[mySelect.options.length] = new Option("Sebastian schools",'all=Sebastian'); mySelect.options[mySelect.options.length] = new Option("Titusville schools",'all=Titusville'); mySelect.options[mySelect.options.length] = new Option("Viera schools",'all=Viera'); mySelect.options[mySelect.options.length] = new Option("West Melbourne schools",'all=West_Melbourne'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Titusville[Titusville.length] = createMarker(new GPoint(-80.81990814,28.57138252),"
Andrew Jackson Middle School
1515 Knox Mcrae Drive
Titusville, FL 32780

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Andrew Jackson Middle School",'Titusville=' + Titusville.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.84240723,28.57987022),"
Apollo Elementary School
3085 Knox Mcrae Drive
Titusville, FL 32780

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Apollo Elementary School",'Titusville=' + Titusville.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.85007477,28.62558556),"
Astronaut High School
800 War Eagle Boulevard
Titusville, FL 32796

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Astronaut High School",'Titusville=' + Titusville.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.79528046,28.48777962),"
Atlantis Elementary School
7300 Briggs Avenue
Cocoa, FL 32927

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Atlantis Elementary School",'Cocoa=' + Cocoa.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.66844940,28.37719727),"
Audubon Elementary School
1201 N Banana River Drive
Merritt Island, FL 32952

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Audubon Elementary School",'Merritt_Island=' + Merritt_Island.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.67560577,27.93769836),"
Bayside High School
1901 Degroodt Road Sw
Palm Bay, FL 32908

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bayside High School",'Palm_Bay=' + Palm_Bay.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72233900,28.34304800),"
Brevard Achievement Center
220 Raider Road
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brevard Achievement Center",'Rockledge=' + Rockledge.length); Viera[Viera.length] = createMarker(new GPoint(-80.73790900,28.24569000),"
Brevard County Superintendent's Office
12700 Judge Fran Jamieson Way
Viera, FL 32940

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brevard County Superintendent's Office",'Viera=' + Viera.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.75027466,28.38248253),"
Cambridge Elementary School
2000 Cambridge Drive
Cocoa, FL 32922

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cambridge Elementary School",'Cocoa=' + Cocoa.length); Port_St_John[Port_St_John.length] = createMarker(new GPoint(-80.77027893,28.48034477),"
Campus Charter School
3805 Curtis Boulevard
Port St. John, FL 32927

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Campus Charter School",'Port_St_John=' + Port_St_John.length); Cape_Canaveral[Cape_Canaveral.length] = createMarker(new GPoint(-80.59977722,28.39373207),"
Cape View Elementary School
8440 N Rosalind Avenue
Cape Canaveral, FL 32920

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cape View Elementary School",'Cape_Canaveral=' + Cape_Canaveral.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.78740692,28.41102219),"
Center For Drug Free Living
3905 Grissom Parkway
Cocoa, FL 32926

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Center For Drug Free Living",'Cocoa=' + Cocoa.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72233900,28.34304800),"
Central Area Arc Center
220 Raider Road
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Central Area Arc Center",'Rockledge=' + Rockledge.length); West_Melbourne[West_Melbourne.length] = createMarker(new GPoint(-80.66115570,28.06072044),"
Central Middle School
2600 Wingate Boulevard
West Melbourne, FL 32904

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Central Middle School",'West_Melbourne=' + West_Melbourne.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.80168152,28.46570969),"
Challenger 7 Elementary School
6135 Rena Drive
Cocoa, FL 32927

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Challenger 7 Elementary School",'Cocoa=' + Cocoa.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.73485900,28.33268900),"
Children's Interagency Program
91700 Cedar Street
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Children's Interagency Program",'Rockledge=' + Rockledge.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.67397308,28.00857544),"
Christa Mcauliffe Elementary School
155 Del Mundo Street Nw
Palm Bay, FL 32907

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Christa Mcauliffe Elementary School",'Palm_Bay=' + Palm_Bay.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.75486755,28.37622070),"
Clearlake Middle School
1225 Clearlake Road
Cocoa, FL 32922

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Clearlake Middle School",'Cocoa=' + Cocoa.length); Cocoa_Beach[Cocoa_Beach.length] = createMarker(new GPoint(-80.62708282,28.31848335),"
Cocoa Beach Junior/senior High School
1500 Minutemen Causeway
Cocoa Beach, FL 32931

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cocoa Beach Junior/senior High School",'Cocoa_Beach=' + Cocoa_Beach.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.76539612,28.38176918),"
Cocoa High School
2000 Tiger Trail
Cocoa, FL 32926

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cocoa High School",'Cocoa=' + Cocoa.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.73235321,28.33161354),"
Cogswell Offsite Alt Abeyance
1535 N Cogswell Street
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cogswell Offsite Alt Abeyance",'Rockledge=' + Rockledge.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.63622284,27.96673775),"
Columbia Elementary School
1225 Waco Boulevard Se
Palm Bay, FL 32909

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Columbia Elementary School",'Palm_Bay=' + Palm_Bay.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.81104279,28.56472969),"
Coquina Elementary School
850 Knox Mcrae Drive
Titusville, FL 32780

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Coquina Elementary School",'Titusville=' + Titusville.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.74249268,28.37369728),"
Crosswinds
1407 Dixon Boulevard
Cocoa, FL 32922

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Crosswinds",'Cocoa=' + Cocoa.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.65517426,28.13044739),"
Croton Elementary School
1449 Croton Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Croton Elementary School",'Melbourne=' + Melbourne.length); Satellite_Beach[Satellite_Beach.length] = createMarker(new GPoint(-80.59677124,28.18318939),"
Delaura Middle School
300 Jackson Avenue
Satellite Beach, FL 32937

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Delaura Middle School",'Satellite_Beach=' + Satellite_Beach.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.78466797,28.44820595),"
Detention Center
5225 Dewitt Avenue
Cocoa, FL 32927

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Detention Center",'Cocoa=' + Cocoa.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.78466797,28.44820595),"
Detention Center (formerly Brevard Juvenile Detent
5225 Dewitt Avenue
Cocoa, FL 32927

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Detention Center (formerly Brevard Juvenile Detent",'Cocoa=' + Cocoa.length); Viera[Viera.length] = createMarker(new GPoint(-80.60704041,28.08328819),"
Devereau Hospital
8000 Devereau Drive
Viera, FL 32940

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Devereau Hospital",'Viera=' + Viera.length); Mims[Mims.length] = createMarker(new GPoint(-80.84030151,28.66017532),"
Devereux Center At Normandy School
2327 Harry T. Moore Ave.
Mims, FL 32754

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Devereux Center At Normandy School",'Mims=' + Mims.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.82365417,28.60766411),"
Devereux Center At Whispering Hills (formerly Deve
800 Lane Avenue
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Devereux Center At Whispering Hills (formerly Deve",'Titusville=' + Titusville.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67187500,28.14160538),"
Devereux South Pine Grove (i
2175 North Wickham Road
Melbourne, FL 32735

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Devereux South Pine Grove (i",'Melbourne=' + Melbourne.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.71980286,28.02945328),"
Discovery Elementary School
1275 Glendale Avenue Nw
Palm Bay, FL 32907

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Discovery Elementary School",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.64327240,28.13929176),"
Dr. W.j. Creel Elementary School
2000 Glenwood Drive
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dr. W.j. Creel Elementary School",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62145233,28.05441093),"
Early Intervention Center
3661 S Babcock Street
Melbourne, FL 32901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Early Intervention Center",'Melbourne=' + Melbourne.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.62295100,27.99745600),"
Easter Seals Florida, Inc.
6050 Babcock Se, Ste 18
Palm Bay, FL 32909

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Easter Seals Florida, Inc.",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.68307495,28.07440948),"
Eau Gallie High School
1400 Commodore Boulevard
Melbourne, FL 32935

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Eau Gallie High School",'Melbourne=' + Melbourne.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.69532776,28.36148453),"
Edgewood Junior/senior High School
180 E Merritt Avenue
Merritt Island, FL 32953

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Edgewood Junior/senior High School",'Merritt_Island=' + Merritt_Island.length); West_Melbourne[West_Melbourne.length] = createMarker(new GPoint(-80.67256927,28.08605194),"
Educational Horizons Charter
1281 S Wickham Road
West Melbourne, FL 32904

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Educational Horizons Charter",'West_Melbourne=' + West_Melbourne.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.79630280,28.39130020),"
Einstein Montessori
5650 Highway 520
Cocoa, FL 32926

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Einstein Montessori",'Cocoa=' + Cocoa.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.74647522,28.36967468),"
Endeavour Elementary Magnet
905 Pineda Street
Cocoa, FL 32922

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Endeavour Elementary Magnet",'Cocoa=' + Cocoa.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.82360077,28.47597504),"
Enterprise Elementary School
7000 Enterprise Road
Cocoa, FL 32927

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Enterprise Elementary School",'Cocoa=' + Cocoa.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.67187500,28.14160538),"
Ese Infants And Toddlers
5650 S. Washington Avenue
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ese Infants And Toddlers",'Titusville=' + Titusville.length); West_Melbourne[West_Melbourne.length] = createMarker(new GPoint(-80.70051575,28.09878540),"
Explorer Elementary Middle Charter
9150 Ellis Road
West Melbourne, FL 32904

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Explorer Elementary Middle Charter",'West_Melbourne=' + West_Melbourne.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.76174164,28.43888092),"
Fairglen Elementary School
201 Indian Trail
Cocoa, FL 32927

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fairglen Elementary School",'Cocoa=' + Cocoa.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.81900024,28.56049919),"
Fieldston Preparatory School
2940 Columbia Boulevard
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fieldston Preparatory School",'Titusville=' + Titusville.length); Cocoa_Beach[Cocoa_Beach.length] = createMarker(new GPoint(-80.61326599,28.31128502),"
Freedom 7 Elementary/international Studies Elementary School
400 4th Street South
Cocoa Beach, FL 32931

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Freedom 7 Elementary/international Studies Elementary School",'Cocoa_Beach=' + Cocoa_Beach.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.70660400,28.37955475),"
Gardendale Magnet Elementary School
301 Grove Boulevard
Merritt Island, FL 32953

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gardendale Magnet Elementary School",'Merritt_Island=' + Merritt_Island.length); Melbourne_Beach[Melbourne_Beach.length] = createMarker(new GPoint(-80.55257416,28.05279541),"
Gemini Elementary School
2100 Oak Street
Melbourne Beach, FL 32951

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gemini Elementary School",'Melbourne_Beach=' + Melbourne_Beach.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.74267578,28.33714485),"
Golfview Elementary Magnet School
1530 Fiske Boulevard S
Rockledge, FL 32955

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Golfview Elementary Magnet School",'Rockledge=' + Rockledge.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.79021454,28.54497337),"
Halfway House
5332 Riveredge Drive
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Halfway House",'Titusville=' + Titusville.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.74277496,28.31028557),"
Hans Christian Andersen Elementary School
3011 S Fiske Boulevard
Rockledge, FL 32955

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hans Christian Andersen Elementary School",'Rockledge=' + Rockledge.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.65125900,28.14133000),"
Harbor City Elementary School
1377 Sarno Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harbor City Elementary School",'Melbourne=' + Melbourne.length); Indialantic[Indialantic.length] = createMarker(new GPoint(-80.57415009,28.10029030),"
Herbert C. Hoover Middle School
2000 Hawk Haven Drive
Indialantic, FL 32903

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Herbert C. Hoover Middle School",'Indialantic=' + Indialantic.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72599792,28.30319977),"
Horace Mann Academy
555 Solutions Way
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Horace Mann Academy",'Rockledge=' + Rockledge.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.81145477,28.54286385),"
Imperial Estates Elementary School
900 Imperial Estates Lane
Titusville, FL 32780

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Imperial Estates Elementary School",'Titusville=' + Titusville.length); Indialantic[Indialantic.length] = createMarker(new GPoint(-80.57157135,28.09239388),"
Indialantic Elementary School
1050 N Palm Avenue
Indialantic, FL 32903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Indialantic Elementary School",'Indialantic=' + Indialantic.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.85102844,28.63696098),"
James Madison Middle School
3375 Dairy Road
Titusville, FL 32796

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("James Madison Middle School",'Titusville=' + Titusville.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.74278259,28.32638550),"
John F. Kennedy Middle School
2100 Fiske Boulevard S
Rockledge, FL 32955

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("John F. Kennedy Middle School",'Rockledge=' + Rockledge.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.66089630,27.98741913),"
John F. Turner, Senior Elementary School
3175 Jupiter Boulevard Se
Palm Bay, FL 32909

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("John F. Turner, Senior Elementary School",'Palm_Bay=' + Palm_Bay.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.69855499,27.98786354),"
Jupiter Elementary School
950 Tupelo Road Sw
Palm Bay, FL 32908

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jupiter Elementary School",'Palm_Bay=' + Palm_Bay.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.70055389,28.39456367),"
Lewis Carroll Elementary School
One Skyline Boulevard
Merritt Island, FL 32953

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lewis Carroll Elementary School",'Merritt_Island=' + Merritt_Island.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.65844727,28.02473640),"
Lockmar Elementary School
525 Pepper Street Ne
Palm Bay, FL 32907

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lockmar Elementary School",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67207336,28.17569160),"
Longleaf Elementary School
4290 N Wickham Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Longleaf Elementary School",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.65517426,28.14228439),"
Lyndon B. Johnson Middle School
2155 Croton Road
Melbourne, FL 32935

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lyndon B. Johnson Middle School",'Melbourne=' + Melbourne.length); Viera[Viera.length] = createMarker(new GPoint(-80.69110107,28.22220039),"
Manatee Elementary School
3425 Solerno Boulevard
Viera, FL 32940

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Manatee Elementary School",'Viera=' + Viera.length); West_Melbourne[West_Melbourne.length] = createMarker(new GPoint(-80.66770935,28.06127167),"
Meadowlane Elementary School
2800 Wingate Boulevard
West Melbourne, FL 32904

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meadowlane Elementary School",'West_Melbourne=' + West_Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62019348,28.08879471),"
Melbourne Senior High School
74 Bulldog Boulevard
Melbourne, FL 32901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Melbourne Senior High School",'Melbourne=' + Melbourne.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.69236900,28.36141000),"
Merritt Island Senior High School
100 E Mustang Way
Merritt Island, FL 32953

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Merritt Island Senior High School",'Merritt_Island=' + Merritt_Island.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.70317841,28.36138344),"
Mila Elementary School
288 W Merritt Avenue
Merritt Island, FL 32953

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mila Elementary School",'Merritt_Island=' + Merritt_Island.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.57834625,28.03151131),"
Milestones Community Charter
4400 S Dixie Highway, Ne
Palm Bay, FL 32905

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Milestones Community Charter",'Palm_Bay=' + Palm_Bay.length); Mims[Mims.length] = createMarker(new GPoint(-80.84670258,28.66842651),"
Mims Elementary School
2582 Highway 1
Mims, FL 32754

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mims Elementary School",'Mims=' + Mims.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.85235596,28.63695335),"
Oakpark Elementary School
3395 Dairy Road
Titusville, FL 32796

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakpark Elementary School",'Titusville=' + Titusville.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.62197300,27.96748000),"
Oakwood Academy
7145 S Babcock St Se
Palm Bay, FL 32909

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Oakwood Academy",'Palm_Bay=' + Palm_Bay.length); Indian_Harbour_Beach[Indian_Harbour_Beach.length] = createMarker(new GPoint(-80.59167480,28.15039253),"
Ocean Breeze Elementary School
1101 Cheyenne Drive
Indian Harbour Beach, FL 32937

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ocean Breeze Elementary School",'Indian_Harbour_Beach=' + Indian_Harbour_Beach.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.68050385,28.03182602),"
Odyssey Charter School
1755 Eldron Blvd.,se
Palm Bay, FL 32909

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Odyssey Charter School",'Palm_Bay=' + Palm_Bay.length); Mims[Mims.length] = createMarker(new GPoint(-80.84031677,28.66185570),"
Offsite Alternate Abeyance Pgm
2327 Harry T. Moore Avenu
Mims, FL 32754

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Offsite Alternate Abeyance Pgm",'Mims=' + Mims.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72430900,28.30286900),"
Osprey Elementary School
720 Roy Wall Rd
Rockledge, FL 32955

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Osprey Elementary School",'Rockledge=' + Rockledge.length); Scottsmoor[Scottsmoor.length] = createMarker(new GPoint(-80.87660217,28.76339912),"
Outward Bound
3558 Sunset Avenue
Scottsmoor, FL 32775

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Outward Bound",'Scottsmoor=' + Scottsmoor.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.61140442,28.03439140),"
Palm Bay Academy Charter School
1465 Baytree Drive, Ne
Palm Bay, FL 32905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Palm Bay Academy Charter School",'Palm_Bay=' + Palm_Bay.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.59165192,28.02773666),"
Palm Bay Elementary School
1200 Alamanda Road Ne
Palm Bay, FL 32905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Palm Bay Elementary School",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.61159515,28.04950142),"
Palm Bay Senior High School
101 Pirate Lane
Melbourne, FL 32901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Palm Bay Senior High School",'Melbourne=' + Melbourne.length); Mims[Mims.length] = createMarker(new GPoint(-80.85894775,28.70196342),"
Pinewood Elementary School
3757 Old Dixie Highway
Mims, FL 32754

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pinewood Elementary School",'Mims=' + Mims.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.62082672,28.00452805),"
Port Malabar Elementary School
301 Pioneer Avenue Ne
Palm Bay, FL 32907

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Port Malabar Elementary School",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.66004944,28.15630722),"
Prekindergarten Centers
2700 Saint Johns St
Melbourne, FL 32940

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Prekindergarten Centers",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.72348300,28.22253800),"
Quest Elementary School
8751 Trafford Drive
Melbourne, FL 32940

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Quest Elementary School",'Melbourne=' + Melbourne.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.71994781,28.27146912),"
Ralph M Williams Junior Elementary School
1700 Clubhouse Drive
Rockledge, FL 32955

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ralph M Williams Junior Elementary School",'Rockledge=' + Rockledge.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.62674400,28.03518000),"
River's Edge Charter Academy
04400 South Dixie Hgwy Ne
Palm Bay, FL 32905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("River's Edge Charter Academy",'Palm_Bay=' + Palm_Bay.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.61379242,28.03495407),"
Riverdale Country Day School
1975 Palm Bay Road
Palm Bay, FL 32907

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Riverdale Country Day School",'Palm_Bay=' + Palm_Bay.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.81261444,28.58140182),"
Riverview Elementary Magnet School
3000 Jolly Street
Titusville, FL 32780

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riverview Elementary Magnet School",'Titusville=' + Titusville.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.64549255,28.03228378),"
Riviera Elementary School
351 Riviera Drive Ne
Palm Bay, FL 32905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riviera Elementary School",'Palm_Bay=' + Palm_Bay.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.67129517,28.39788246),"
Robert L. Stevenson Elementary School
1450 Martin Boulevard
Merritt Island, FL 32952

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Robert L. Stevenson Elementary School",'Merritt_Island=' + Merritt_Island.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.74287415,28.30495071),"
Rockledge Educational Horizons Charter School (fo
3260 South Fiske Blvd.
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Rockledge Educational Horizons Charter School (fo",'Rockledge=' + Rockledge.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72235107,28.34233665),"
Rockledge Senior High School
220 Raider Road
Rockledge, FL 32955

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Rockledge Senior High School",'Rockledge=' + Rockledge.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.73672485,28.34938622),"
Ronald Mcnair Magnet Middle School
1 Challenger Drive
Cocoa, FL 32922

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Ronald Mcnair Magnet Middle School",'Cocoa=' + Cocoa.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.66486359,28.11789131),"
Roy Allen Elementary School
2601 Fountainhead Bouleva
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Roy Allen Elementary School",'Melbourne=' + Melbourne.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.62254333,27.96688652),"
Royal Palm Charter School
7145 S Babcock Street, Se
Palm Bay, FL 32909

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Royal Palm Charter School",'Palm_Bay=' + Palm_Bay.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67177582,28.12922668),"
Sabal Elementary School
1401 Wickham Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sabal Elementary School",'Melbourne=' + Melbourne.length); Satellite_Beach[Satellite_Beach.length] = createMarker(new GPoint(-80.59718323,28.18648720),"
Satellite Senior High School
300 Scorpion Court
Satellite Beach, FL 32937

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Satellite Senior High School",'Satellite_Beach=' + Satellite_Beach.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.77130890,28.36805534),"
Saturn Elementary School
880 Range Road
Cocoa, FL 32926

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Saturn Elementary School",'Cocoa=' + Cocoa.length); Rockledge[Rockledge.length] = createMarker(new GPoint(-80.72430900,28.30286900),"
Sawgrass Academy
720 Roy Wall Rd
Rockledge, FL 32955

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Sawgrass Academy",'Rockledge=' + Rockledge.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.81403351,28.53275871),"
Sculptor Elementary Charter
1301 Armstrong Drive
Titusville, FL 32780

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sculptor Elementary Charter",'Titusville=' + Titusville.length); Satellite_Beach[Satellite_Beach.length] = createMarker(new GPoint(-80.60404205,28.20334053),"
Sea Park Elementary School
300 Sea Park Boulevard
Satellite Beach, FL 32937

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sea Park Elementary School",'Satellite_Beach=' + Satellite_Beach.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.66453552,28.17199135),"
Sherwood Elementary School
2541 Post Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sherwood Elementary School",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62182000,28.08657300),"
South Area Achievement Center
1362 S Babcock Street
Melbourne, FL 32901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South Area Achievement Center",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62182000,28.08657300),"
South Area Arc Center
1362 S Babcock Street
Melbourne, FL 32901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South Area Arc Center",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67187500,28.14160538),"
South Area Offsite Alternate
2175 N Wickham Road
Melbourne, FL 32935

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South Area Offsite Alternate",'Melbourne=' + Melbourne.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.85159302,28.61617279),"
South Lake Elementary School
3755 Garden Street
Titusville, FL 32796

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("South Lake Elementary School",'Titusville=' + Titusville.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67187500,28.14160538),"
South Pine Grove School
2175 N. Wickham Road
Melbourne, FL 32935

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("South Pine Grove School",'Melbourne=' + Melbourne.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.66137695,27.98973083),"
Southwest Middle School
451 Eldron Boulevard Se
Palm Bay, FL 32909

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Southwest Middle School",'Palm_Bay=' + Palm_Bay.length); Cocoa[Cocoa.length] = createMarker(new GPoint(-80.82654572,28.47593880),"
Space Coast Junior/senior High School
6150 Banyan Street
Cocoa, FL 32927

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Space Coast Junior/senior High School",'Cocoa=' + Cocoa.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.71405792,28.12053680),"
Space Coast Marine Institute
1000 Inspiration Lane
Melbourne, FL 32934

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Space Coast Marine Institute",'Melbourne=' + Melbourne.length); Satellite_Beach[Satellite_Beach.length] = createMarker(new GPoint(-80.60317230,28.18588448),"
Spessard L. Holland Elementary School
50 Holland Court
Satellite Beach, FL 32937

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spessard L. Holland Elementary School",'Satellite_Beach=' + Satellite_Beach.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.60392761,28.06378937),"
Stone Middle School
1101 E University Bouleva
Melbourne, FL 32901

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Stone Middle School",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.60829926,28.08329964),"
Summit Quest Charter Academy
P. O. Box 2798
Melbourne, FL 32901

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Summit Quest Charter Academy",'Melbourne=' + Melbourne.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.67631531,28.21750450),"
Suntree Elementary School
900 Jordan Blass Drive
Melbourne, FL 32940

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Suntree Elementary School",'Melbourne=' + Melbourne.length); Satellite_Beach[Satellite_Beach.length] = createMarker(new GPoint(-80.60100555,28.17229080),"
Surfside Elementary School
475 Cassia Boulevard
Satellite Beach, FL 32937

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Surfside Elementary School",'Satellite_Beach=' + Satellite_Beach.length); Cocoa_Beach[Cocoa_Beach.length] = createMarker(new GPoint(-80.62157440,28.31828499),"
Theodore Roosevelt Elementary School
1400 Minutemen Causeway
Cocoa Beach, FL 32931

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Theodore Roosevelt Elementary School",'Cocoa_Beach=' + Cocoa_Beach.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.68701172,28.33584976),"
Thomas Jefferson Middle School
1275 S Courtenay Parkway
Merritt Island, FL 32952

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Thomas Jefferson Middle School",'Merritt_Island=' + Merritt_Island.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.80346680,28.59117889),"
Titusville High School
150 Terrier Trail S.
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Titusville High School",'Titusville=' + Titusville.length); Merritt_Island[Merritt_Island.length] = createMarker(new GPoint(-80.69400024,28.34168434),"
Tropical Elementary School
885 S Courtenay Parkway
Merritt Island, FL 32952

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tropical Elementary School",'Merritt_Island=' + Merritt_Island.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62767792,28.06389427),"
University Park Elementary Magnet
500 W University Boulevar
Melbourne, FL 32901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("University Park Elementary Magnet",'Melbourne=' + Melbourne.length); West_Melbourne[West_Melbourne.length] = createMarker(new GPoint(-80.67077637,28.07330894),"
W. Melbourne Elementary For Science
2255 Meadowlane Avenue
West Melbourne, FL 32904

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("W. Melbourne Elementary For Science",'West_Melbourne=' + West_Melbourne.length); Sebastian[Sebastian.length] = createMarker(new GPoint(-80.39749908,27.63829994),"
Wabasso School
8895 Us Highway 1
Sebastian, FL 32958

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wabasso School",'Sebastian=' + Sebastian.length); Melbourne[Melbourne.length] = createMarker(new GPoint(-80.62586975,28.10713196),"
Westshore Junior/senior High School
250 Wildcat Alley
Melbourne, FL 32935

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Westshore Junior/senior High School",'Melbourne=' + Melbourne.length); Palm_Bay[Palm_Bay.length] = createMarker(new GPoint(-80.67568207,27.94374084),"
Westside Elementary School
2175 Degroodt Road, Sw
Palm Bay, FL 32908

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westside Elementary School",'Palm_Bay=' + Palm_Bay.length); Titusville[Titusville.length] = createMarker(new GPoint(-80.82352448,28.60662842),"
Whispering Hills Offsite Alternate Abeyance Progra
800 Lane Avenue
Titusville, FL 32780

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Whispering Hills Offsite Alternate Abeyance Progra",'Titusville=' + Titusville.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(Cape_Canaveral); map.removeOverlays(Cocoa); map.removeOverlays(Cocoa_Beach); map.removeOverlays(Indialantic); map.removeOverlays(Indian_Harbour_Beach); map.removeOverlays(Melbourne); map.removeOverlays(Melbourne_Beach); map.removeOverlays(Merritt_Island); map.removeOverlays(Mims); map.removeOverlays(Palm_Bay); map.removeOverlays(Port_St_John); map.removeOverlays(Rockledge); map.removeOverlays(Satellite_Beach); map.removeOverlays(Scottsmoor); map.removeOverlays(Sebastian); map.removeOverlays(Titusville); map.removeOverlays(Viera); map.removeOverlays(West_Melbourne); 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(Titusville);map.removeOverlays(Cape_Canaveral); map.removeOverlays(Cocoa); map.removeOverlays(Cocoa_Beach); map.removeOverlays(Indialantic); map.removeOverlays(Indian_Harbour_Beach); map.removeOverlays(Melbourne); map.removeOverlays(Melbourne_Beach); map.removeOverlays(Merritt_Island); map.removeOverlays(Mims); map.removeOverlays(Palm_Bay); map.removeOverlays(Port_St_John); map.removeOverlays(Rockledge); map.removeOverlays(Satellite_Beach); map.removeOverlays(Scottsmoor); map.removeOverlays(Sebastian); map.removeOverlays(Titusville); map.removeOverlays(Viera); map.removeOverlays(West_Melbourne); map.addOverlays(Cape_Canaveral); centerByArray(Cape_Canaveral, false, false); cntMarker += Cape_Canaveral.length; map.addOverlays(Cocoa); centerByArray(Cocoa, false, false); cntMarker += Cocoa.length; map.addOverlays(Cocoa_Beach); centerByArray(Cocoa_Beach, false, false); cntMarker += Cocoa_Beach.length; map.addOverlays(Indialantic); centerByArray(Indialantic, false, false); cntMarker += Indialantic.length; map.addOverlays(Indian_Harbour_Beach); centerByArray(Indian_Harbour_Beach, false, false); cntMarker += Indian_Harbour_Beach.length; map.addOverlays(Melbourne); centerByArray(Melbourne, false, false); cntMarker += Melbourne.length; map.addOverlays(Melbourne_Beach); centerByArray(Melbourne_Beach, false, false); cntMarker += Melbourne_Beach.length; map.addOverlays(Merritt_Island); centerByArray(Merritt_Island, false, false); cntMarker += Merritt_Island.length; map.addOverlays(Mims); centerByArray(Mims, false, false); cntMarker += Mims.length; map.addOverlays(Palm_Bay); centerByArray(Palm_Bay, false, false); cntMarker += Palm_Bay.length; map.addOverlays(Port_St_John); centerByArray(Port_St_John, false, false); cntMarker += Port_St_John.length; map.addOverlays(Rockledge); centerByArray(Rockledge, false, false); cntMarker += Rockledge.length; map.addOverlays(Satellite_Beach); centerByArray(Satellite_Beach, false, false); cntMarker += Satellite_Beach.length; map.addOverlays(Scottsmoor); centerByArray(Scottsmoor, false, false); cntMarker += Scottsmoor.length; map.addOverlays(Sebastian); centerByArray(Sebastian, false, false); cntMarker += Sebastian.length; map.addOverlays(Titusville); centerByArray(Titusville, false, false); cntMarker += Titusville.length; map.addOverlays(Viera); centerByArray(Viera, false, false); cntMarker += Viera.length; map.addOverlays(West_Melbourne); centerByArray(West_Melbourne, false, false); cntMarker += West_Melbourne.length; centerByArray(Titusville,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'); } }