function addMarkers() { mySelect = document.getElementById('selection'); North_Chicago = [];Waukegan = [];Lincolnshire = [];Libertyville = [];Deerfield = [];Lake_Villa = [];Antioch = [];Buffalo_Grove = [];Round_Lake_Beach = [];Lindenhurst = [];Bannockburn = [];Barrington = [];Beach_Park = [];Zion = [];Ingleside = [];Highland_Park = [];Mundelein = [];Lake_Bluff = [];Palatine = [];Lake_Forest = [];Grayslake = [];Long_Grove = [];Gages_Lake = [];Round_Lake = [];Fox_Lake = [];Great_Lakes = [];Gurnee = [];Vernon_Hills = [];Lake_Zurich = [];Hawthorn_Woods = [];Spring_Grove = [];Wadsworth = [];Winthrop_Harbor = [];Green_Oaks = [];Highwood = [];Hainesville = [];Wauconda = [];mySelect.options[mySelect.options.length] = new Option("Antioch schools",'all=Antioch'); mySelect.options[mySelect.options.length] = new Option("Bannockburn schools",'all=Bannockburn'); mySelect.options[mySelect.options.length] = new Option("Barrington schools",'all=Barrington'); mySelect.options[mySelect.options.length] = new Option("Beach Park schools",'all=Beach_Park'); mySelect.options[mySelect.options.length] = new Option("Buffalo Grove schools",'all=Buffalo_Grove'); mySelect.options[mySelect.options.length] = new Option("Deerfield schools",'all=Deerfield'); mySelect.options[mySelect.options.length] = new Option("Fox Lake schools",'all=Fox_Lake'); mySelect.options[mySelect.options.length] = new Option("Gages Lake schools",'all=Gages_Lake'); mySelect.options[mySelect.options.length] = new Option("Grayslake schools",'all=Grayslake'); mySelect.options[mySelect.options.length] = new Option("Great Lakes schools",'all=Great_Lakes'); mySelect.options[mySelect.options.length] = new Option("Green Oaks schools",'all=Green_Oaks'); mySelect.options[mySelect.options.length] = new Option("Gurnee schools",'all=Gurnee'); mySelect.options[mySelect.options.length] = new Option("Hainesville schools",'all=Hainesville'); mySelect.options[mySelect.options.length] = new Option("Hawthorn Woods schools",'all=Hawthorn_Woods'); mySelect.options[mySelect.options.length] = new Option("Highland Park schools",'all=Highland_Park'); mySelect.options[mySelect.options.length] = new Option("Highwood schools",'all=Highwood'); mySelect.options[mySelect.options.length] = new Option("Ingleside schools",'all=Ingleside'); mySelect.options[mySelect.options.length] = new Option("Lake Bluff schools",'all=Lake_Bluff'); mySelect.options[mySelect.options.length] = new Option("Lake Forest schools",'all=Lake_Forest'); mySelect.options[mySelect.options.length] = new Option("Lake Villa schools",'all=Lake_Villa'); mySelect.options[mySelect.options.length] = new Option("Lake Zurich schools",'all=Lake_Zurich'); mySelect.options[mySelect.options.length] = new Option("Libertyville schools",'all=Libertyville'); mySelect.options[mySelect.options.length] = new Option("Lincolnshire schools",'all=Lincolnshire'); mySelect.options[mySelect.options.length] = new Option("Lindenhurst schools",'all=Lindenhurst'); mySelect.options[mySelect.options.length] = new Option("Long Grove schools",'all=Long_Grove'); mySelect.options[mySelect.options.length] = new Option("Mundelein schools",'all=Mundelein'); mySelect.options[mySelect.options.length] = new Option("North Chicago schools",'all=North_Chicago'); mySelect.options[mySelect.options.length] = new Option("Palatine schools",'all=Palatine'); mySelect.options[mySelect.options.length] = new Option("Round Lake schools",'all=Round_Lake'); mySelect.options[mySelect.options.length] = new Option("Round Lake Beach schools",'all=Round_Lake_Beach'); mySelect.options[mySelect.options.length] = new Option("Spring Grove schools",'all=Spring_Grove'); mySelect.options[mySelect.options.length] = new Option("Vernon Hills schools",'all=Vernon_Hills'); mySelect.options[mySelect.options.length] = new Option("Wadsworth schools",'all=Wadsworth'); mySelect.options[mySelect.options.length] = new Option("Wauconda schools",'all=Wauconda'); mySelect.options[mySelect.options.length] = new Option("Waukegan schools",'all=Waukegan'); mySelect.options[mySelect.options.length] = new Option("Winthrop Harbor schools",'all=Winthrop_Harbor'); mySelect.options[mySelect.options.length] = new Option("Zion schools",'all=Zion'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.86311340,42.32669449),"
",iconRd); mySelect.options[mySelect.options.length] = new Option("A J Katzenmaier Elementary School",'North_Chicago=' + North_Chicago.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.86311340,42.32669449),"",iconBl); mySelect.options[mySelect.options.length] = new Option("A J Katzenmaier Middle School",'North_Chicago=' + North_Chicago.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84378052,42.35946274),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Abdssc Sch-3rd Floor High School",'Waukegan=' + Waukegan.length); Lincolnshire[Lincolnshire.length] = createMarker(new GPoint(-87.94565582,42.19643402),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Adlai E Stevenson High School",'Lincolnshire=' + Lincolnshire.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.95929718,42.30509567),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Adler Park School",'Libertyville=' + Libertyville.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.85138702,42.16153717),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Alan B Shepard Middle School",'Deerfield=' + Deerfield.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.05750275,42.41230011),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Allendale School",'Lake_Villa=' + Lake_Villa.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84394073,42.35691452),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Alternative Optional Center",'Waukegan=' + Waukegan.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.83657837,42.35415268),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Andrew Cooke Magnet Elementary School",'Waukegan=' + Waukegan.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.09342194,42.47151566),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Antioch Community High School",'Antioch=' + Antioch.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.09602356,42.48064423),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Antioch Elementary School",'Antioch=' + Antioch.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.11176300,42.47923660),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Antioch Upper Grade School",'Antioch=' + Antioch.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.94923401,42.17381287),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Aptakisic Junior High School",'Buffalo_Grove=' + Buffalo_Grove.length); Round_Lake_Beach[Round_Lake_Beach.length] = createMarker(new GPoint(-88.09017944,42.37144089),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Avon Center Elementary School",'Round_Lake_Beach=' + Round_Lake_Beach.length); Lindenhurst[Lindenhurst.length] = createMarker(new GPoint(-88.02341461,42.40803528),"",iconRd); mySelect.options[mySelect.options.length] = new Option("B J Hooper Elementary School",'Lindenhurst=' + Lindenhurst.length); Bannockburn[Bannockburn.length] = createMarker(new GPoint(-87.86486816,42.19196320),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Bannockburn Elementary School",'Bannockburn=' + Bannockburn.length); Barrington[Barrington.length] = createMarker(new GPoint(-88.14837646,42.15433884),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Barrington High School",'Barrington=' + Barrington.length); Beach_Park[Beach_Park.length] = createMarker(new GPoint(-87.87844849,42.45246506),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Beach Park Middle School",'Beach_Park=' + Beach_Park.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.83102417,42.42076111),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Beach School",'Waukegan=' + Waukegan.length); Zion[Zion.length] = createMarker(new GPoint(-87.84228516,42.46051025),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Beulah Park Elementary School",'Zion=' + Zion.length); Ingleside[Ingleside.length] = createMarker(new GPoint(-88.13987732,42.37947083),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Big Hollow Elementary School",'Ingleside=' + Ingleside.length); Ingleside[Ingleside.length] = createMarker(new GPoint(-88.14461517,42.34752274),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Big Hollow School",'Ingleside=' + Ingleside.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.77156067,42.15513992),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Braeside Elementary School",'Highland_Park=' + Highland_Park.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.98220825,42.29136276),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Butterfield School",'Libertyville=' + Libertyville.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.01574707,42.26966476),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Carl Sandburg Middle School",'Mundelein=' + Mundelein.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.83691406,42.34823608),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Carman-buckner Elementary School",'Waukegan=' + Waukegan.length); Lake_Bluff[Lake_Bluff.length] = createMarker(new GPoint(-87.85607147,42.28289032),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Central Elementary School",'Lake_Bluff=' + Lake_Bluff.length); Zion[Zion.length] = createMarker(new GPoint(-87.83451843,42.44626236),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Central Junior High School",'Zion=' + Zion.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.87100220,42.16896439),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Charles J Caruso Middle School",'Deerfield=' + Deerfield.length); Palatine[Palatine.length] = createMarker(new GPoint(-88.04660034,42.16123581),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Charles Quentin Elementary School",'Palatine=' + Palatine.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.83541107,42.22576141),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Cherokee Elementary School",'Lake_Forest=' + Lake_Forest.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86096954,42.38584900),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Clearview Elementary School",'Waukegan=' + Waukegan.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.94332123,42.27378464),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Copeland Manor Elementary School",'Libertyville=' + Libertyville.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-10.00000000,10.00000000),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Corporate / Commerce Transition",'Grayslake=' + Grayslake.length); Long_Grove[Long_Grove.length] = createMarker(new GPoint(-87.99807739,42.17837143),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Country Meadows Elementary School",'Long_Grove=' + Long_Grove.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.98349762,42.35330963),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Cyd Lash Academy",'Gages_Lake=' + Gages_Lake.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85088348,42.37269974),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Daniel Webster Middle School",'Waukegan=' + Waukegan.length); Lincolnshire[Lincolnshire.length] = createMarker(new GPoint(-87.90640259,42.18542099),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Daniel Wright Junior High School",'Lincolnshire=' + Lincolnshire.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.85111237,42.24878311),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Deer Path Middle School",'Lake_Forest=' + Lake_Forest.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.85628510,42.18666840),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Deerfield High School",'Deerfield=' + Deerfield.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.00411224,42.23948669),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Diamond Lake Elementary School",'Mundelein=' + Mundelein.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.94756317,42.15695953),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Earl Pritchett School",'Buffalo_Grove=' + Buffalo_Grove.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.81849800,42.16618200),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Early Childhood Innovative Learn",'Highland_Park=' + Highland_Park.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.10373688,42.35145569),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Early Education Center",'Round_Lake=' + Round_Lake.length); Zion[Zion.length] = createMarker(new GPoint(-87.82929993,42.43336105),"",iconRd); mySelect.options[mySelect.options.length] = new Option("East Elementary School",'Zion=' + Zion.length); Lake_Bluff[Lake_Bluff.length] = createMarker(new GPoint(-87.84268951,42.27576447),"",iconRd); mySelect.options[mySelect.options.length] = new Option("East Elementary School",'Lake_Bluff=' + Lake_Bluff.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84811401,42.36246872),"",iconBl); mySelect.options[mySelect.options.length] = new Option("East Middle School",'Waukegan=' + Waukegan.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.79521942,42.16713715),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Edgewood Middle School",'Highland_Park=' + Highland_Park.length); Ingleside[Ingleside.length] = createMarker(new GPoint(-88.13987732,42.37947083),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Edmond H Taveirne Middle School",'Ingleside=' + Ingleside.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.79759216,42.18950653),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Elm Place School",'Highland_Park=' + Highland_Park.length); Zion[Zion.length] = createMarker(new GPoint(-87.83751678,42.44037628),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Elmwood Elementary School",'Zion=' + Zion.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.10628510,42.45915604),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Emmons Grade School",'Antioch=' + Antioch.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.87361908,42.21626282),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Everett Elementary School",'Lake_Forest=' + Lake_Forest.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.10162354,42.26282883),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Fairfield Academy",'Mundelein=' + Mundelein.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-87.99450684,42.26389313),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Fairhaven School",'Mundelein=' + Mundelein.length); Fox_Lake[Fox_Lake.length] = createMarker(new GPoint(-88.17881012,42.39804459),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Forest School",'Fox_Lake=' + Fox_Lake.length); Great_Lakes[Great_Lakes.length] = createMarker(new GPoint(-87.86476898,42.30147552),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Forrestal Elementary School",'Great_Lakes=' + Great_Lakes.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.02471161,42.35288239),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Frederick School",'Grayslake=' + Grayslake.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.07267761,42.28373718),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Fremont Elementary School",'Mundelein=' + Mundelein.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.07231140,42.28297424),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Fremont Middle School",'Mundelein=' + Mundelein.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.98638153,42.35333633),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Gages Lake School",'Gages_Lake=' + Gages_Lake.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.05750275,42.41230011),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Gateway School",'Lake_Villa=' + Lake_Villa.length); Ingleside[Ingleside.length] = createMarker(new GPoint(-88.13990021,42.39411926),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Gavin Central School",'Ingleside=' + Ingleside.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.07421875,42.41659927),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Gavin North School",'Lake_Villa=' + Lake_Villa.length); Ingleside[Ingleside.length] = createMarker(new GPoint(-88.13987732,42.37947083),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Gavin South Junior High School",'Ingleside=' + Ingleside.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84088135,42.37543106),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Glen Flora Elementary School",'Waukegan=' + Waukegan.length); Fox_Lake[Fox_Lake.length] = createMarker(new GPoint(-88.17881012,42.39805603),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Glen School",'Fox_Lake=' + Fox_Lake.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86388397,42.37583542),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Glenwood Elementary School",'Waukegan=' + Waukegan.length); Fox_Lake[Fox_Lake.length] = createMarker(new GPoint(-88.15871429,42.39396286),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Grant Community High School",'Fox_Lake=' + Fox_Lake.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.13983154,42.43977737),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Grass Lake Elementary School",'Antioch=' + Antioch.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.04388428,42.34913635),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Grayslake Community High School",'Grayslake=' + Grayslake.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.03338623,42.35033035),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Grayslake Middle School",'Grayslake=' + Grayslake.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.86714172,42.32113647),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Greenbay Elementary School",'North_Chicago=' + North_Chicago.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.83551025,42.38709259),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Greenwood Elementary School",'Waukegan=' + Waukegan.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.94270325,42.37360001),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Gurnee Grade School",'Gurnee=' + Gurnee.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86461639,42.41014862),"",iconRd); mySelect.options[mySelect.options.length] = new Option("H R Mccall Elementary School",'Waukegan=' + Waukegan.length); Lincolnshire[Lincolnshire.length] = createMarker(new GPoint(-87.93462372,42.19878769),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Half Day School",'Lincolnshire=' + Lincolnshire.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-87.99372500,42.27178600),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Hawley Transition",'Mundelein=' + Mundelein.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97127533,42.23374557),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorn Elementary School (south)",'Vernon_Hills=' + Vernon_Hills.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97328949,42.24276352),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorn Elementary School (north)",'Vernon_Hills=' + Vernon_Hills.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97164917,42.23696136),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Hawthorn Junior High School",'Vernon_Hills=' + Vernon_Hills.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97208405,42.23502350),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorn Kindergarten Oakson Cmps",'Vernon_Hills=' + Vernon_Hills.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97018433,42.24276352),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorn Middle School",'Vernon_Hills=' + Vernon_Hills.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97018433,42.24072266),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorn Option School",'Vernon_Hills=' + Vernon_Hills.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.01520300,42.32123500),"",iconGr); mySelect.options[mySelect.options.length] = new Option("High School - Route 83 Campus",'Grayslake=' + Grayslake.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.95660400,42.27848816),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Highland Middle School",'Libertyville=' + Libertyville.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.80137634,42.19243622),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Highland Park High School",'Highland_Park=' + Highland_Park.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.09502411,42.48023605),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Antioch=' + Antioch.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.94435500,42.24878800),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Hollister Transition",'Libertyville=' + Libertyville.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.85388947,42.31618881),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Howard A Yeager Elementary School",'North_Chicago=' + North_Chicago.length); Beach_Park[Beach_Park.length] = createMarker(new GPoint(-87.83102417,42.42076111),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Howe Elementary School",'Beach_Park=' + Beach_Park.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85041809,42.36606216),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Hyde Park Elementary School",'Waukegan=' + Waukegan.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.10208130,42.38445282),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Indian Hill Elementary School",'Round_Lake=' + Round_Lake.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.80007935,42.18990326),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Indian Trail Elementary School",'Highland_Park=' + Highland_Park.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.08414459,42.17556381),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Isaac Fox Elementary School",'Lake_Zurich=' + Lake_Zurich.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.98118591,42.16851044),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Ivy Hall Elementary School",'Buffalo_Grove=' + Buffalo_Grove.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84809113,42.39556122),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Jack Benny Middle School",'Waukegan=' + Waukegan.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.97018433,42.24276352),"",iconRd); mySelect.options[mySelect.options.length] = new Option("John Powers Center",'Vernon_Hills=' + Vernon_Hills.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.83859253,42.39906311),"",iconRd); mySelect.options[mySelect.options.length] = new Option("John S Clark Elementary School",'Waukegan=' + Waukegan.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.09348297,42.35738373),"",iconBl); mySelect.options[mySelect.options.length] = new Option("John T Magee Middle School",'Round_Lake=' + Round_Lake.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.07484436,42.41563797),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Joseph J Pleviak Elementary School",'Lake_Villa=' + Lake_Villa.length); Beach_Park[Beach_Park.length] = createMarker(new GPoint(-87.85115814,42.42889786),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Kenneth Murphy School",'Beach_Park=' + Beach_Park.length); Long_Grove[Long_Grove.length] = createMarker(new GPoint(-88.00255585,42.18176651),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Kildeer Countryside Elementary School",'Long_Grove=' + Long_Grove.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.83968353,42.16523743),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Kipling Elementary School",'Deerfield=' + Deerfield.length); Lake_Bluff[Lake_Bluff.length] = createMarker(new GPoint(-87.84409332,42.27577591),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Lake Bluff Middle School",'Lake_Bluff=' + Lake_Bluff.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.05648041,42.35699844),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Co Area Voc Center",'Grayslake=' + Grayslake.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.98602100,42.35317400),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Co Collaborative Alop",'Gages_Lake=' + Gages_Lake.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.84226990,42.26328278),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Forest High School",'Lake_Forest=' + Lake_Forest.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.00418091,42.27088928),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Park Early Learning Cntr",'Mundelein=' + Mundelein.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.08695984,42.20302200),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Zurich High School",'Lake_Zurich=' + Lake_Zurich.length); Hawthorn_Woods[Hawthorn_Woods.length] = createMarker(new GPoint(-88.08890533,42.19969940),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Lake Zurich Middle - N Campus",'Hawthorn_Woods=' + Hawthorn_Woods.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.08499908,42.17556381),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Lake Zurich Middle - S Campus",'Lake_Zurich=' + Lake_Zurich.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.05645300,42.45984700),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Lakes Community High School",'Lake_Villa=' + Lake_Villa.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.04351044,42.33870316),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lakeview Elementary School",'Grayslake=' + Grayslake.length); Zion[Zion.length] = createMarker(new GPoint(-87.83426666,42.45544815),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lakeview School",'Zion=' + Zion.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.98641205,42.35333633),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Laremont School",'Gages_Lake=' + Gages_Lake.length); Lincolnshire[Lincolnshire.length] = createMarker(new GPoint(-87.90601349,42.19576263),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Laura B Sprague School",'Lincolnshire=' + Lincolnshire.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.96570587,42.28310013),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Libertyville High School",'Libertyville=' + Libertyville.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.01589966,42.26229858),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Mundelein=' + Mundelein.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.79638672,42.17668152),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Highland_Park=' + Highland_Park.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85355377,42.39906311),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Little Fort Elementary School",'Waukegan=' + Waukegan.length); Spring_Grove[Spring_Grove.length] = createMarker(new GPoint(-88.19573975,42.43013763),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lotus School",'Spring_Grove=' + Spring_Grove.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85448456,42.34456253),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Lyon Magnet Elementary School",'Waukegan=' + Waukegan.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.84007263,42.32604980),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Marjorie P Hart Elementary School",'North_Chicago=' + North_Chicago.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-88.03892400,42.34335500),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Marjorie Ureche Ec Center",'Gages_Lake=' + Gages_Lake.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.08859253,42.20024872),"",iconRd); mySelect.options[mySelect.options.length] = new Option("May Whitney Elementary School",'Lake_Zurich=' + Lake_Zurich.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.05207062,42.36446762),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Meadowview School",'Grayslake=' + Grayslake.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.01908875,42.28313828),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Mechanics Grove Elementary School",'Mundelein=' + Mundelein.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.95785522,42.18986511),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Meridian Middle School",'Buffalo_Grove=' + Buffalo_Grove.length); Wadsworth[Wadsworth.length] = createMarker(new GPoint(-87.99380493,42.42388153),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Millburn C C School",'Wadsworth=' + Wadsworth.length); Lindenhurst[Lindenhurst.length] = createMarker(new GPoint(-88.00984900,42.43116100),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Millburn West",'Lindenhurst=' + Lindenhurst.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-87.99734600,42.26965100),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Mundelein Consolidated High School",'Mundelein=' + Mundelein.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.85514069,42.32478333),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Neal Math Science Academy",'North_Chicago=' + North_Chicago.length); Wadsworth[Wadsworth.length] = createMarker(new GPoint(-87.93775177,42.46463394),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Newport Elementary School",'Wadsworth=' + Wadsworth.length); Barrington[Barrington.length] = createMarker(new GPoint(-88.14074707,42.21298218),"",iconRd); mySelect.options[mySelect.options.length] = new Option("North Barrington Elementary School",'Barrington=' + Barrington.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.84007263,42.32604980),"",iconGr); mySelect.options[mySelect.options.length] = new Option("North Chicago Community High School",'North_Chicago=' + North_Chicago.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86779785,42.38880157),"",iconRd); mySelect.options[mySelect.options.length] = new Option("North Elementary School",'Waukegan=' + Waukegan.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.83948517,42.33730698),"",iconRd); mySelect.options[mySelect.options.length] = new Option("North Elementary School",'North_Chicago=' + North_Chicago.length); Winthrop_Harbor[Winthrop_Harbor.length] = createMarker(new GPoint(-87.83508301,42.48586273),"",iconBl); mySelect.options[mySelect.options.length] = new Option("North Prairie Junior High School",'Winthrop_Harbor=' + Winthrop_Harbor.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.81873322,42.16574097),"",iconGr); mySelect.options[mySelect.options.length] = new Option("North Shore Academy",'Highland_Park=' + Highland_Park.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.82395935,42.20356750),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Northwood Junior High School",'Highland_Park=' + Highland_Park.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.85488129,42.33216476),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Novak-king Sixth Grade Center",'North_Chicago=' + North_Chicago.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.91421509,42.36417770),"",iconRd); mySelect.options[mySelect.options.length] = new Option("O Plaine School",'Gurnee=' + Gurnee.length); Beach_Park[Beach_Park.length] = createMarker(new GPoint(-87.85518646,42.42166901),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Crest School",'Beach_Park=' + Beach_Park.length); Green_Oaks[Green_Oaks.length] = createMarker(new GPoint(-87.91461182,42.30281448),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Grove Elementary School",'Green_Oaks=' + Green_Oaks.length); Highwood[Highwood.length] = createMarker(new GPoint(-87.81460571,42.19993591),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Terrace Elementary School",'Highwood=' + Highwood.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86528778,42.39122009),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakdale Elementary School",'Waukegan=' + Waukegan.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.06309509,42.44203949),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakland Elementary School",'Antioch=' + Antioch.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.11689758,42.42683792),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Olive C Martin School",'Lake_Villa=' + Lake_Villa.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.07971191,42.41213989),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Peter J Palombi School",'Lake_Villa=' + Lake_Villa.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.00576019,42.33056641),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairie Crossing Charter School",'Grayslake=' + Grayslake.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.97280121,42.17966080),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairie Elementary School",'Buffalo_Grove=' + Buffalo_Grove.length); Hainesville[Hainesville.length] = createMarker(new GPoint(-88.06565857,42.34454727),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairieview School",'Hainesville=' + Hainesville.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.78058624,42.16600800),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Ravinia Elementary School",'Highland_Park=' + Highland_Park.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.10203552,42.36933517),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Raymond Ellis Elementary School",'Round_Lake=' + Round_Lake.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.80930328,42.18009949),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Red Oak Elementary School",'Highland_Park=' + Highland_Park.length); Wauconda[Wauconda.length] = createMarker(new GPoint(-88.13243103,42.27733994),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Robert Crown Elementary School",'Wauconda=' + Wauconda.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84728241,42.35956192),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Robert E Abbott Middle School",'Waukegan=' + Waukegan.length); Libertyville[Libertyville.length] = createMarker(new GPoint(-87.95346832,42.27823639),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Rockland Elementary School",'Libertyville=' + Libertyville.length); Zion[Zion.length] = createMarker(new GPoint(-87.83197021,42.45413589),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Roe Alternative Prog Of Lake Co High School",'Zion=' + Zion.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.90512085,42.27787399),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Rondout Elementary School",'Lake_Forest=' + Lake_Forest.length); Barrington[Barrington.length] = createMarker(new GPoint(-88.13963318,42.16523743),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Roslyn Road Elementary School",'Barrington=' + Barrington.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.08565521,42.37416840),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Round Lake Beach Elementary School",'Round_Lake=' + Round_Lake.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.09150696,42.36251450),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Round Lake Senior High School",'Round_Lake=' + Round_Lake.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.01426600,42.26793500),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Sally Potter School",'Mundelein=' + Mundelein.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.07268524,42.18950272),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Sarah Adams Elementary School",'Lake_Zurich=' + Lake_Zurich.length); Lake_Zurich[Lake_Zurich.length] = createMarker(new GPoint(-88.10311127,42.21213531),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Seth Paine Elementary School",'Lake_Zurich=' + Lake_Zurich.length); Lake_Forest[Lake_Forest.length] = createMarker(new GPoint(-87.83506775,42.26385880),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Sheridan Elementary School",'Lake_Forest=' + Lake_Forest.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.82080841,42.16516113),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Sherwood Elementary School",'Highland_Park=' + Highland_Park.length); Zion[Zion.length] = createMarker(new GPoint(-87.83891296,42.44728851),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Shiloh Park Elementary School",'Zion=' + Zion.length); North_Chicago[North_Chicago.length] = createMarker(new GPoint(-87.85404968,42.31643295),"",iconRd); mySelect.options[mySelect.options.length] = new Option("South Elementary School",'North_Chicago=' + North_Chicago.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.86301422,42.16006470),"",iconRd); mySelect.options[mySelect.options.length] = new Option("South Park Elementary School",'Deerfield=' + Deerfield.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.88988495,42.38793564),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Spaulding Elementary School",'Gurnee=' + Gurnee.length); Hawthorn_Woods[Hawthorn_Woods.length] = createMarker(new GPoint(-88.05560303,42.19900131),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Spencer Loomis Elementary School",'Hawthorn_Woods=' + Hawthorn_Woods.length); Winthrop_Harbor[Winthrop_Harbor.length] = createMarker(new GPoint(-87.82548523,42.48363113),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Bluff Elementary School",'Winthrop_Harbor=' + Winthrop_Harbor.length); Fox_Lake[Fox_Lake.length] = createMarker(new GPoint(-88.16281128,42.39228439),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Stanton School",'Fox_Lake=' + Fox_Lake.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85604858,42.34905243),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Thomas Jefferson Middle School",'Waukegan=' + Waukegan.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.95473480,42.16818619),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Tripp School",'Buffalo_Grove=' + Buffalo_Grove.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.97016907,42.19644928),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Twin Groves Middle School",'Buffalo_Grove=' + Buffalo_Grove.length); Vernon_Hills[Vernon_Hills.length] = createMarker(new GPoint(-87.94725037,42.22824478),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Vernon Hills High School",'Vernon_Hills=' + Vernon_Hills.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.91361237,42.37113571),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Viking School",'Gurnee=' + Gurnee.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.10369873,42.35145950),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Village Elementary School",'Round_Lake=' + Round_Lake.length); Antioch[Antioch.length] = createMarker(new GPoint(-88.11257172,42.47950745),"",iconRd); mySelect.options[mySelect.options.length] = new Option("W C Petty Elementary School",'Antioch=' + Antioch.length); Round_Lake[Round_Lake.length] = createMarker(new GPoint(-88.08288574,42.35196686),"",iconRd); mySelect.options[mySelect.options.length] = new Option("W J Murphy Elementary School",'Round_Lake=' + Round_Lake.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.84236145,42.17693710),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Walden Elementary School",'Deerfield=' + Deerfield.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.97848511,42.35753632),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Warren Township High School",'Gurnee=' + Gurnee.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86779785,42.38880157),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Waukegan=' + Waukegan.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.00668335,42.26203537),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Mundelein=' + Mundelein.length); Wauconda[Wauconda.length] = createMarker(new GPoint(-88.14485168,42.26747131),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Wauconda Community High School",'Wauconda=' + Wauconda.length); Wauconda[Wauconda.length] = createMarker(new GPoint(-88.14598083,42.26022339),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Wauconda Elementary School",'Wauconda=' + Wauconda.length); Wauconda[Wauconda.length] = createMarker(new GPoint(-88.14627075,42.26106262),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Wauconda Middle School",'Wauconda=' + Wauconda.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.84378052,42.35946274),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Waukegan H S Ninth Grade Center",'Waukegan=' + Waukegan.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.86320496,42.36458206),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Waukegan High School",'Waukegan=' + Waukegan.length); Highland_Park[Highland_Park.length] = createMarker(new GPoint(-87.82501221,42.20595932),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Wayne Thomas Elementary School",'Highland_Park=' + Highland_Park.length); Zion[Zion.length] = createMarker(new GPoint(-87.85068512,42.45196533),"",iconRd); mySelect.options[mySelect.options.length] = new Option("West Elementary School",'Zion=' + Zion.length); Mundelein[Mundelein.length] = createMarker(new GPoint(-88.01388550,42.24186325),"",iconBl); mySelect.options[mySelect.options.length] = new Option("West Oak Middle School",'Mundelein=' + Mundelein.length); Winthrop_Harbor[Winthrop_Harbor.length] = createMarker(new GPoint(-87.82917023,42.47866440),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Westfield School",'Winthrop_Harbor=' + Winthrop_Harbor.length); Waukegan[Waukegan.length] = createMarker(new GPoint(-87.85541534,42.37236023),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Whittier Early Childhood Center",'Waukegan=' + Waukegan.length); Lake_Villa[Lake_Villa.length] = createMarker(new GPoint(-88.09298706,42.40569305),"",iconRd); mySelect.options[mySelect.options.length] = new Option("William L Thompson School",'Lake_Villa=' + Lake_Villa.length); Buffalo_Grove[Buffalo_Grove.length] = createMarker(new GPoint(-87.97637939,42.16776657),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Willow Grove Kindergarten Center",'Buffalo_Grove=' + Buffalo_Grove.length); Deerfield[Deerfield.length] = createMarker(new GPoint(-87.86693573,42.16722107),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Wilmot Elementary School",'Deerfield=' + Deerfield.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.96607971,42.35293961),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodland Elementary School",'Gages_Lake=' + Gages_Lake.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.96311188,42.38010788),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodland Intermediate School",'Gurnee=' + Gurnee.length); Gurnee[Gurnee.length] = createMarker(new GPoint(-87.97158813,42.36413574),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Woodland Middle School",'Gurnee=' + Gurnee.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.96973419,42.35323715),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodland Primary School",'Gages_Lake=' + Gages_Lake.length); Gages_Lake[Gages_Lake.length] = createMarker(new GPoint(-87.96977997,42.35323715),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodland Primary School West",'Gages_Lake=' + Gages_Lake.length); Long_Grove[Long_Grove.length] = createMarker(new GPoint(-87.99807739,42.17837143),"",iconBl); mySelect.options[mySelect.options.length] = new Option("Woodlawn Middle School",'Long_Grove=' + Long_Grove.length); Grayslake[Grayslake.length] = createMarker(new GPoint(-88.05348206,42.34853745),"",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodview School",'Grayslake=' + Grayslake.length); Zion[Zion.length] = createMarker(new GPoint(-87.83338928,42.44435120),"",iconGr); mySelect.options[mySelect.options.length] = new Option("Zion-benton Twnshp Hi School",'Zion=' + Zion.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(Antioch); map.removeOverlays(Bannockburn); map.removeOverlays(Barrington); map.removeOverlays(Beach_Park); map.removeOverlays(Buffalo_Grove); map.removeOverlays(Deerfield); map.removeOverlays(Fox_Lake); map.removeOverlays(Gages_Lake); map.removeOverlays(Grayslake); map.removeOverlays(Great_Lakes); map.removeOverlays(Green_Oaks); map.removeOverlays(Gurnee); map.removeOverlays(Hainesville); map.removeOverlays(Hawthorn_Woods); map.removeOverlays(Highland_Park); map.removeOverlays(Highwood); map.removeOverlays(Ingleside); map.removeOverlays(Lake_Bluff); map.removeOverlays(Lake_Forest); map.removeOverlays(Lake_Villa); map.removeOverlays(Lake_Zurich); map.removeOverlays(Libertyville); map.removeOverlays(Lincolnshire); map.removeOverlays(Lindenhurst); map.removeOverlays(Long_Grove); map.removeOverlays(Mundelein); map.removeOverlays(North_Chicago); map.removeOverlays(Palatine); map.removeOverlays(Round_Lake); map.removeOverlays(Round_Lake_Beach); map.removeOverlays(Spring_Grove); map.removeOverlays(Vernon_Hills); map.removeOverlays(Wadsworth); map.removeOverlays(Wauconda); map.removeOverlays(Waukegan); map.removeOverlays(Winthrop_Harbor); map.removeOverlays(Zion); 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(North_Chicago);map.removeOverlays(Antioch); map.removeOverlays(Bannockburn); map.removeOverlays(Barrington); map.removeOverlays(Beach_Park); map.removeOverlays(Buffalo_Grove); map.removeOverlays(Deerfield); map.removeOverlays(Fox_Lake); map.removeOverlays(Gages_Lake); map.removeOverlays(Grayslake); map.removeOverlays(Great_Lakes); map.removeOverlays(Green_Oaks); map.removeOverlays(Gurnee); map.removeOverlays(Hainesville); map.removeOverlays(Hawthorn_Woods); map.removeOverlays(Highland_Park); map.removeOverlays(Highwood); map.removeOverlays(Ingleside); map.removeOverlays(Lake_Bluff); map.removeOverlays(Lake_Forest); map.removeOverlays(Lake_Villa); map.removeOverlays(Lake_Zurich); map.removeOverlays(Libertyville); map.removeOverlays(Lincolnshire); map.removeOverlays(Lindenhurst); map.removeOverlays(Long_Grove); map.removeOverlays(Mundelein); map.removeOverlays(North_Chicago); map.removeOverlays(Palatine); map.removeOverlays(Round_Lake); map.removeOverlays(Round_Lake_Beach); map.removeOverlays(Spring_Grove); map.removeOverlays(Vernon_Hills); map.removeOverlays(Wadsworth); map.removeOverlays(Wauconda); map.removeOverlays(Waukegan); map.removeOverlays(Winthrop_Harbor); map.removeOverlays(Zion); map.addOverlays(Antioch); centerByArray(Antioch, false, false); cntMarker += Antioch.length; map.addOverlays(Bannockburn); centerByArray(Bannockburn, false, false); cntMarker += Bannockburn.length; map.addOverlays(Barrington); centerByArray(Barrington, false, false); cntMarker += Barrington.length; map.addOverlays(Beach_Park); centerByArray(Beach_Park, false, false); cntMarker += Beach_Park.length; map.addOverlays(Buffalo_Grove); centerByArray(Buffalo_Grove, false, false); cntMarker += Buffalo_Grove.length; map.addOverlays(Deerfield); centerByArray(Deerfield, false, false); cntMarker += Deerfield.length; map.addOverlays(Fox_Lake); centerByArray(Fox_Lake, false, false); cntMarker += Fox_Lake.length; map.addOverlays(Gages_Lake); centerByArray(Gages_Lake, false, false); cntMarker += Gages_Lake.length; map.addOverlays(Grayslake); centerByArray(Grayslake, false, false); cntMarker += Grayslake.length; map.addOverlays(Great_Lakes); centerByArray(Great_Lakes, false, false); cntMarker += Great_Lakes.length; map.addOverlays(Green_Oaks); centerByArray(Green_Oaks, false, false); cntMarker += Green_Oaks.length; map.addOverlays(Gurnee); centerByArray(Gurnee, false, false); cntMarker += Gurnee.length; map.addOverlays(Hainesville); centerByArray(Hainesville, false, false); cntMarker += Hainesville.length; map.addOverlays(Hawthorn_Woods); centerByArray(Hawthorn_Woods, false, false); cntMarker += Hawthorn_Woods.length; map.addOverlays(Highland_Park); centerByArray(Highland_Park, false, false); cntMarker += Highland_Park.length; map.addOverlays(Highwood); centerByArray(Highwood, false, false); cntMarker += Highwood.length; map.addOverlays(Ingleside); centerByArray(Ingleside, false, false); cntMarker += Ingleside.length; map.addOverlays(Lake_Bluff); centerByArray(Lake_Bluff, false, false); cntMarker += Lake_Bluff.length; map.addOverlays(Lake_Forest); centerByArray(Lake_Forest, false, false); cntMarker += Lake_Forest.length; map.addOverlays(Lake_Villa); centerByArray(Lake_Villa, false, false); cntMarker += Lake_Villa.length; map.addOverlays(Lake_Zurich); centerByArray(Lake_Zurich, false, false); cntMarker += Lake_Zurich.length; map.addOverlays(Libertyville); centerByArray(Libertyville, false, false); cntMarker += Libertyville.length; map.addOverlays(Lincolnshire); centerByArray(Lincolnshire, false, false); cntMarker += Lincolnshire.length; map.addOverlays(Lindenhurst); centerByArray(Lindenhurst, false, false); cntMarker += Lindenhurst.length; map.addOverlays(Long_Grove); centerByArray(Long_Grove, false, false); cntMarker += Long_Grove.length; map.addOverlays(Mundelein); centerByArray(Mundelein, false, false); cntMarker += Mundelein.length; map.addOverlays(North_Chicago); centerByArray(North_Chicago, false, false); cntMarker += North_Chicago.length; map.addOverlays(Palatine); centerByArray(Palatine, false, false); cntMarker += Palatine.length; map.addOverlays(Round_Lake); centerByArray(Round_Lake, false, false); cntMarker += Round_Lake.length; map.addOverlays(Round_Lake_Beach); centerByArray(Round_Lake_Beach, false, false); cntMarker += Round_Lake_Beach.length; map.addOverlays(Spring_Grove); centerByArray(Spring_Grove, false, false); cntMarker += Spring_Grove.length; map.addOverlays(Vernon_Hills); centerByArray(Vernon_Hills, false, false); cntMarker += Vernon_Hills.length; map.addOverlays(Wadsworth); centerByArray(Wadsworth, false, false); cntMarker += Wadsworth.length; map.addOverlays(Wauconda); centerByArray(Wauconda, false, false); cntMarker += Wauconda.length; map.addOverlays(Waukegan); centerByArray(Waukegan, false, false); cntMarker += Waukegan.length; map.addOverlays(Winthrop_Harbor); centerByArray(Winthrop_Harbor, false, false); cntMarker += Winthrop_Harbor.length; map.addOverlays(Zion); centerByArray(Zion, false, false); cntMarker += Zion.length; centerByArray(North_Chicago,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'); } }