function addMarkers()
{
mySelect = document.getElementById('selection');
Jacksonville = [];Atlantic_Beach = [];Baldwin = [];Neptune_Beach = [];Jacksonville_Beach = [];mySelect.options[mySelect.options.length] = new Option("Atlantic Beach schools",'all=Atlantic_Beach');
mySelect.options[mySelect.options.length] = new Option("Baldwin schools",'all=Baldwin');
mySelect.options[mySelect.options.length] = new Option("Jacksonville schools",'all=Jacksonville');
mySelect.options[mySelect.options.length] = new Option("Jacksonville Beach schools",'all=Jacksonville_Beach');
mySelect.options[mySelect.options.length] = new Option("Neptune Beach schools",'all=Neptune_Beach');
mySelect.options[mySelect.options.length] = new Option("---------------------------",'');
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67539978,30.36538887),"
",iconGr);
mySelect.options[mySelect.options.length] = new Option("A. Philip Randolph Academies High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.47872925,30.32163620),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Abess Park Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.51313019,30.30158234),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Alden Road Excep. Student Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63325500,30.25090027),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Alfred I. Dupont Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.44747925,30.31321144),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Alimacani Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65547180,30.35093689),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Andrew A. Robinson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.64749900,30.35291000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Andrew Jackson High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71675873,30.33588982),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Annie R. Morgan Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60289001,30.33254814),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arlington Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59246063,30.33654022),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arlington Heights Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57014465,30.33783722),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Arlington Middle School",'Jacksonville=' + Jacksonville.length);
Atlantic_Beach[Atlantic_Beach.length] = createMarker(new GPoint(-81.40040588,30.32752419),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Atlantic Beach Elementary School",'Atlantic_Beach=' + Atlantic_Beach.length);
Baldwin[Baldwin.length] = createMarker(new GPoint(-81.97813416,30.30373764),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Baldwin Middle-senior High School",'Baldwin=' + Baldwin.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.55208588,30.19630432),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bank Of America Learning Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72255707,30.27220726),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bayview Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60306549,30.21670914),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beauclerc Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65904236,30.34733582),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Beulah Beal Young Parents Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72914124,30.34974480),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Biltmore Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.66079712,30.45120049),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Biscayne Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.66268921,30.36271477),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brentwood Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.52811432,30.32008743),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Brookview Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69998932,30.37736702),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Carter G. Woodson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.75035858,30.25906372),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cedar Hills Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69151306,30.31853676),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Central Riverside Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.78440300,27.76013000),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chet's Creek Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.80562592,30.19581032),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Chimney Lakes Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61571503,30.19451523),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crown Point Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.79821014,30.30202675),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crystal Springs Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57967377,30.25880241),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Daniel Memorial School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.66683960,30.34554863),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Darnell Cookman Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.76630402,30.42626762),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dinsmore Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.56099701,30.36655998),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Don Brewer Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63892365,30.30003738),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Douglas Anderson School Of Arts",'Jacksonville=' + Jacksonville.length);
Neptune_Beach[Neptune_Beach.length] = createMarker(new GPoint(-81.39605400,30.32416500),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Duncan U. Fletcher High School",'Neptune_Beach=' + Neptune_Beach.length);
Jacksonville_Beach[Jacksonville_Beach.length] = createMarker(new GPoint(-81.39578247,30.30691147),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Duncan U. Fletcher Middle School",'Jacksonville_Beach=' + Jacksonville_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63564800,30.29325700),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Duval County Superintendent's Office",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.64749900,30.35291000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Duval Detention Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70047760,30.35473633),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Duval Halfway House",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.76596069,30.29045486),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Edward H. White High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61712646,30.27902222),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Englewood Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61007690,30.27819252),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Englewood High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.82274628,30.19793510),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Enterprise Learning Academy",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68532562,30.33771515),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Eugene J. Butler Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60661316,30.48400688),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("First Coast High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71363831,30.29136848),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fishweir Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59446716,30.37060356),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fort Caroline Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59658051,30.36836052),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Fort Caroline Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.77115631,30.26966286),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Frank H. Peterson Academies High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69352722,30.43866348),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Garden City Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.50489807,30.29816818),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Gateway Community Services",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71082306,30.36955643),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("George Washington Carver Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70047760,30.35473633),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Grand Park Career Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59793854,30.27361679),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greenfield Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57648468,30.16122055),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greenland Pines Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.77595520,30.26236343),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Gregory Drive Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.64916992,30.28991508),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hendricks Avenue Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68911743,30.41051102),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Henry F. Kite Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.66179657,30.42388535),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Highlands Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68273926,30.43395615),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Highlands Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59128571,30.28989410),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hogan-spring Glen Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58538055,30.30263519),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Holiday Hill Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61798096,30.30035019),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Hospital And Homebound",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.75535583,30.28032494),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hyde Grove Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.73645782,30.29176331),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hyde Park Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63844000,30.33470800),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Impact Halfway House",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.46235300,30.25628500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("J. Allen Axson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.73974609,30.25460625),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("J. E. B. Stuart Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville_Beach[Jacksonville_Beach.length] = createMarker(new GPoint(-81.39868927,30.28397751),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jacksonville Beach Elementary School",'Jacksonville_Beach=' + Jacksonville_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.77662659,30.24176216),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jacksonville Heights Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.46397400,30.28783607),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Jacksonville Marine Institute/east",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60179901,30.32685089),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Jacksonville Marine Institute/west (inactiv",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57239532,30.31139565),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Jacksonville Youth Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68721771,30.34826279),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("James Weldon Johnson Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70717621,30.38953781),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Jean Ribault High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71191406,30.39249802),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Jean Ribault Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.76065826,30.25546265),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Jefferson Davis Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67076111,30.33899689),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John E. Ford Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63494110,30.34763718),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Love Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70406342,30.25978470),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("John Stockton Elementary School",'Jacksonville=' + Jacksonville.length);
Atlantic_Beach[Atlantic_Beach.length] = createMarker(new GPoint(-81.40658569,30.37214088),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Joseph Finegan Elementary School",'Atlantic_Beach=' + Atlantic_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.77793884,30.30886269),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Joseph Stilwell Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65313721,30.30749130),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Julia E Landon Middle School (formerly Landon Midd",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65313721,30.30749130),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Julia E. Landon Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60010529,30.35632515),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Justina Road Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.48889160,30.30636215),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Kernan Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.48889160,30.30618477),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kernan Trail Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61564636,30.24561882),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kings Trail Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65208000,30.34881900),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Kirby-smith Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70780182,30.32186317),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Lackawanna Alternative Education Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.66984558,30.39168549),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lake Forest Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58899689,30.35203743),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lake Lucina Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72593689,30.27376175),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lake Shore Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.48925781,30.32397079),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Landmark Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.40189362,30.32638741),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Lavilla Middle School For Arts",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.64265442,30.38651848),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lola M. Culver Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.52978516,30.33830833),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lone Star Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63903809,30.36138725),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Long Branch Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60777283,30.15925789),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Loretto Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58787537,30.47771454),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Louis S. Sheffield Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60121155,30.30241013),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Love Grove Elementary School",'Jacksonville=' + Jacksonville.length);
Baldwin[Baldwin.length] = createMarker(new GPoint(-81.98046112,30.30819130),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mamie Agnes Jones Elementary School",'Baldwin=' + Baldwin.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58479309,30.16136742),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mandarin High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58654022,30.19046211),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Mandarin Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.58680725,30.18531036),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mandarin Oaks Elementary School",'Jacksonville=' + Jacksonville.length);
Atlantic_Beach[Atlantic_Beach.length] = createMarker(new GPoint(-81.42750549,30.39351273),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marine Science Education Center",'Atlantic_Beach=' + Atlantic_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71096039,30.40092278),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Martin Luther King, Junior Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63945770,30.33948708),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Matthew W. Gilbert Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65293121,30.34199142),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mattie V Rutherford Alt Ed Center",'Jacksonville=' + Jacksonville.length);
Atlantic_Beach[Atlantic_Beach.length] = createMarker(new GPoint(-81.41907501,30.36232567),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mayport Elementary School",'Atlantic_Beach=' + Atlantic_Beach.length);
Atlantic_Beach[Atlantic_Beach.length] = createMarker(new GPoint(-81.41281891,30.35999489),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Mayport Middle School",'Atlantic_Beach=' + Atlantic_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.56044006,30.35253716),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Merrill Road Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67003632,30.34703255),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mt. Herman Ese Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.76465607,30.24631310),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Nathan B. Forrest High School",'Jacksonville=' + Jacksonville.length);
Neptune_Beach[Neptune_Beach.length] = createMarker(new GPoint(-81.41212463,30.31682014),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Neptune Beach Elementary School",'Neptune_Beach=' + Neptune_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.78761292,30.28443718),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Normandy Village Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.65573883,30.37511826),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("North Shore Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69365692,30.37146378),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Northwestern Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67009735,30.37954712),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Norwood Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.75866699,30.25276375),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oak Hill Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.62580109,30.46196747),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oceanway Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63082123,30.46666718),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Oceanway Elementary School (changed T",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.62936200,30.46653600),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Oceanway School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70239258,30.27573967),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ortega Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60277557,30.35352325),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pace Center For Girls-jax",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72904205,30.34254265),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Palm Avenue Excep. Student Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57303619,30.34016228),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Parkwood Heights Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72450256,30.34376335),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Paxon Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72375488,30.34403610),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Paxon School/advanced Studies High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.74674988,30.37172127),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pickett Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68273926,30.43079567),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pine Estates Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63823700,30.28146553),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pine Forest Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72108459,30.32263756),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pinedale Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70047760,30.35473633),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Pretrial Detention Facility",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69036865,30.35283661),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("R. V. Daniels Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.74234009,30.31396294),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ramona Boulevard Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.73530579,30.33359718),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Reynolds Lane Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63870239,30.34191895),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Richard L. Brown Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70438385,30.30830765),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Robert E. Lee High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72720337,30.38007164),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rufus E. Payne Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71946716,30.30723381),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ruth N. Upson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.71612549,30.41076279),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Rutledge H. Pearson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.73139954,30.39147568),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("S. A. Hull Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.48963928,30.34427452),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sabal Palm Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.74013519,30.22606277),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sadie T. Tillis Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68589783,30.37153244),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Saint Clair Evans Academy",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70577240,30.39044762),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sallye B. Mathis Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61325836,30.24920464),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Samuel W. Wolfson High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63024139,30.26446342),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Jose Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.62783813,30.43956375),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Mateo Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville_Beach[Jacksonville_Beach.length] = createMarker(new GPoint(-81.40058899,30.30511856),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("San Pablo Elementary School",'Jacksonville_Beach=' + Jacksonville_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.51625824,30.29678726),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sandalwood High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67210700,30.36531100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("School Of Integrated Academics And Technology",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.75946045,30.26986313),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("School Of Success Academy Charter High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.75946045,30.26986313),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("School Of Success Academy-sos",'Jacksonville=' + Jacksonville.length);
Jacksonville_Beach[Jacksonville_Beach.length] = createMarker(new GPoint(-81.40062714,30.27083778),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Seabreeze Elementary School",'Jacksonville_Beach=' + Jacksonville_Beach.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68871307,30.33923912),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smart Pope Livingston Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.61512700,30.27056400),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sojourner Truth High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.55628204,30.30033684),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Southside Estates Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.59449768,30.27249718),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Southside Middle School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.63564800,30.29325700),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Spring Park Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.67271423,30.35153770),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Stanton College Preparatory",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.74205780,30.26733780),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Stonewall Jackson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.68914795,30.35143661),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Susie E. Tolbert Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69656372,30.32893181),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Teen Parent Service Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.57659912,30.34180832),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Terry Parker High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.78689575,30.32413673),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Thomas Jefferson Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70047760,30.35473633),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Tiger Success Center",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.72335052,30.24113655),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Timucuan Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.51504517,30.22642136),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Twin Lakes Elementary Academy",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.51498413,30.22323036),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Twin Lakes Middle Academy",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69435883,30.24746323),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Venetia Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.60700226,30.22009087),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wayman Academy Of Arts",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.73822784,30.24449539),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wesconnett Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69520569,30.33728409),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Jacksonville Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.69553375,30.30837440),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("West Riverside Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.84731293,30.31246376),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Whitehouse Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70791626,30.38207054),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("William M. Raines High School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.54302216,30.27743340),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Windy Hill Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.56980896,30.32089233),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodland Acres Elementary School",'Jacksonville=' + Jacksonville.length);
Jacksonville[Jacksonville.length] = createMarker(new GPoint(-81.70047760,30.35473633),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Youth Development Center",'Jacksonville=' + Jacksonville.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(Atlantic_Beach);
map.removeOverlays(Baldwin);
map.removeOverlays(Jacksonville);
map.removeOverlays(Jacksonville_Beach);
map.removeOverlays(Neptune_Beach);
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(Jacksonville);map.removeOverlays(Atlantic_Beach);
map.removeOverlays(Baldwin);
map.removeOverlays(Jacksonville);
map.removeOverlays(Jacksonville_Beach);
map.removeOverlays(Neptune_Beach);
map.addOverlays(Atlantic_Beach);
centerByArray(Atlantic_Beach, false, false);
cntMarker += Atlantic_Beach.length;
map.addOverlays(Baldwin);
centerByArray(Baldwin, false, false);
cntMarker += Baldwin.length;
map.addOverlays(Jacksonville);
centerByArray(Jacksonville, false, false);
cntMarker += Jacksonville.length;
map.addOverlays(Jacksonville_Beach);
centerByArray(Jacksonville_Beach, false, false);
cntMarker += Jacksonville_Beach.length;
map.addOverlays(Neptune_Beach);
centerByArray(Neptune_Beach, false, false);
cntMarker += Neptune_Beach.length;
centerByArray(Jacksonville,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');
}
}