var geocoder,homeMarkers=[],homeInfoWindows=[],directionsDisplay,map,markersHigh=[],markersMiddle=[],markersElementary=[],markersDebug=[],zonesHigh=[],zonesHighDesc=[],zonesMiddle=[],zonesMiddleDesc=[],zonesElementary=[],zonesElementaryDesc=[];
var directionsService=new google.maps.DirectionsService();
google.maps.visualRefresh = true;
function load_map(zone) {
    switch(zone) {
        case 'high':
            setAllMiddle(null);
            setAllElementary(null);
            setAllHigh(map);
            $('.middle').hide();
            $('.elementary').hide();
            $('.high').show();
            break;
        case 'middle':
            setAllHigh(null);
            setAllElementary(null);
            setAllMiddle(map);
            $('.high').hide();
            $('.elementary').hide();
            $('.middle').show();
            break;
        case 'elementary':
            setAllHigh(null);
            setAllMiddle(null);
            setAllElementary(map);
            $('.high').hide();
            $('.middle').hide();
            $('.elementary').show();
            break;
    }
    }
function calcRoute(){var start = $('#from').val();var end = $('#to').val();var request = {origin:start,destination:end,travelMode: google.maps.DirectionsTravelMode.DRIVING};directionsService.route(request, function(response, status) {if (status == google.maps.DirectionsStatus.OK) {directionsDisplay.setDirections(response);( status === 'OK' ) ? $('#directions').show() : $('#directions').hide();}});}
function initMap(){
    var loc_DEFAULT = new google.maps.LatLng(26.205000, -81.687384);
    geocoder = new google.maps.Geocoder();
    directionsDisplay = new google.maps.DirectionsRenderer();
    var mapOptions = {
        center: loc_DEFAULT,
        zoom: 11,
        mapTypeId: google.maps.MapTypeId.HYBRID,
        mapTypeControl: true,
        mapTypeControlOptions: {
            style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
            position: google.maps.ControlPosition.TOP_RIGHT
        },
        panControl: true,
        panControlOptions: {
            position: google.maps.ControlPosition.TOP_RIGHT
        },
        zoomControl: true,
        zoomControlOptions: {
            style: google.maps.ZoomControlStyle.LARGE,
            position: google.maps.ControlPosition.RIGHT_CENTER
        },
        scaleControl: true,
        scaleControlOptions: {
            position: google.maps.ControlPosition.TOP_RIGHT
        },
        streetViewControl: true,
        streetViewControlOptions: {
            position: google.maps.ControlPosition.RIGHT_CENTER
        }
    };
    map = new google.maps.Map(document.getElementById("district-map-canvas"), mapOptions);
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function(position) {
            var pos = new google.maps.LatLng( position.coords.latitude, position.coords.longitude );
            $('#from').val(pos);
        }, function() {
            //handleNoGeolocation(true);
        });
    }
    directionsDisplay.setMap(map);
    directionsDisplay.setPanel(document.getElementById('directionsResults'));
}

function legendHTML(level){
    switch (level) {
        case 'elementary':
            return `<tr><td class='key' style='background-color:#38a700'>&nbsp;1&nbsp;</td><td>&nbsp;Avalon Elementary School&nbsp;</td><td class='key' style='background-color:#df72ff'>&nbsp;27&nbsp;</td><td>&nbsp;Ave Maria Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#0f1eed'>&nbsp;I6&nbsp;</td><td>&nbsp;Bear Creek Elementary School&nbsp;</td><td class='key' style='background-color:#ffebbe'>&nbsp;2&nbsp;</td><td>&nbsp;Big Cypress Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#00ffc5'>&nbsp;3&nbsp;</td><td>&nbsp;Calusa Park Elementary School&nbsp;</td><td class='key' style='background-color:#d2ffbe'>&nbsp;4&nbsp;</td><td>&nbsp;Corkscrew Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#ffa77f'>&nbsp;I1&nbsp;</td><td>&nbsp;Eden Park Elementary School&nbsp;</td><td class='key' style='background-color:#beffe7'>&nbsp;5&nbsp;</td><td>&nbsp;Estates Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#00ff00'>&nbsp;E&nbsp;</td><td>&nbsp;Everglades City School&nbsp;</td><td class='key' style='background-color:#feff73'>&nbsp;8&nbsp;</td><td>&nbsp;Golden Gate Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#ff7f7e'>&nbsp;9&nbsp;</td><td>&nbsp;Golden Terrace Elementary School&nbsp;</td><td class='key' style='background-color:#ff00ff'>&nbsp;6&nbsp;</td><td>&nbsp;Herbert Cambridge Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#ff7f7e'>&nbsp;I2&nbsp;</td><td>&nbsp;Highlands Elementary School&nbsp;</td><td class='key' style='background-color:#cdf57a'>&nbsp;10&nbsp;</td><td>&nbsp;Lake Park Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#a3ff74'>&nbsp;I3&nbsp;</td><td>&nbsp;Lake Trafford Elementary School&nbsp;</td><td class='key' style='background-color:#ffaa01'>&nbsp;11&nbsp;</td><td>&nbsp;Laurel Oak Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#00ff00'>&nbsp;7&nbsp;</td><td>&nbsp;Lavern Gaynor Elementary School&nbsp;</td><td class='key' style='background-color:#e7c7cc'>&nbsp;12&nbsp;</td><td>&nbsp;Lely Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#ffd380'>&nbsp;13&nbsp;</td><td>&nbsp;Manatee Elementary School&nbsp;</td><td class='key' style='background-color:#cdf57a'>&nbsp;14&nbsp;</td><td>&nbsp;Mike Davis Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#55ff00'>&nbsp;15&nbsp;</td><td>&nbsp;Naples Park Elementary School&nbsp;</td><td class='key' style='background-color:#e8befe'>&nbsp;16&nbsp;</td><td>&nbsp;Osceola Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#d69dbd'>&nbsp;17&nbsp;</td><td>&nbsp;Palmetto Elementary School&nbsp;</td><td class='key' style='background-color:#9eadb8'>&nbsp;18&nbsp;</td><td>&nbsp;Parkside Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#ffff00'>&nbsp;19&nbsp;</td><td>&nbsp;Pelican Marsh Elementary School&nbsp;</td><td class='key' style='background-color:#bee8ff'>&nbsp;I4&nbsp;</td><td>&nbsp;Pinecrest Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#73b2ff'>&nbsp;20&nbsp;</td><td>&nbsp;Poinciana Elementary School&nbsp;</td><td class='key' style='background-color:#642d85'>&nbsp;21&nbsp;</td><td>&nbsp;Sabal Palm Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#d6c29d'>&nbsp;22&nbsp;</td><td>&nbsp;Sea Gate Elementary School&nbsp;</td><td class='key' style='background-color:#de71fe'>&nbsp;23&nbsp;</td><td>&nbsp;Shadowlawn Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#7b8ef5'>&nbsp;24&nbsp;</td><td>&nbsp;Tommie Barfield Elementary School&nbsp;</td><td class='key' style='background-color:#065bc5'>&nbsp;25&nbsp;</td><td>&nbsp;Veterans Memorial Elementary School&nbsp;</td></tr><tr><td class='key' style='background-color:#e8befe'>&nbsp;I5&nbsp;</td><td>&nbsp;Village Oaks Elementary School&nbsp;</td><td class='key' style='background-color:#73fedf'>&nbsp;26&nbsp;</td><td>&nbsp;Vineyards Elementary School&nbsp;</td></tr>`
        case 'middle':
            return `<tr><td class='key' style='background-color:#a3ff74'>&nbsp;1&nbsp;</td><td>&nbsp;Corkscrew Middle School&nbsp;</td><td class='key' style='background-color:#beffe7'>&nbsp;2&nbsp;</td><td>&nbsp;Cypress Palm Middle School&nbsp;</td></tr><tr><td class='key' style='background-color:#e7c7ee'>&nbsp;3&nbsp;</td><td>&nbsp;East Naples Middle School&nbsp;</td><td class='key' style='background-color:#00ff00'>&nbsp;E&nbsp;</td><td>&nbsp;Everglades City School&nbsp;</td></tr><tr><td class='key' style='background-color:#b3d69c'>&nbsp;4&nbsp;</td><td>&nbsp;Golden Gate Middle School&nbsp;</td><td class='key' style='background-color:#bee8ff'>&nbsp;5&nbsp;</td><td>&nbsp;Gulfview Middle School&nbsp;</td></tr><tr><td class='key' style='background-color:#ff0000'>&nbsp;I&nbsp;</td><td>&nbsp;Immokalee Middle School&nbsp;</td><td class='key' style='background-color:#7b8ef5'>&nbsp;6&nbsp;</td><td>&nbsp;Manatee Middle School&nbsp;</td></tr><tr><td class='key' style='background-color:#df72ff'>&nbsp;7&nbsp;</td><td>&nbsp;North Naples Middle School&nbsp;</td><td class='key' style='background-color:#ffd380'>&nbsp;8&nbsp;</td><td>&nbsp;Oakridge Middle School&nbsp;</td></tr><tr><td class='key' style='background-color:#f5f579'>&nbsp;9&nbsp;</td><td>&nbsp;Pine Ridge Middle School&nbsp;</td></tr>`
        case 'high':
            return `<tr><td class='key' style='background-color:#fc0000'>&nbsp;7&nbsp;</td><td>&nbsp;Aubrey Rogers High School&nbsp;</td><td class='key' style='background-color:#bdd2ff'>&nbsp;1&nbsp;</td><td>&nbsp;Barron Collier High School&nbsp;</td></tr><tr><td class='key' style='background-color:#00ff00'>&nbsp;E&nbsp;</td><td>&nbsp;Everglades City School&nbsp;</td><td class='key' style='background-color:#d7b19e'>&nbsp;2&nbsp;</td><td>&nbsp;Golden Gate High School&nbsp;</td></tr><tr><td class='key' style='background-color:#beffe7'>&nbsp;3&nbsp;</td><td>&nbsp;Gulf Coast High School&nbsp;</td><td class='key' style='background-color:#ff0000'>&nbsp;I&nbsp;</td><td>&nbsp;Immokalee High School&nbsp;</td></tr><tr><td class='key' style='background-color:#ffaa01'>&nbsp;4&nbsp;</td><td>&nbsp;Lely High School&nbsp;</td><td class='key' style='background-color:#ffffff'>&nbsp;L&nbsp;</td><td>&nbsp;Lorenzo Walker Technical High School&nbsp;</td></tr><tr><td class='key' style='background-color:#ffffbe'>&nbsp;5&nbsp;</td><td>&nbsp;Naples High School&nbsp;</td><td class='key' style='background-color:#a3ff74'>&nbsp;6&nbsp;</td><td>&nbsp;Palmetto Ridge High School&nbsp;</td></tr>`
    }
}

function initMap_High(){
var loc_ARH=new google.maps.LatLng(26.300145,-81.784324);
var loc_BCH=new google.maps.LatLng(26.216417,-81.761373);
var loc_ADN=new google.maps.LatLng(26.220759,-81.758234);
var loc_EVG=new google.maps.LatLng(25.863804,-81.386424);
var loc_GGH=new google.maps.LatLng(26.167137,-81.701039);
var loc_GCH=new google.maps.LatLng(26.271244,-81.707283);
var loc_IHS=new google.maps.LatLng(26.424351,-81.423644);
var loc_LHS=new google.maps.LatLng(26.087887,-81.717675);
var loc_LWH=new google.maps.LatLng(26.141192,-81.763734);
var loc_NHS=new google.maps.LatLng(26.172700,-81.794994);
var loc_PRH=new google.maps.LatLng(26.295630,-81.577600);
var aLocation=[loc_ARH,loc_BCH,loc_ADN,loc_EVG,loc_GGH,loc_GCH,loc_IHS,loc_LHS,loc_LWH,loc_NHS,loc_PRH];
var aLocationAbbr=['loc_ARH','loc_BCH','loc_ADN','loc_EVG','loc_GGH','loc_GCH','loc_IHS','loc_LHS','loc_LWH','loc_NHS','loc_PRH'];
var aLocationName=['Aubrey Rogers High School','Barron Collier High School','Dr. Martin Luther King, Jr. Administrative Center','Everglades City School','Golden Gate High School','Gulf Coast High School','Immokalee High School','Lely High School','Lorenzo Walker Technical High School','Naples High School','Palmetto Ridge High School'];
var aLocationHTML=['<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/ARH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/ARH" class="schoolLink">Aubrey Rogers High School</a><br/>15100 Patriot Pl<br/>Naples, Fl 34110<br/>34110</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/BCH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/BCH" class="schoolLink">Barron Collier High School</a><br/>5600 Cougar Dr<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/ADN/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/ADN" class="schoolLink">Dr. Martin Luther King, Jr. Administrative Center</a><br/>5775 Osceola Trl<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/EVG/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/EVG" class="schoolLink">Everglades City School</a><br/>415 School Dr E<br/>Everglades City, Fl 34139<br/>34139</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GGH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GGH" class="schoolLink">Golden Gate High School</a><br/>2925 Titan Way<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GCH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GCH" class="schoolLink">Gulf Coast High School</a><br/>7878 Shark Way<br/>Naples, Fl 34119<br/>34119</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/IHS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/IHS" class="schoolLink">Immokalee High School</a><br/>701 Immokalee Dr<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LHS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LHS" class="schoolLink">Lely High School</a><br/>1 Lely High School Blvd<br/>Naples, Fl 34113<br/>34113</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LWH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LWH" class="schoolLink">Lorenzo Walker Technical High School</a><br/>3702 Estey Ave<br/>Naples, Fl 34104<br/>34104</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/NHS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/NHS" class="schoolLink">Naples High School</a><br/>1100 Golden Eagle Cir<br/>Naples, Fl 34102<br/>34102</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PRH/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PRH" class="schoolLink">Palmetto Ridge High School</a><br/>1655 Victory Ln<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>'];
var aLocationZone=['7','1','A','E','2','3','I','4','L','5','6'];
var zoneHigh7Coords=[new google.maps.LatLng(26.272317,-81.828044),new google.maps.LatLng(26.253841,-81.823940),new google.maps.LatLng(26.253761,-81.822590),new google.maps.LatLng(26.250481,-81.801201),new google.maps.LatLng(26.250851,-81.796631),new google.maps.LatLng(26.250211,-81.793451),new google.maps.LatLng(26.246395,-81.787790),new google.maps.LatLng(26.244395,-81.784870),new google.maps.LatLng(26.243785,-81.782870),new google.maps.LatLng(26.243725,-81.781240),new google.maps.LatLng(26.243875,-81.769230),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.239375,-81.752710),new google.maps.LatLng(26.234543,-81.752438),new google.maps.LatLng(26.234664,-81.739899),new google.maps.LatLng(26.236444,-81.739969),new google.maps.LatLng(26.236474,-81.736599),new google.maps.LatLng(26.244094,-81.736865),new google.maps.LatLng(26.244026,-81.720042),new google.maps.LatLng(26.251026,-81.720422),new google.maps.LatLng(26.258417,-81.720552),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.272982,-81.712482),new google.maps.LatLng(26.272930,-81.707427),new google.maps.LatLng(26.276422,-81.707462),new google.maps.LatLng(26.276458,-81.706306),new google.maps.LatLng(26.276982,-81.705442),new google.maps.LatLng(26.317182,-81.706074),new google.maps.LatLng(26.317079,-81.722002),new google.maps.LatLng(26.316853,-81.746396),new google.maps.LatLng(26.316236,-81.818903),new google.maps.LatLng(26.330487,-81.819230),new google.maps.LatLng(26.330456,-81.846444)];
var zoneHigh1Coords=[new google.maps.LatLng(26.236444,-81.739969),new google.maps.LatLng(26.236474,-81.736599),new google.maps.LatLng(26.244094,-81.736865),new google.maps.LatLng(26.244026,-81.720042),new google.maps.LatLng(26.251026,-81.720422),new google.maps.LatLng(26.258417,-81.720552),new google.maps.LatLng(26.258496,-81.704780),new google.maps.LatLng(26.257053,-81.704721),new google.maps.LatLng(26.257065,-81.700569),new google.maps.LatLng(26.258513,-81.700628),new google.maps.LatLng(26.258587,-81.696680),new google.maps.LatLng(26.258543,-81.688858),new google.maps.LatLng(26.258583,-81.688688),new google.maps.LatLng(26.258652,-81.672437),new google.maps.LatLng(26.244022,-81.671697),new google.maps.LatLng(26.244012,-81.671317),new google.maps.LatLng(26.229082,-81.671107),new google.maps.LatLng(26.214388,-81.670919),new google.maps.LatLng(26.214209,-81.684433),new google.maps.LatLng(26.212390,-81.684406),new google.maps.LatLng(26.212407,-81.687407),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.197375,-81.735857),new google.maps.LatLng(26.196703,-81.791968),new google.maps.LatLng(26.211393,-81.792194),new google.maps.LatLng(26.210885,-81.817235),new google.maps.LatLng(26.253841,-81.823940),new google.maps.LatLng(26.253761,-81.822590),new google.maps.LatLng(26.250481,-81.801201),new google.maps.LatLng(26.250851,-81.796631),new google.maps.LatLng(26.250211,-81.793451),new google.maps.LatLng(26.246395,-81.787790),new google.maps.LatLng(26.244395,-81.784870),new google.maps.LatLng(26.243785,-81.782870),new google.maps.LatLng(26.243725,-81.781240),new google.maps.LatLng(26.243875,-81.769230),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.239375,-81.752710),new google.maps.LatLng(26.234543,-81.752438),new google.maps.LatLng(26.234664,-81.739899)];
var zoneHighACoords=[];
var zoneHighECoords=[new google.maps.LatLng(25.805727,-80.873471),new google.maps.LatLng(25.803074,-81.102667),new google.maps.LatLng(25.803163,-81.502665),new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(25.975563,-80.873471)];
var zoneHigh2Coords=[new google.maps.LatLng(26.153401,-81.588051),new google.maps.LatLng(26.154851,-81.692458),new google.maps.LatLng(26.153952,-81.696358),new google.maps.LatLng(26.151930,-81.699191),new google.maps.LatLng(26.142167,-81.705580),new google.maps.LatLng(26.139003,-81.711084),new google.maps.LatLng(26.138813,-81.718267),new google.maps.LatLng(26.163823,-81.718733),new google.maps.LatLng(26.168637,-81.718777),new google.maps.LatLng(26.174362,-81.718977),new google.maps.LatLng(26.199261,-81.719448),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.201440,-81.703514),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.212407,-81.687407),new google.maps.LatLng(26.212390,-81.684406),new google.maps.LatLng(26.214209,-81.684433),new google.maps.LatLng(26.214388,-81.670919),new google.maps.LatLng(26.229082,-81.671107),new google.maps.LatLng(26.229252,-81.655147),new google.maps.LatLng(26.214699,-81.654859),new google.maps.LatLng(26.213568,-81.621496),new google.maps.LatLng(26.199068,-81.621456),new google.maps.LatLng(26.198205,-81.604954),new google.maps.LatLng(26.197721,-81.588249)];
var zoneHigh3Coords=[new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.302735,-81.657794),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.292158,-81.601476),new google.maps.LatLng(26.277536,-81.601379),new google.maps.LatLng(26.278140,-81.599112),new google.maps.LatLng(26.277450,-81.598482),new google.maps.LatLng(26.277610,-81.581072),new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.246805,-81.561191),new google.maps.LatLng(26.230436,-81.560928),new google.maps.LatLng(26.211556,-81.560658),new google.maps.LatLng(26.211336,-81.554968),new google.maps.LatLng(26.196626,-81.555038),new google.maps.LatLng(26.197721,-81.588249),new google.maps.LatLng(26.198205,-81.604954),new google.maps.LatLng(26.199068,-81.621456),new google.maps.LatLng(26.213568,-81.621496),new google.maps.LatLng(26.214699,-81.654859),new google.maps.LatLng(26.229252,-81.655147),new google.maps.LatLng(26.229082,-81.671107),new google.maps.LatLng(26.244012,-81.671317),new google.maps.LatLng(26.244022,-81.671697),new google.maps.LatLng(26.258652,-81.672437),new google.maps.LatLng(26.258583,-81.688688),new google.maps.LatLng(26.258543,-81.688858),new google.maps.LatLng(26.258587,-81.696680),new google.maps.LatLng(26.258513,-81.700628),new google.maps.LatLng(26.257065,-81.700569),new google.maps.LatLng(26.257053,-81.704721),new google.maps.LatLng(26.258496,-81.704780),new google.maps.LatLng(26.258417,-81.720552),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.272982,-81.712482),new google.maps.LatLng(26.272930,-81.707427),new google.maps.LatLng(26.276422,-81.707462),new google.maps.LatLng(26.276458,-81.706306),new google.maps.LatLng(26.276982,-81.705442),new google.maps.LatLng(26.302503,-81.705631),new google.maps.LatLng(26.317182,-81.706074)];
var zoneHighICoords=[new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.294949,-81.415944),new google.maps.LatLng(26.368684,-81.416808),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.513291,-81.563680),new google.maps.LatLng(26.513721,-81.466321),new google.maps.LatLng(26.515456,-81.451280),new google.maps.LatLng(26.517032,-81.271732),new google.maps.LatLng(26.253165,-81.268460),new google.maps.LatLng(26.254411,-81.171847),new google.maps.LatLng(26.256480,-81.073238),new google.maps.LatLng(26.259504,-80.879322)];
var zoneHigh4Coords=[new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.907882,-81.729650),new google.maps.LatLng(25.932968,-81.733829),new google.maps.LatLng(25.948687,-81.750147),new google.maps.LatLng(25.959675,-81.753822),new google.maps.LatLng(25.968306,-81.749799),new google.maps.LatLng(25.990903,-81.752604),new google.maps.LatLng(26.003391,-81.760806),new google.maps.LatLng(26.051318,-81.783353),new google.maps.LatLng(26.051318,-81.766198),new google.maps.LatLng(26.095634,-81.765716),new google.maps.LatLng(26.108286,-81.766198),new google.maps.LatLng(26.109989,-81.766364),new google.maps.LatLng(26.116475,-81.766219),new google.maps.LatLng(26.116557,-81.765398),new google.maps.LatLng(26.120046,-81.765398),new google.maps.LatLng(26.123211,-81.765420),new google.maps.LatLng(26.123762,-81.765460),new google.maps.LatLng(26.123770,-81.766950),new google.maps.LatLng(26.126501,-81.766955),new google.maps.LatLng(26.127045,-81.766477),new google.maps.LatLng(26.135885,-81.766477),new google.maps.LatLng(26.136029,-81.760350),new google.maps.LatLng(26.137101,-81.760350),new google.maps.LatLng(26.137433,-81.750609),new google.maps.LatLng(26.138630,-81.750609),new google.maps.LatLng(26.138813,-81.736506),new google.maps.LatLng(26.146453,-81.736554),new google.maps.LatLng(26.146556,-81.734574),new google.maps.LatLng(26.168461,-81.734800),new google.maps.LatLng(26.168637,-81.718777),new google.maps.LatLng(26.163823,-81.718733),new google.maps.LatLng(26.138813,-81.718267),new google.maps.LatLng(26.139003,-81.711084),new google.maps.LatLng(26.142167,-81.705580),new google.maps.LatLng(26.151930,-81.699191),new google.maps.LatLng(26.153952,-81.696358),new google.maps.LatLng(26.154851,-81.692458),new google.maps.LatLng(26.153401,-81.588051),new google.maps.LatLng(26.123095,-81.586656),new google.maps.LatLng(26.112089,-81.586994),new google.maps.LatLng(26.066267,-81.586994),new google.maps.LatLng(26.065968,-81.571652),new google.maps.LatLng(25.993668,-81.571164)];
var zoneHighLCoords=[];
var zoneHigh5Coords=[new google.maps.LatLng(26.201440,-81.703514),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.199261,-81.719448),new google.maps.LatLng(26.174362,-81.718977),new google.maps.LatLng(26.168637,-81.718777),new google.maps.LatLng(26.168461,-81.734800),new google.maps.LatLng(26.146556,-81.734574),new google.maps.LatLng(26.146453,-81.736554),new google.maps.LatLng(26.138813,-81.736506),new google.maps.LatLng(26.138630,-81.750609),new google.maps.LatLng(26.137433,-81.750609),new google.maps.LatLng(26.137101,-81.760350),new google.maps.LatLng(26.136029,-81.760350),new google.maps.LatLng(26.135885,-81.766477),new google.maps.LatLng(26.127045,-81.766477),new google.maps.LatLng(26.126501,-81.766955),new google.maps.LatLng(26.123770,-81.766950),new google.maps.LatLng(26.123762,-81.765460),new google.maps.LatLng(26.123211,-81.765420),new google.maps.LatLng(26.120046,-81.765398),new google.maps.LatLng(26.116557,-81.765398),new google.maps.LatLng(26.116475,-81.766219),new google.maps.LatLng(26.109989,-81.766364),new google.maps.LatLng(26.108286,-81.766198),new google.maps.LatLng(26.095634,-81.765716),new google.maps.LatLng(26.051318,-81.766198),new google.maps.LatLng(26.051318,-81.783353),new google.maps.LatLng(26.091452,-81.802520),new google.maps.LatLng(26.173760,-81.815669),new google.maps.LatLng(26.210885,-81.817235),new google.maps.LatLng(26.211393,-81.792194),new google.maps.LatLng(26.196703,-81.791968),new google.maps.LatLng(26.197375,-81.735857),new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.212129,-81.703675)];
var zoneHigh6Coords=[new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(26.065968,-81.571652),new google.maps.LatLng(26.066267,-81.586994),new google.maps.LatLng(26.112089,-81.586994),new google.maps.LatLng(26.123095,-81.586656),new google.maps.LatLng(26.153401,-81.588051),new google.maps.LatLng(26.197721,-81.588249),new google.maps.LatLng(26.196626,-81.555038),new google.maps.LatLng(26.211336,-81.554968),new google.maps.LatLng(26.211556,-81.560658),new google.maps.LatLng(26.230436,-81.560928),new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.277610,-81.581072),new google.maps.LatLng(26.277450,-81.598482),new google.maps.LatLng(26.278140,-81.599112),new google.maps.LatLng(26.277536,-81.601379),new google.maps.LatLng(26.292158,-81.601476),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.302735,-81.657794),new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.421053,-81.659537),new google.maps.LatLng(26.421734,-81.613855),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.368684,-81.416808),new google.maps.LatLng(26.294949,-81.415944),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.153264,-81.457974)];
zoneHigh7 = new google.maps.Polygon({ paths: zoneHigh7Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#fc0000', fillOpacity: 0.2 });
zonesHigh.push(zoneHigh7);
zoneHigh1 = new google.maps.Polygon({ paths: zoneHigh1Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#bdd2ff', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh1);
zoneHighA = new google.maps.Polygon({ paths: zoneHighACoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffffff', fillOpacity: 0.0 });
zonesHigh.push(zoneHighA);
zoneHighE = new google.maps.Polygon({ paths: zoneHighECoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#00ff00', fillOpacity: 0.2 });
zonesHigh.push(zoneHighE);
zoneHigh2 = new google.maps.Polygon({ paths: zoneHigh2Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#d7b19e', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh2);
zoneHigh3 = new google.maps.Polygon({ paths: zoneHigh3Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#beffe7', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh3);
zoneHighI = new google.maps.Polygon({ paths: zoneHighICoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ff0000', fillOpacity: 0.2 });
zonesHigh.push(zoneHighI);
zoneHigh4 = new google.maps.Polygon({ paths: zoneHigh4Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffaa01', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh4);
zoneHighL = new google.maps.Polygon({ paths: zoneHighLCoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffffff', fillOpacity: 0.0 });
zonesHigh.push(zoneHighL);
zoneHigh5 = new google.maps.Polygon({ paths: zoneHigh5Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffffbe', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh5);
zoneHigh6 = new google.maps.Polygon({ paths: zoneHigh6Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#a3ff74', fillOpacity: 0.3 });
zonesHigh.push(zoneHigh6);
var zoneHighDesc=['Aubrey Rogers High School','Barron Collier High School','Dr. Martin Luther King, Jr. Administrative Center','Everglades City School','Golden Gate High School','Gulf Coast High School','Immokalee High School','Lely High School','Lorenzo Walker Technical High School','Naples High School','Palmetto Ridge High School'];
            var coord;
            var homeMarker;
            for (coord in aLocation) {
                var pinColor = "ecbe13";
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "00ccff";
                    homeMarker = coord;
                }
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "0e4ead";
                }
                var pinImage = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=" + aLocationZone[coord] + "|" + pinColor, new google.maps.Size(21, 34), new google.maps.Point(0,0), new google.maps.Point(10, 34));
                var pinShadow = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_shadow", new google.maps.Size(40, 37), new google.maps.Point(0, 0), new google.maps.Point(12, 35));
                var marker = new google.maps.Marker({
                    position: aLocation[coord],
                    map: map,
                    title: aLocationName[coord],
                    html: aLocationHTML[coord],
                    animation: google.maps.Animation.DROP,
                    label:aLocationZone[coord]
                });
                markersHigh.push(marker);
            }
            var infowindow=null;
            infowindow = new InfoBubble({ content: 'loading...', backgroundColor: '#555', borderRadius: 10, borderColor: '#333', borderWidth: 2, arrowPosition: 50, minHeight: 200 });
            for (var i = 0; i < markersHigh.length; i++) {
                google.maps.event.addListener(markersHigh[i], 'click', function() {
                    infowindow.setContent(this.html);
                    infowindow.open(map,this);
                    $('#to').val(this.position);
                });
            }
        }
function initMap_Middle(){
var loc_CMS=new google.maps.LatLng(26.294261,-81.585471);
var loc_CPM=new google.maps.LatLng(26.264971,-81.523957);
var loc_ADN=new google.maps.LatLng(26.220759,-81.758234);
var loc_ENM=new google.maps.LatLng(26.141573,-81.758924);
var loc_EVG=new google.maps.LatLng(25.863804,-81.386424);
var loc_GGM=new google.maps.LatLng(26.177829,-81.705856);
var loc_GVM=new google.maps.LatLng(26.144856,-81.798091);
var loc_IMS=new google.maps.LatLng(26.424916,-81.426485);
var loc_MMS=new google.maps.LatLng(26.046165,-81.677158);
var loc_NNM=new google.maps.LatLng(26.295535,-81.767563);
var loc_OMS=new google.maps.LatLng(26.265105,-81.690759);
var loc_PRM=new google.maps.LatLng(26.214943,-81.787731);
var aLocation=[loc_CMS,loc_CPM,loc_ADN,loc_ENM,loc_EVG,loc_GGM,loc_GVM,loc_IMS,loc_MMS,loc_NNM,loc_OMS,loc_PRM];
var aLocationAbbr=['loc_CMS','loc_CPM','loc_ADN','loc_ENM','loc_EVG','loc_GGM','loc_GVM','loc_IMS','loc_MMS','loc_NNM','loc_OMS','loc_PRM'];
var aLocationName=['Corkscrew Middle School','Cypress Palm Middle School','Dr. Martin Luther King, Jr. Administrative Center','East Naples Middle School','Everglades City School','Golden Gate Middle School','Gulfview Middle School','Immokalee Middle School','Manatee Middle School','North Naples Middle School','Oakridge Middle School','Pine Ridge Middle School'];
var aLocationHTML=['<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/CMS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/CMS" class="schoolLink">Corkscrew Middle School</a><br/>1165 Oil Well Rd<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/CPM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/CPM" class="schoolLink">Cypress Palm Middle School</a><br/>4255 18th Ave Ne<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/ADN/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/ADN" class="schoolLink">Dr. Martin Luther King, Jr. Administrative Center</a><br/>5775 Osceola Trl<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/ENM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/ENM" class="schoolLink">East Naples Middle School</a><br/>4100 Estey Ave<br/>Naples, Fl 34104<br/>34104</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/EVG/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/EVG" class="schoolLink">Everglades City School</a><br/>415 School Dr E<br/>Everglades City, Fl 34139<br/>34139</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GGM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GGM" class="schoolLink">Golden Gate Middle School</a><br/>2701 48th Ter Sw<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GVM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GVM" class="schoolLink">Gulfview Middle School</a><br/>255 6th St S<br/>Naples, Fl 34102<br/>34102</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/IMS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/IMS" class="schoolLink">Immokalee Middle School</a><br/>401 N 9th St<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/MMS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/MMS" class="schoolLink">Manatee Middle School</a><br/>1920 Manatee Rd<br/>Naples, Fl 34114<br/>34114</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/NNM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/NNM" class="schoolLink">North Naples Middle School</a><br/>16165 Learning Ln<br/>Naples, Fl 34110<br/>34110</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/OMS/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/OMS" class="schoolLink">Oakridge Middle School</a><br/>14975 Collier Blvd<br/>Naples, Fl 34119<br/>34119</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PRM/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PRM" class="schoolLink">Pine Ridge Middle School</a><br/>1515 Pine Ridge Rd<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>'];
var aLocationZone=['1','2','A','3','E','4','5','I','6','7','8','9'];
var zoneMiddle1Coords=[new google.maps.LatLng(26.294949,-81.415944),new google.maps.LatLng(26.293924,-81.482315),new google.maps.LatLng(26.293228,-81.561911),new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.277610,-81.581072),new google.maps.LatLng(26.246521,-81.580600),new google.maps.LatLng(26.246242,-81.606928),new google.maps.LatLng(26.246249,-81.607886),new google.maps.LatLng(26.246033,-81.624239),new google.maps.LatLng(26.275342,-81.625607),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.302735,-81.657794),new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.421053,-81.659537),new google.maps.LatLng(26.421734,-81.613855),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.368684,-81.416808)];
var zoneMiddle2Coords=[new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(26.065968,-81.571652),new google.maps.LatLng(26.066267,-81.586994),new google.maps.LatLng(26.112089,-81.586994),new google.maps.LatLng(26.172908,-81.588233),new google.maps.LatLng(26.173433,-81.640327),new google.maps.LatLng(26.171553,-81.640327),new google.maps.LatLng(26.171553,-81.643969),new google.maps.LatLng(26.173443,-81.643969),new google.maps.LatLng(26.173443,-81.646126),new google.maps.LatLng(26.171688,-81.646126),new google.maps.LatLng(26.171688,-81.654478),new google.maps.LatLng(26.172588,-81.654478),new google.maps.LatLng(26.172588,-81.670867),new google.maps.LatLng(26.199615,-81.671253),new google.maps.LatLng(26.199948,-81.655186),new google.maps.LatLng(26.214584,-81.655363),new google.maps.LatLng(26.214699,-81.654859),new google.maps.LatLng(26.243858,-81.655412),new google.maps.LatLng(26.245506,-81.624228),new google.maps.LatLng(26.246033,-81.624239),new google.maps.LatLng(26.246249,-81.607886),new google.maps.LatLng(26.246242,-81.606928),new google.maps.LatLng(26.246521,-81.580600),new google.maps.LatLng(26.277610,-81.581072),new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.293228,-81.561911),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.153264,-81.457974)];
var zoneMiddleACoords=[];
var zoneMiddle3Coords=[new google.maps.LatLng(26.109657,-81.687132),new google.maps.LatLng(26.109016,-81.702753),new google.maps.LatLng(26.109225,-81.747669),new google.maps.LatLng(26.109229,-81.749836),new google.maps.LatLng(26.115514,-81.755549),new google.maps.LatLng(26.116484,-81.757904),new google.maps.LatLng(26.116557,-81.765398),new google.maps.LatLng(26.123762,-81.765460),new google.maps.LatLng(26.123770,-81.766950),new google.maps.LatLng(26.126501,-81.766955),new google.maps.LatLng(26.127045,-81.766477),new google.maps.LatLng(26.129896,-81.770597),new google.maps.LatLng(26.136137,-81.779507),new google.maps.LatLng(26.138271,-81.782732),new google.maps.LatLng(26.140120,-81.786341),new google.maps.LatLng(26.146212,-81.786674),new google.maps.LatLng(26.149600,-81.785375),new google.maps.LatLng(26.150909,-81.786116),new google.maps.LatLng(26.153329,-81.785134),new google.maps.LatLng(26.154793,-81.785542),new google.maps.LatLng(26.157309,-81.784115),new google.maps.LatLng(26.158979,-81.784453),new google.maps.LatLng(26.160884,-81.782860),new google.maps.LatLng(26.165735,-81.782833),new google.maps.LatLng(26.167836,-81.778278),new google.maps.LatLng(26.168667,-81.718776),new google.maps.LatLng(26.169882,-81.686823)];
var zoneMiddleECoords=[new google.maps.LatLng(25.805727,-80.873471),new google.maps.LatLng(25.803074,-81.102667),new google.maps.LatLng(25.803163,-81.502665),new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(25.975563,-80.873471)];
var zoneMiddle4Coords=[new google.maps.LatLng(26.169882,-81.686823),new google.maps.LatLng(26.168667,-81.718776),new google.maps.LatLng(26.197334,-81.719425),new google.maps.LatLng(26.199202,-81.719425),new google.maps.LatLng(26.199298,-81.715461),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.199475,-81.696514),new google.maps.LatLng(26.199475,-81.696020),new google.maps.LatLng(26.199655,-81.687283)];
var zoneMiddle5Coords=[new google.maps.LatLng(26.168667,-81.718776),new google.maps.LatLng(26.167836,-81.778278),new google.maps.LatLng(26.165735,-81.782833),new google.maps.LatLng(26.160884,-81.782860),new google.maps.LatLng(26.158979,-81.784453),new google.maps.LatLng(26.157309,-81.784115),new google.maps.LatLng(26.154793,-81.785542),new google.maps.LatLng(26.153329,-81.785134),new google.maps.LatLng(26.150909,-81.786116),new google.maps.LatLng(26.149600,-81.785375),new google.maps.LatLng(26.146212,-81.786674),new google.maps.LatLng(26.140120,-81.786341),new google.maps.LatLng(26.138271,-81.782732),new google.maps.LatLng(26.136137,-81.779507),new google.maps.LatLng(26.129896,-81.770597),new google.maps.LatLng(26.127045,-81.766477),new google.maps.LatLng(26.126501,-81.766955),new google.maps.LatLng(26.123770,-81.766950),new google.maps.LatLng(26.123762,-81.765460),new google.maps.LatLng(26.123211,-81.765420),new google.maps.LatLng(26.116557,-81.765398),new google.maps.LatLng(26.116468,-81.766305),new google.maps.LatLng(26.110052,-81.766380),new google.maps.LatLng(26.108286,-81.766198),new google.maps.LatLng(26.095634,-81.765716),new google.maps.LatLng(26.084963,-81.765775),new google.maps.LatLng(26.084933,-81.798722),new google.maps.LatLng(26.091452,-81.802520),new google.maps.LatLng(26.173760,-81.815669),new google.maps.LatLng(26.210885,-81.817235),new google.maps.LatLng(26.211220,-81.800439),new google.maps.LatLng(26.197517,-81.800197),new google.maps.LatLng(26.197616,-81.795487),new google.maps.LatLng(26.198465,-81.795487),new google.maps.LatLng(26.198465,-81.794012),new google.maps.LatLng(26.196679,-81.794012),new google.maps.LatLng(26.197235,-81.768150),new google.maps.LatLng(26.197125,-81.752824),new google.maps.LatLng(26.197081,-81.751392),new google.maps.LatLng(26.197149,-81.735862),new google.maps.LatLng(26.197334,-81.719425)];
var zoneMiddleICoords=[new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.294949,-81.415944),new google.maps.LatLng(26.368684,-81.416808),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.513291,-81.563680),new google.maps.LatLng(26.513721,-81.466321),new google.maps.LatLng(26.515456,-81.451280),new google.maps.LatLng(26.517032,-81.271732),new google.maps.LatLng(26.253165,-81.268460),new google.maps.LatLng(26.254411,-81.171847),new google.maps.LatLng(26.256480,-81.073238),new google.maps.LatLng(26.259504,-80.879322)];
var zoneMiddle6Coords=[new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.907882,-81.729650),new google.maps.LatLng(25.932968,-81.733829),new google.maps.LatLng(25.948687,-81.750147),new google.maps.LatLng(25.959675,-81.753822),new google.maps.LatLng(25.968306,-81.749799),new google.maps.LatLng(25.990903,-81.752604),new google.maps.LatLng(26.003391,-81.760806),new google.maps.LatLng(26.051318,-81.783353),new google.maps.LatLng(26.084933,-81.798722),new google.maps.LatLng(26.084963,-81.765775),new google.maps.LatLng(26.095634,-81.765716),new google.maps.LatLng(26.108286,-81.766198),new google.maps.LatLng(26.110052,-81.766380),new google.maps.LatLng(26.116468,-81.766305),new google.maps.LatLng(26.116557,-81.765398),new google.maps.LatLng(26.116484,-81.757904),new google.maps.LatLng(26.115514,-81.755549),new google.maps.LatLng(26.109229,-81.749836),new google.maps.LatLng(26.109225,-81.747669),new google.maps.LatLng(26.109016,-81.702753),new google.maps.LatLng(26.109657,-81.687132),new google.maps.LatLng(26.169882,-81.686823),new google.maps.LatLng(26.170154,-81.670867),new google.maps.LatLng(26.172588,-81.670867),new google.maps.LatLng(26.172588,-81.654478),new google.maps.LatLng(26.171688,-81.654478),new google.maps.LatLng(26.171688,-81.646126),new google.maps.LatLng(26.173443,-81.646126),new google.maps.LatLng(26.173443,-81.643969),new google.maps.LatLng(26.171553,-81.643969),new google.maps.LatLng(26.171553,-81.640327),new google.maps.LatLng(26.173433,-81.640327),new google.maps.LatLng(26.172908,-81.588233),new google.maps.LatLng(26.112089,-81.586994),new google.maps.LatLng(26.066267,-81.586994),new google.maps.LatLng(26.065968,-81.571652),new google.maps.LatLng(25.993668,-81.571164)];
var zoneMiddle7Coords=[new google.maps.LatLng(26.275258,-81.721366),new google.maps.LatLng(26.274069,-81.720756),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.244026,-81.720042),new google.maps.LatLng(26.244082,-81.736565),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.258364,-81.753495),new google.maps.LatLng(26.258364,-81.754600),new google.maps.LatLng(26.262613,-81.754750),new google.maps.LatLng(26.262567,-81.757193),new google.maps.LatLng(26.258253,-81.757110),new google.maps.LatLng(26.258099,-81.769491),new google.maps.LatLng(26.272527,-81.769960),new google.maps.LatLng(26.272201,-81.789790),new google.maps.LatLng(26.272317,-81.809966),new google.maps.LatLng(26.273541,-81.809966),new google.maps.LatLng(26.273541,-81.812299),new google.maps.LatLng(26.272317,-81.812299),new google.maps.LatLng(26.272317,-81.828044),new google.maps.LatLng(26.330456,-81.846444),new google.maps.LatLng(26.330487,-81.819230),new google.maps.LatLng(26.316236,-81.818903),new google.maps.LatLng(26.316375,-81.786545),new google.maps.LatLng(26.316765,-81.762433),new google.maps.LatLng(26.316853,-81.746396),new google.maps.LatLng(26.317079,-81.722002)];
var zoneMiddle8Coords=[new google.maps.LatLng(26.170154,-81.670867),new google.maps.LatLng(26.169882,-81.686823),new google.maps.LatLng(26.199655,-81.687283),new google.maps.LatLng(26.199475,-81.696020),new google.maps.LatLng(26.199475,-81.696514),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.201416,-81.703525),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.234774,-81.736549),new google.maps.LatLng(26.244082,-81.736565),new google.maps.LatLng(26.244026,-81.720042),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.274069,-81.720756),new google.maps.LatLng(26.275258,-81.721366),new google.maps.LatLng(26.317079,-81.722002),new google.maps.LatLng(26.317182,-81.706074),new google.maps.LatLng(26.317212,-81.689964),new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.302735,-81.657794),new google.maps.LatLng(26.303866,-81.641933),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.275342,-81.625607),new google.maps.LatLng(26.245506,-81.624228),new google.maps.LatLng(26.244960,-81.639971),new google.maps.LatLng(26.243978,-81.653815),new google.maps.LatLng(26.243858,-81.655412),new google.maps.LatLng(26.214699,-81.654859),new google.maps.LatLng(26.214584,-81.655363),new google.maps.LatLng(26.199948,-81.655186),new google.maps.LatLng(26.199615,-81.671253),new google.maps.LatLng(26.172588,-81.670867)];
var zoneMiddle9Coords=[new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.201416,-81.703525),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.199298,-81.715461),new google.maps.LatLng(26.199261,-81.719448),new google.maps.LatLng(26.197327,-81.719388),new google.maps.LatLng(26.197149,-81.735862),new google.maps.LatLng(26.197081,-81.751392),new google.maps.LatLng(26.197125,-81.752824),new google.maps.LatLng(26.197235,-81.768150),new google.maps.LatLng(26.196679,-81.794012),new google.maps.LatLng(26.198465,-81.794012),new google.maps.LatLng(26.198465,-81.795487),new google.maps.LatLng(26.197616,-81.795487),new google.maps.LatLng(26.197517,-81.800197),new google.maps.LatLng(26.211220,-81.800439),new google.maps.LatLng(26.210885,-81.817235),new google.maps.LatLng(26.272317,-81.828044),new google.maps.LatLng(26.272317,-81.812299),new google.maps.LatLng(26.273541,-81.812299),new google.maps.LatLng(26.273541,-81.809966),new google.maps.LatLng(26.272317,-81.809966),new google.maps.LatLng(26.272201,-81.789790),new google.maps.LatLng(26.272527,-81.769960),new google.maps.LatLng(26.258099,-81.769491),new google.maps.LatLng(26.258253,-81.757110),new google.maps.LatLng(26.262567,-81.757193),new google.maps.LatLng(26.262613,-81.754750),new google.maps.LatLng(26.258364,-81.754600),new google.maps.LatLng(26.258364,-81.753495),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.244082,-81.736565),new google.maps.LatLng(26.234774,-81.736549)];
zoneMiddle1 = new google.maps.Polygon({ paths: zoneMiddle1Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#a3ff74', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle1);
zoneMiddle2 = new google.maps.Polygon({ paths: zoneMiddle2Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#beffe7', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle2);
zoneMiddleA = new google.maps.Polygon({ paths: zoneMiddleACoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffffff', fillOpacity: 0.0 });
zonesMiddle.push(zoneMiddleA);
zoneMiddle3 = new google.maps.Polygon({ paths: zoneMiddle3Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#e7c7ee', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle3);
zoneMiddleE = new google.maps.Polygon({ paths: zoneMiddleECoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#00ff00', fillOpacity: 0.2 });
zonesMiddle.push(zoneMiddleE);
zoneMiddle4 = new google.maps.Polygon({ paths: zoneMiddle4Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#b3d69c', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle4);
zoneMiddle5 = new google.maps.Polygon({ paths: zoneMiddle5Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#bee8ff', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle5);
zoneMiddleI = new google.maps.Polygon({ paths: zoneMiddleICoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ff0000', fillOpacity: 0.2 });
zonesMiddle.push(zoneMiddleI);
zoneMiddle6 = new google.maps.Polygon({ paths: zoneMiddle6Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#7b8ef5', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle6);
zoneMiddle7 = new google.maps.Polygon({ paths: zoneMiddle7Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#df72ff', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle7);
zoneMiddle8 = new google.maps.Polygon({ paths: zoneMiddle8Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffd380', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle8);
zoneMiddle9 = new google.maps.Polygon({ paths: zoneMiddle9Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#f5f579', fillOpacity: 0.3 });
zonesMiddle.push(zoneMiddle9);
var zoneMiddleDesc=['Corkscrew Middle School','Cypress Palm Middle School','Dr. Martin Luther King, Jr. Administrative Center','East Naples Middle School','Everglades City School','Golden Gate Middle School','Gulfview Middle School','Immokalee Middle School','Manatee Middle School','North Naples Middle School','Oakridge Middle School','Pine Ridge Middle School'];
            var coord;
            var homeMarker;
            for (coord in aLocation) {
                var pinColor = "ecbe13";
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "00ccff";
                    homeMarker = coord;
                }
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "0e4ead";
                }
                var pinImage = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=" + aLocationZone[coord] + "|" + pinColor, new google.maps.Size(21, 34), new google.maps.Point(0,0), new google.maps.Point(10, 34));
                var pinShadow = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_shadow", new google.maps.Size(40, 37), new google.maps.Point(0, 0), new google.maps.Point(12, 35));
                var marker = new google.maps.Marker({
                    position: aLocation[coord],
                    map: map,
                    title: aLocationName[coord],
                    html: aLocationHTML[coord],
                    animation: google.maps.Animation.DROP,
                    label:aLocationZone[coord]
                });
                markersMiddle.push(marker);
            }
            var infowindow=null;
            infowindow = new InfoBubble({ content: 'loading...', backgroundColor: '#555', borderRadius: 10, borderColor: '#333', borderWidth: 2, arrowPosition: 50, minHeight: 200 });
            for (var i = 0; i < markersMiddle.length; i++) {
                google.maps.event.addListener(markersMiddle[i], 'click', function() {
                    infowindow.setContent(this.html);
                    infowindow.open(map,this);
                    $('#to').val(this.position);
                });
            }
        }
function initMap_Elementary(){
var loc_AVE=new google.maps.LatLng(26.108251,-81.765185);
var loc_AES=new google.maps.LatLng(26.348920,-81.440661);
var loc_BCR=new google.maps.LatLng(26.272812,-81.643721);
var loc_BCE=new google.maps.LatLng(26.227895,-81.672123);
var loc_CPE=new google.maps.LatLng(26.145731,-81.715177);
var loc_CES=new google.maps.LatLng(26.294060,-81.587930);
var loc_ADN=new google.maps.LatLng(26.220759,-81.758234);
var loc_EPE=new google.maps.LatLng(26.441757,-81.459159);
var loc_EES=new google.maps.LatLng(26.340558,-81.548363);
var loc_EVG=new google.maps.LatLng(25.863804,-81.386424);
var loc_GGE=new google.maps.LatLng(26.191353,-81.705545);
var loc_GTE=new google.maps.LatLng(26.178816,-81.697950);
var loc_HCE=new google.maps.LatLng(26.189007,-81.708491);
var loc_HLE=new google.maps.LatLng(26.432385,-81.429021);
var loc_LPE=new google.maps.LatLng(26.165830,-81.793044);
var loc_LTE=new google.maps.LatLng(26.433832,-81.459994);
var loc_LOE=new google.maps.LatLng(26.269774,-81.710068);
var loc_LGE=new google.maps.LatLng(26.174320,-81.696496);
var loc_LES=new google.maps.LatLng(26.105335,-81.690959);
var loc_MES=new google.maps.LatLng(26.045479,-81.679233);
var loc_MDE=new google.maps.LatLng(26.168717,-81.693934);
var loc_NPE=new google.maps.LatLng(26.274472,-81.810997);
var loc_OES=new google.maps.LatLng(26.218079,-81.758491);
var loc_PLE=new google.maps.LatLng(26.210095,-81.546953);
var loc_PSE=new google.maps.LatLng(26.082636,-81.717156);
var loc_PME=new google.maps.LatLng(26.257440,-81.767726);
var loc_PCR=new google.maps.LatLng(26.413422,-81.426481);
var loc_PES=new google.maps.LatLng(26.180972,-81.769536);
var loc_SPE=new google.maps.LatLng(26.265011,-81.525830);
var loc_SGE=new google.maps.LatLng(26.210469,-81.805029);
var loc_SLE=new google.maps.LatLng(26.133563,-81.769490);
var loc_TBE=new google.maps.LatLng(25.939477,-81.711782);
var loc_VME=new google.maps.LatLng(26.301360,-81.766977);
var loc_VOE=new google.maps.LatLng(26.403763,-81.395374);
var loc_VES=new google.maps.LatLng(26.242268,-81.733505);
var aLocation=[loc_AVE,loc_AES,loc_BCR,loc_BCE,loc_CPE,loc_CES,loc_ADN,loc_EPE,loc_EES,loc_EVG,loc_GGE,loc_GTE,loc_HCE,loc_HLE,loc_LPE,loc_LTE,loc_LOE,loc_LGE,loc_LES,loc_MES,loc_MDE,loc_NPE,loc_OES,loc_PLE,loc_PSE,loc_PME,loc_PCR,loc_PES,loc_SPE,loc_SGE,loc_SLE,loc_TBE,loc_VME,loc_VOE,loc_VES];
var aLocationAbbr=['loc_AVE','loc_AES','loc_BCR','loc_BCE','loc_CPE','loc_CES','loc_ADN','loc_EPE','loc_EES','loc_EVG','loc_GGE','loc_GTE','loc_HCE','loc_HLE','loc_LPE','loc_LTE','loc_LOE','loc_LGE','loc_LES','loc_MES','loc_MDE','loc_NPE','loc_OES','loc_PLE','loc_PSE','loc_PME','loc_PCR','loc_PES','loc_SPE','loc_SGE','loc_SLE','loc_TBE','loc_VME','loc_VOE','loc_VES'];
var aLocationName=['Avalon Elementary School','Ave Maria Elementary School','Bear Creek Elementary School','Big Cypress Elementary School','Calusa Park Elementary School','Corkscrew Elementary School','Dr. Martin Luther King, Jr. Administrative Center','Eden Park Elementary School','Estates Elementary School','Everglades City School','Golden Gate Elementary School','Golden Terrace Elementary School','Herbert Cambridge Elementary School','Highlands Elementary School','Lake Park Elementary School','Lake Trafford Elementary School','Laurel Oak Elementary School','Lavern Gaynor Elementary School','Lely Elementary School','Manatee Elementary School','Mike Davis Elementary School','Naples Park Elementary School','Osceola Elementary School','Palmetto Elementary School','Parkside Elementary School','Pelican Marsh Elementary School','Pinecrest Elementary School','Poinciana Elementary School','Sabal Palm Elementary School','Sea Gate Elementary School','Shadowlawn Elementary School','Tommie Barfield Elementary School','Veterans Memorial Elementary School','Village Oaks Elementary School','Vineyards Elementary School'];
var aLocationHTML=['<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/AVE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/AVE" class="schoolLink">Avalon Elementary School</a><br/>3300 Thomasson Dr<br/>Naples, Fl 34112<br/>34112</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/AES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/AES" class="schoolLink">Ave Maria Elementary School</a><br/>4050 Anthem Pkwy<br/>Ave Maria, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/BCR/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/BCR" class="schoolLink">Bear Creek Elementary School</a><br/>2400 Cub Ct<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/BCE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/BCE" class="schoolLink">Big Cypress Elementary School</a><br/>3250 Golden Gate Blvd W<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/CPE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/CPE" class="schoolLink">Calusa Park Elementary School</a><br/>4600 Santa Barbara Blvd<br/>Naples, Fl 34104<br/>34104</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/CES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/CES" class="schoolLink">Corkscrew Elementary School</a><br/>1065 Oil Well Rd<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/ADN/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/ADN" class="schoolLink">Dr. Martin Luther King, Jr. Administrative Center</a><br/>5775 Osceola Trl<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/EPE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/EPE" class="schoolLink">Eden Park Elementary School</a><br/>3650 Westclox St<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/EES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/EES" class="schoolLink">Estates Elementary School</a><br/>5945 Everglades Blvd N<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/EVG/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/EVG" class="schoolLink">Everglades City School</a><br/>415 School Dr E<br/>Everglades City, Fl 34139<br/>34139</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GGE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GGE" class="schoolLink">Golden Gate Elementary School</a><br/>4911 20th Pl Sw<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/GTE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/GTE" class="schoolLink">Golden Terrace Elementary School</a><br/>2711 44th Ter Sw<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/HCE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/HCE" class="schoolLink">Herbert Cambridge Elementary School</a><br/>5055 20th Pl Sw<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/HLE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/HLE" class="schoolLink">Highlands Elementary School</a><br/>1101 Lake Trafford Rd<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LPE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LPE" class="schoolLink">Lake Park Elementary School</a><br/>1295 14th Ave N<br/>Naples, Fl 34102<br/>34102</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LTE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LTE" class="schoolLink">Lake Trafford Elementary School</a><br/>3500 Lake Trafford Rd<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LOE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LOE" class="schoolLink">Laurel Oak Elementary School</a><br/>7800 Immokalee Rd<br/>Naples, Fl 34119<br/>34119</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LGE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LGE" class="schoolLink">Lavern Gaynor Elementary School</a><br/>2965 44th Ter Sw<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/LES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/LES" class="schoolLink">Lely Elementary School</a><br/>8125 Lely Cultural Pkwy<br/>Naples, Fl 34113<br/>34113</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/MES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/MES" class="schoolLink">Manatee Elementary School</a><br/>1880 Manatee Rd<br/>Naples, Fl 34114<br/>34114</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/MDE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/MDE" class="schoolLink">Mike Davis Elementary School</a><br/>3215 Magnolia Pond Dr<br/>Naples, Fl 34116<br/>34116</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/NPE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/NPE" class="schoolLink">Naples Park Elementary School</a><br/>685 111th Ave N<br/>Naples, Fl 34108<br/>34108</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/OES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/OES" class="schoolLink">Osceola Elementary School</a><br/>5770 Osceola Trl<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PLE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PLE" class="schoolLink">Palmetto Elementary School</a><br/>3000 10th Ave Se<br/>Naples, Fl 34117<br/>34117</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PSE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PSE" class="schoolLink">Parkside Elementary School</a><br/>5322 Texas Ave<br/>Naples, Fl 34113<br/>34113</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PME/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PME" class="schoolLink">Pelican Marsh Elementary School</a><br/>9480 Airport Rd N<br/>Naples, Fl 34109<br/>34109</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PCR/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PCR" class="schoolLink">Pinecrest Elementary School</a><br/>313 S 9th St<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/PES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/PES" class="schoolLink">Poinciana Elementary School</a><br/>2825 Airport Rd N<br/>Naples, Fl 34105<br/>34105</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/SPE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/SPE" class="schoolLink">Sabal Palm Elementary School</a><br/>4095 18th Ave Ne<br/>Naples, Fl 34120<br/>34120</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/SGE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/SGE" class="schoolLink">Sea Gate Elementary School</a><br/>650 Seagate Dr<br/>Naples, Fl 34103<br/>34103</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/SLE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/SLE" class="schoolLink">Shadowlawn Elementary School</a><br/>2161 Shadowlawn Dr<br/>Naples, Fl 34112<br/>34112</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/TBE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/TBE" class="schoolLink">Tommie Barfield Elementary School</a><br/>101 Kirkwood St<br/>Marco Island, Fl 34145<br/>34145</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/VME/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/VME" class="schoolLink">Veterans Memorial Elementary School</a><br/>15960 Veterans Memorial Blvd<br/>Naples, Fl 34110<br/>34110</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/VOE/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/VOE" class="schoolLink">Village Oaks Elementary School</a><br/>1601 Sr 29<br/>Immokalee, Fl 34142<br/>34142</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>','<div style="overflow: hidden;"><table class="info_popup"><tr><td><img src="/app/api/Facility/VES/photo?h=90"/></td></tr><tr><td nowrap><div class="bubbleText"><a target="school_site" href="https://www.collierschools.com/VES" class="schoolLink">Vineyards Elementary School</a><br/>6225 Arbor Blvd<br/>Naples, Fl 34119<br/>34119</div><!--<a href="#" onClick="calcRoute();"><div class="getDirections ui-corner-all"><div class="getDirectionsText">Get directions</div></div></a>--></td></tr></table></div>'];
var aLocationZone=['1','27','I6','2','3','4','A','I1','5','E','8','9','6','I2','10','I3','11','7','12','13','14','15','16','17','18','19','I4','20','21','22','23','24','25','I5','26'];
var zoneElementary1Coords=[new google.maps.LatLng(26.094961,-81.736865),new google.maps.LatLng(26.094961,-81.749573),new google.maps.LatLng(26.080720,-81.749573),new google.maps.LatLng(26.080720,-81.798000),new google.maps.LatLng(26.092032,-81.804376),new google.maps.LatLng(26.093494,-81.798561),new google.maps.LatLng(26.096749,-81.797585),new google.maps.LatLng(26.098177,-81.791459),new google.maps.LatLng(26.101036,-81.786776),new google.maps.LatLng(26.115911,-81.785681),new google.maps.LatLng(26.120562,-81.785139),new google.maps.LatLng(26.122447,-81.783729),new google.maps.LatLng(26.122086,-81.783208),new google.maps.LatLng(26.122154,-81.782532),new google.maps.LatLng(26.129185,-81.782656),new google.maps.LatLng(26.129185,-81.780730),new google.maps.LatLng(26.134647,-81.780778),new google.maps.LatLng(26.134712,-81.781272),new google.maps.LatLng(26.135268,-81.782076),new google.maps.LatLng(26.135391,-81.783337),new google.maps.LatLng(26.137144,-81.783337),new google.maps.LatLng(26.138225,-81.782747),new google.maps.LatLng(26.126108,-81.765189),new google.maps.LatLng(26.109303,-81.749842)];
var zoneElementary27Coords=[new google.maps.LatLng(26.368684,-81.416808),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.366665,-81.521709),new google.maps.LatLng(26.293924,-81.482315),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.294949,-81.415944)];
var zoneElementaryI6Coords=[new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.318562,-81.642470),new google.maps.LatLng(26.303866,-81.641933),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.292158,-81.601476),new google.maps.LatLng(26.277536,-81.601379),new google.maps.LatLng(26.278140,-81.599112),new google.maps.LatLng(26.277450,-81.598482),new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.246805,-81.561191),new google.maps.LatLng(26.246521,-81.580600),new google.maps.LatLng(26.246033,-81.624239),new google.maps.LatLng(26.245506,-81.624228),new google.maps.LatLng(26.244960,-81.639971),new google.maps.LatLng(26.243978,-81.653815),new google.maps.LatLng(26.243858,-81.655412),new google.maps.LatLng(26.244012,-81.671317),new google.maps.LatLng(26.243850,-81.688010),new google.maps.LatLng(26.273125,-81.689417),new google.maps.LatLng(26.273014,-81.693638),new google.maps.LatLng(26.276862,-81.693852),new google.maps.LatLng(26.276838,-81.691487),new google.maps.LatLng(26.280484,-81.691508),new google.maps.LatLng(26.280580,-81.693396),new google.maps.LatLng(26.282429,-81.693471),new google.maps.LatLng(26.282468,-81.691572),new google.maps.LatLng(26.284353,-81.691626),new google.maps.LatLng(26.284382,-81.689577),new google.maps.LatLng(26.317212,-81.689964)];
var zoneElementary2Coords=[new google.maps.LatLng(26.172908,-81.604954),new google.maps.LatLng(26.173433,-81.640327),new google.maps.LatLng(26.171553,-81.640327),new google.maps.LatLng(26.171553,-81.643969),new google.maps.LatLng(26.173443,-81.643969),new google.maps.LatLng(26.173443,-81.646126),new google.maps.LatLng(26.171688,-81.646126),new google.maps.LatLng(26.171688,-81.654478),new google.maps.LatLng(26.172588,-81.654478),new google.maps.LatLng(26.172588,-81.670867),new google.maps.LatLng(26.170051,-81.670845),new google.maps.LatLng(26.169886,-81.686914),new google.maps.LatLng(26.199550,-81.687355),new google.maps.LatLng(26.228872,-81.687593),new google.maps.LatLng(26.243750,-81.688054),new google.maps.LatLng(26.243868,-81.691997),new google.maps.LatLng(26.251195,-81.692217),new google.maps.LatLng(26.251164,-81.688365),new google.maps.LatLng(26.243850,-81.688010),new google.maps.LatLng(26.243858,-81.655412),new google.maps.LatLng(26.245506,-81.624228),new google.maps.LatLng(26.246033,-81.624239),new google.maps.LatLng(26.246249,-81.607886),new google.maps.LatLng(26.245197,-81.607881),new google.maps.LatLng(26.245208,-81.606872),new google.maps.LatLng(26.242607,-81.606835),new google.maps.LatLng(26.242607,-81.607881),new google.maps.LatLng(26.241844,-81.607881),new google.maps.LatLng(26.241844,-81.608964),new google.maps.LatLng(26.239876,-81.608936),new google.maps.LatLng(26.239876,-81.606801),new google.maps.LatLng(26.237434,-81.606767),new google.maps.LatLng(26.237434,-81.608895),new google.maps.LatLng(26.236262,-81.608888),new google.maps.LatLng(26.236262,-81.606753),new google.maps.LatLng(26.236038,-81.606747),new google.maps.LatLng(26.236038,-81.608879),new google.maps.LatLng(26.235289,-81.608869),new google.maps.LatLng(26.235289,-81.607881),new google.maps.LatLng(26.234897,-81.607881),new google.maps.LatLng(26.234897,-81.606731),new google.maps.LatLng(26.234618,-81.606724),new google.maps.LatLng(26.234618,-81.608862),new google.maps.LatLng(26.234393,-81.608859),new google.maps.LatLng(26.234393,-81.606725),new google.maps.LatLng(26.233230,-81.606704),new google.maps.LatLng(26.233230,-81.608841),new google.maps.LatLng(26.232814,-81.608832),new google.maps.LatLng(26.232814,-81.606703),new google.maps.LatLng(26.231658,-81.606689),new google.maps.LatLng(26.231658,-81.607881),new google.maps.LatLng(26.229816,-81.607881),new google.maps.LatLng(26.229826,-81.606680),new google.maps.LatLng(26.227966,-81.606634),new google.maps.LatLng(26.227966,-81.608759),new google.maps.LatLng(26.227663,-81.608763),new google.maps.LatLng(26.227663,-81.606634),new google.maps.LatLng(26.227119,-81.606611),new google.maps.LatLng(26.227119,-81.608750),new google.maps.LatLng(26.226836,-81.608741),new google.maps.LatLng(26.226836,-81.606606),new google.maps.LatLng(26.226085,-81.606602),new google.maps.LatLng(26.226085,-81.607604),new google.maps.LatLng(26.225217,-81.607604),new google.maps.LatLng(26.225217,-81.608727),new google.maps.LatLng(26.224329,-81.608705),new google.maps.LatLng(26.224329,-81.606575),new google.maps.LatLng(26.223405,-81.606569),new google.maps.LatLng(26.223405,-81.607604),new google.maps.LatLng(26.221593,-81.607604),new google.maps.LatLng(26.221593,-81.606542),new google.maps.LatLng(26.221127,-81.606536),new google.maps.LatLng(26.221127,-81.608659),new google.maps.LatLng(26.219808,-81.608633),new google.maps.LatLng(26.219808,-81.606511),new google.maps.LatLng(26.219365,-81.606505),new google.maps.LatLng(26.219365,-81.608632),new google.maps.LatLng(26.218831,-81.608619),new google.maps.LatLng(26.218831,-81.607604),new google.maps.LatLng(26.217965,-81.607604),new google.maps.LatLng(26.217965,-81.606484),new google.maps.LatLng(26.217034,-81.606465),new google.maps.LatLng(26.217034,-81.607604),new google.maps.LatLng(26.216171,-81.607604),new google.maps.LatLng(26.216171,-81.606454),new google.maps.LatLng(26.215753,-81.606451),new google.maps.LatLng(26.215753,-81.608565),new google.maps.LatLng(26.214333,-81.608551),new google.maps.LatLng(26.214333,-81.607604),new google.maps.LatLng(26.213128,-81.607546),new google.maps.LatLng(26.213109,-81.606429),new google.maps.LatLng(26.213008,-81.605152),new google.maps.LatLng(26.198205,-81.604954)];
var zoneElementary3Coords=[new google.maps.LatLng(26.128174,-81.686933),new google.maps.LatLng(26.127623,-81.702007),new google.maps.LatLng(26.123642,-81.702029),new google.maps.LatLng(26.123709,-81.709914),new google.maps.LatLng(26.131502,-81.710107),new google.maps.LatLng(26.131396,-81.714050),new google.maps.LatLng(26.121961,-81.713905),new google.maps.LatLng(26.121987,-81.715930),new google.maps.LatLng(26.120136,-81.715952),new google.maps.LatLng(26.120145,-81.717871),new google.maps.LatLng(26.122026,-81.717969),new google.maps.LatLng(26.122069,-81.728389),new google.maps.LatLng(26.123059,-81.728389),new google.maps.LatLng(26.123143,-81.730106),new google.maps.LatLng(26.123127,-81.734215),new google.maps.LatLng(26.123921,-81.734215),new google.maps.LatLng(26.132581,-81.734440),new google.maps.LatLng(26.132581,-81.732364),new google.maps.LatLng(26.132581,-81.732364),new google.maps.LatLng(26.132581,-81.730272),new google.maps.LatLng(26.138806,-81.730413),new google.maps.LatLng(26.138813,-81.736506),new google.maps.LatLng(26.138752,-81.738474),new google.maps.LatLng(26.146397,-81.738608),new google.maps.LatLng(26.146525,-81.735604),new google.maps.LatLng(26.154263,-81.735606),new google.maps.LatLng(26.154283,-81.734726),new google.maps.LatLng(26.168461,-81.734800),new google.maps.LatLng(26.169230,-81.702710),new google.maps.LatLng(26.154725,-81.702608),new google.maps.LatLng(26.154831,-81.686531)];
var zoneElementary4Coords=[new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.277610,-81.581072),new google.maps.LatLng(26.277450,-81.598482),new google.maps.LatLng(26.278140,-81.599112),new google.maps.LatLng(26.277536,-81.601379),new google.maps.LatLng(26.292158,-81.601476),new google.maps.LatLng(26.291700,-81.625982),new google.maps.LatLng(26.305180,-81.625912),new google.maps.LatLng(26.303866,-81.641933),new google.maps.LatLng(26.318562,-81.642470),new google.maps.LatLng(26.320770,-81.610061),new google.maps.LatLng(26.322001,-81.595073),new google.maps.LatLng(26.322298,-81.562353),new google.maps.LatLng(26.308549,-81.562124)];
var zoneElementaryACoords=[];
var zoneElementaryI1Coords=[new google.maps.LatLng(26.433051,-81.433802),new google.maps.LatLng(26.432924,-81.442444),new google.maps.LatLng(26.432849,-81.450051),new google.maps.LatLng(26.436464,-81.450121),new google.maps.LatLng(26.436462,-81.458221),new google.maps.LatLng(26.438229,-81.458232),new google.maps.LatLng(26.438688,-81.463757),new google.maps.LatLng(26.438962,-81.463757),new google.maps.LatLng(26.439007,-81.464025),new google.maps.LatLng(26.438926,-81.464175),new google.maps.LatLng(26.436968,-81.464170),new google.maps.LatLng(26.436950,-81.465189),new google.maps.LatLng(26.455329,-81.465409),new google.maps.LatLng(26.454375,-81.514526),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.513291,-81.563680),new google.maps.LatLng(26.513721,-81.466321),new google.maps.LatLng(26.515456,-81.451280),new google.maps.LatLng(26.515516,-81.435118)];
var zoneElementary5Coords=[new google.maps.LatLng(26.293924,-81.482315),new google.maps.LatLng(26.293744,-81.494238),new google.maps.LatLng(26.293228,-81.561911),new google.maps.LatLng(26.308549,-81.562124),new google.maps.LatLng(26.322298,-81.562353),new google.maps.LatLng(26.322001,-81.595073),new google.maps.LatLng(26.320770,-81.610061),new google.maps.LatLng(26.317568,-81.658089),new google.maps.LatLng(26.421053,-81.659537),new google.maps.LatLng(26.421734,-81.613855),new google.maps.LatLng(26.421053,-81.562521),new google.maps.LatLng(26.423458,-81.530791),new google.maps.LatLng(26.423458,-81.529369),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.366665,-81.521709)];
var zoneElementaryECoords=[new google.maps.LatLng(25.805727,-80.873471),new google.maps.LatLng(25.803074,-81.102667),new google.maps.LatLng(25.803163,-81.502665),new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(25.975563,-80.873471)];
var zoneElementary8Coords=[new google.maps.LatLng(26.197420,-81.708167),new google.maps.LatLng(26.197486,-81.703552),new google.maps.LatLng(26.197584,-81.703396),new google.maps.LatLng(26.197753,-81.690227),new google.maps.LatLng(26.194655,-81.690141),new google.maps.LatLng(26.194114,-81.690919),new google.maps.LatLng(26.193375,-81.691407),new google.maps.LatLng(26.193392,-81.693059),new google.maps.LatLng(26.193199,-81.694261),new google.maps.LatLng(26.192653,-81.695564),new google.maps.LatLng(26.191589,-81.696589),new google.maps.LatLng(26.190590,-81.697501),new google.maps.LatLng(26.189204,-81.697930),new google.maps.LatLng(26.186198,-81.697909),new google.maps.LatLng(26.186121,-81.702468),new google.maps.LatLng(26.184650,-81.702447),new google.maps.LatLng(26.183620,-81.701948),new google.maps.LatLng(26.182034,-81.704319),new google.maps.LatLng(26.182635,-81.704915),new google.maps.LatLng(26.183046,-81.705886),new google.maps.LatLng(26.182999,-81.710767),new google.maps.LatLng(26.184795,-81.710796),new google.maps.LatLng(26.184870,-81.707281),new google.maps.LatLng(26.188323,-81.707246),new google.maps.LatLng(26.190054,-81.707727),new google.maps.LatLng(26.191333,-81.708480),new google.maps.LatLng(26.192387,-81.709358),new google.maps.LatLng(26.194395,-81.708037)];
var zoneElementary9Coords=[new google.maps.LatLng(26.197955,-81.690068),new google.maps.LatLng(26.197955,-81.689583),new google.maps.LatLng(26.198398,-81.689583),new google.maps.LatLng(26.198422,-81.688601),new google.maps.LatLng(26.199534,-81.688601),new google.maps.LatLng(26.199550,-81.687355),new google.maps.LatLng(26.169886,-81.686914),new google.maps.LatLng(26.169823,-81.687917),new google.maps.LatLng(26.170924,-81.688022),new google.maps.LatLng(26.170893,-81.688870),new google.maps.LatLng(26.174505,-81.688890),new google.maps.LatLng(26.174919,-81.689221),new google.maps.LatLng(26.175054,-81.689701),new google.maps.LatLng(26.174858,-81.693870),new google.maps.LatLng(26.175346,-81.693975),new google.maps.LatLng(26.178160,-81.695363),new google.maps.LatLng(26.177986,-81.695811),new google.maps.LatLng(26.177586,-81.695615),new google.maps.LatLng(26.176983,-81.697258),new google.maps.LatLng(26.176663,-81.699033),new google.maps.LatLng(26.176221,-81.698987),new google.maps.LatLng(26.176117,-81.699915),new google.maps.LatLng(26.176032,-81.699918),new google.maps.LatLng(26.175988,-81.700481),new google.maps.LatLng(26.176744,-81.700646),new google.maps.LatLng(26.176643,-81.701183),new google.maps.LatLng(26.176749,-81.701203),new google.maps.LatLng(26.176352,-81.703287),new google.maps.LatLng(26.175073,-81.703193),new google.maps.LatLng(26.175063,-81.705018),new google.maps.LatLng(26.175978,-81.705153),new google.maps.LatLng(26.175822,-81.706064),new google.maps.LatLng(26.176752,-81.706431),new google.maps.LatLng(26.178181,-81.707688),new google.maps.LatLng(26.178934,-81.708410),new google.maps.LatLng(26.176901,-81.711178),new google.maps.LatLng(26.178988,-81.713139),new google.maps.LatLng(26.180097,-81.713940),new google.maps.LatLng(26.181423,-81.714370),new google.maps.LatLng(26.181435,-81.716203),new google.maps.LatLng(26.182883,-81.716297),new google.maps.LatLng(26.182999,-81.710767),new google.maps.LatLng(26.183046,-81.705886),new google.maps.LatLng(26.182635,-81.704915),new google.maps.LatLng(26.182034,-81.704319),new google.maps.LatLng(26.183620,-81.701948),new google.maps.LatLng(26.184650,-81.702447),new google.maps.LatLng(26.186121,-81.702468),new google.maps.LatLng(26.186198,-81.697909),new google.maps.LatLng(26.189204,-81.697930),new google.maps.LatLng(26.190590,-81.697501),new google.maps.LatLng(26.191589,-81.696589),new google.maps.LatLng(26.192653,-81.695564),new google.maps.LatLng(26.193199,-81.694261),new google.maps.LatLng(26.193392,-81.693059),new google.maps.LatLng(26.193375,-81.691407),new google.maps.LatLng(26.194114,-81.690919),new google.maps.LatLng(26.194655,-81.690141),new google.maps.LatLng(26.197753,-81.690227)];
var zoneElementary6Coords=[new google.maps.LatLng(26.182927,-81.718932),new google.maps.LatLng(26.197327,-81.719388),new google.maps.LatLng(26.197420,-81.708167),new google.maps.LatLng(26.194395,-81.708037),new google.maps.LatLng(26.192387,-81.709358),new google.maps.LatLng(26.191333,-81.708480),new google.maps.LatLng(26.190054,-81.707727),new google.maps.LatLng(26.188323,-81.707246),new google.maps.LatLng(26.184870,-81.707281),new google.maps.LatLng(26.184795,-81.710796),new google.maps.LatLng(26.182999,-81.710767),new google.maps.LatLng(26.182883,-81.716297)];
var zoneElementaryI2Coords=[new google.maps.LatLng(26.422134,-81.425568),new google.maps.LatLng(26.422036,-81.433577),new google.maps.LatLng(26.425687,-81.433727),new google.maps.LatLng(26.425656,-81.437740),new google.maps.LatLng(26.429227,-81.437858),new google.maps.LatLng(26.429230,-81.442337),new google.maps.LatLng(26.432924,-81.442444),new google.maps.LatLng(26.433051,-81.433802),new google.maps.LatLng(26.515516,-81.435118),new google.maps.LatLng(26.515755,-81.402745),new google.maps.LatLng(26.470807,-81.402105),new google.maps.LatLng(26.470560,-81.409548),new google.maps.LatLng(26.470529,-81.418209),new google.maps.LatLng(26.442398,-81.417784),new google.maps.LatLng(26.440821,-81.416266),new google.maps.LatLng(26.439399,-81.417784),new google.maps.LatLng(26.430750,-81.417763),new google.maps.LatLng(26.429725,-81.416550),new google.maps.LatLng(26.428500,-81.415090),new google.maps.LatLng(26.429330,-81.414150),new google.maps.LatLng(26.429040,-81.413010),new google.maps.LatLng(26.424813,-81.414265),new google.maps.LatLng(26.426842,-81.416593),new google.maps.LatLng(26.425937,-81.417586),new google.maps.LatLng(26.425795,-81.425605)];
var zoneElementary10Coords=[new google.maps.LatLng(26.175020,-81.811599),new google.maps.LatLng(26.180800,-81.812039),new google.maps.LatLng(26.181040,-81.808639),new google.maps.LatLng(26.181070,-81.806509),new google.maps.LatLng(26.180480,-81.804409),new google.maps.LatLng(26.180500,-81.799789),new google.maps.LatLng(26.186030,-81.799899),new google.maps.LatLng(26.186030,-81.797459),new google.maps.LatLng(26.187450,-81.797459),new google.maps.LatLng(26.187570,-81.791719),new google.maps.LatLng(26.196703,-81.791968),new google.maps.LatLng(26.196853,-81.783908),new google.maps.LatLng(26.197105,-81.778173),new google.maps.LatLng(26.195805,-81.778113),new google.maps.LatLng(26.194585,-81.783773),new google.maps.LatLng(26.173585,-81.783503),new google.maps.LatLng(26.166735,-81.783333),new google.maps.LatLng(26.165735,-81.782833),new google.maps.LatLng(26.160884,-81.782860),new google.maps.LatLng(26.160371,-81.782950),new google.maps.LatLng(26.160080,-81.783857),new google.maps.LatLng(26.158298,-81.784587),new google.maps.LatLng(26.157499,-81.784029),new google.maps.LatLng(26.156541,-81.784533),new google.maps.LatLng(26.154793,-81.785542),new google.maps.LatLng(26.153329,-81.785134),new google.maps.LatLng(26.150909,-81.786116),new google.maps.LatLng(26.149600,-81.785375),new google.maps.LatLng(26.146212,-81.786674),new google.maps.LatLng(26.140120,-81.786341),new google.maps.LatLng(26.138225,-81.782747),new google.maps.LatLng(26.137144,-81.783337),new google.maps.LatLng(26.135391,-81.783337),new google.maps.LatLng(26.135268,-81.782076),new google.maps.LatLng(26.134712,-81.781272),new google.maps.LatLng(26.134647,-81.780778),new google.maps.LatLng(26.129185,-81.780730),new google.maps.LatLng(26.129185,-81.782656),new google.maps.LatLng(26.122154,-81.782532),new google.maps.LatLng(26.122086,-81.783208),new google.maps.LatLng(26.122447,-81.783729),new google.maps.LatLng(26.120562,-81.785139),new google.maps.LatLng(26.115911,-81.785681),new google.maps.LatLng(26.101036,-81.786776),new google.maps.LatLng(26.098177,-81.791459),new google.maps.LatLng(26.096749,-81.797585),new google.maps.LatLng(26.093494,-81.798561),new google.maps.LatLng(26.092032,-81.804376),new google.maps.LatLng(26.173760,-81.815669)];
var zoneElementaryI3Coords=[new google.maps.LatLng(26.429230,-81.442337),new google.maps.LatLng(26.429208,-81.445867),new google.maps.LatLng(26.425512,-81.445760),new google.maps.LatLng(26.422240,-81.445760),new google.maps.LatLng(26.422240,-81.449976),new google.maps.LatLng(26.422240,-81.456285),new google.maps.LatLng(26.425568,-81.460578),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.423876,-81.514542),new google.maps.LatLng(26.454375,-81.514526),new google.maps.LatLng(26.455329,-81.465409),new google.maps.LatLng(26.436950,-81.465189),new google.maps.LatLng(26.436968,-81.464170),new google.maps.LatLng(26.438926,-81.464175),new google.maps.LatLng(26.439007,-81.464025),new google.maps.LatLng(26.438962,-81.463757),new google.maps.LatLng(26.438688,-81.463757),new google.maps.LatLng(26.438229,-81.458232),new google.maps.LatLng(26.436462,-81.458221),new google.maps.LatLng(26.436464,-81.450121),new google.maps.LatLng(26.432849,-81.450051),new google.maps.LatLng(26.432924,-81.442444)];
var zoneElementary11Coords=[new google.maps.LatLng(26.263221,-81.689006),new google.maps.LatLng(26.263174,-81.696817),new google.maps.LatLng(26.258587,-81.696680),new google.maps.LatLng(26.258513,-81.700628),new google.maps.LatLng(26.257065,-81.700569),new google.maps.LatLng(26.257053,-81.704721),new google.maps.LatLng(26.258496,-81.704780),new google.maps.LatLng(26.258417,-81.720552),new google.maps.LatLng(26.259193,-81.720584),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.274069,-81.720756),new google.maps.LatLng(26.275258,-81.721366),new google.maps.LatLng(26.287829,-81.721668),new google.maps.LatLng(26.302257,-81.721823),new google.maps.LatLng(26.317079,-81.722002),new google.maps.LatLng(26.317212,-81.689964),new google.maps.LatLng(26.302663,-81.689851),new google.maps.LatLng(26.284382,-81.689577),new google.maps.LatLng(26.284353,-81.691626),new google.maps.LatLng(26.282468,-81.691572),new google.maps.LatLng(26.282429,-81.693471),new google.maps.LatLng(26.280580,-81.693396),new google.maps.LatLng(26.280484,-81.691508),new google.maps.LatLng(26.276838,-81.691487),new google.maps.LatLng(26.276862,-81.693852),new google.maps.LatLng(26.273014,-81.693638),new google.maps.LatLng(26.273125,-81.689417)];
var zoneElementary7Coords=[new google.maps.LatLng(26.182883,-81.716297),new google.maps.LatLng(26.181435,-81.716203),new google.maps.LatLng(26.181423,-81.714370),new google.maps.LatLng(26.180097,-81.713940),new google.maps.LatLng(26.178988,-81.713139),new google.maps.LatLng(26.176901,-81.711178),new google.maps.LatLng(26.178934,-81.708410),new google.maps.LatLng(26.178181,-81.707688),new google.maps.LatLng(26.176752,-81.706431),new google.maps.LatLng(26.175822,-81.706064),new google.maps.LatLng(26.175978,-81.705153),new google.maps.LatLng(26.175063,-81.705018),new google.maps.LatLng(26.175073,-81.703193),new google.maps.LatLng(26.176352,-81.703287),new google.maps.LatLng(26.176749,-81.701203),new google.maps.LatLng(26.176643,-81.701183),new google.maps.LatLng(26.176744,-81.700646),new google.maps.LatLng(26.175988,-81.700481),new google.maps.LatLng(26.176032,-81.699918),new google.maps.LatLng(26.176117,-81.699915),new google.maps.LatLng(26.176221,-81.698987),new google.maps.LatLng(26.176663,-81.699033),new google.maps.LatLng(26.176983,-81.697258),new google.maps.LatLng(26.177586,-81.695615),new google.maps.LatLng(26.177986,-81.695811),new google.maps.LatLng(26.178160,-81.695363),new google.maps.LatLng(26.175346,-81.693975),new google.maps.LatLng(26.174858,-81.693870),new google.maps.LatLng(26.175054,-81.689701),new google.maps.LatLng(26.174919,-81.689221),new google.maps.LatLng(26.174505,-81.688890),new google.maps.LatLng(26.170893,-81.688870),new google.maps.LatLng(26.170924,-81.688022),new google.maps.LatLng(26.169823,-81.687917),new google.maps.LatLng(26.169230,-81.702710),new google.maps.LatLng(26.168637,-81.718777),new google.maps.LatLng(26.174362,-81.718977),new google.maps.LatLng(26.182927,-81.718932)];
var zoneElementary12Coords=[new google.maps.LatLng(26.080635,-81.586887),new google.maps.LatLng(26.080828,-81.670877),new google.maps.LatLng(26.050930,-81.670813),new google.maps.LatLng(26.051147,-81.680061),new google.maps.LatLng(26.076277,-81.719500),new google.maps.LatLng(26.080647,-81.719232),new google.maps.LatLng(26.080698,-81.716319),new google.maps.LatLng(26.083820,-81.716325),new google.maps.LatLng(26.083943,-81.719103),new google.maps.LatLng(26.094841,-81.718599),new google.maps.LatLng(26.094961,-81.736865),new google.maps.LatLng(26.109303,-81.749842),new google.maps.LatLng(26.116599,-81.750199),new google.maps.LatLng(26.116599,-81.749761),new google.maps.LatLng(26.116998,-81.749766),new google.maps.LatLng(26.116998,-81.750204),new google.maps.LatLng(26.123794,-81.750196),new google.maps.LatLng(26.123921,-81.734215),new google.maps.LatLng(26.123127,-81.734215),new google.maps.LatLng(26.123143,-81.730106),new google.maps.LatLng(26.123059,-81.728389),new google.maps.LatLng(26.122069,-81.728389),new google.maps.LatLng(26.122026,-81.717969),new google.maps.LatLng(26.120145,-81.717871),new google.maps.LatLng(26.120136,-81.715952),new google.maps.LatLng(26.121987,-81.715930),new google.maps.LatLng(26.121961,-81.713905),new google.maps.LatLng(26.131396,-81.714050),new google.maps.LatLng(26.131502,-81.710107),new google.maps.LatLng(26.123709,-81.709914),new google.maps.LatLng(26.123642,-81.702029),new google.maps.LatLng(26.127623,-81.702007),new google.maps.LatLng(26.128174,-81.686933),new google.maps.LatLng(26.154831,-81.686531),new google.maps.LatLng(26.154954,-81.664333),new google.maps.LatLng(26.153688,-81.604503),new google.maps.LatLng(26.153329,-81.588319),new google.maps.LatLng(26.112113,-81.586967)];
var zoneElementary13Coords=[new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(25.987398,-81.575900),new google.maps.LatLng(25.988215,-81.583974),new google.maps.LatLng(25.988769,-81.585283),new google.maps.LatLng(25.989845,-81.586887),new google.maps.LatLng(25.994517,-81.592594),new google.maps.LatLng(25.996373,-81.594912),new google.maps.LatLng(26.013962,-81.622083),new google.maps.LatLng(26.005616,-81.621889),new google.maps.LatLng(26.005375,-81.639833),new google.maps.LatLng(26.003391,-81.760806),new google.maps.LatLng(26.080720,-81.798000),new google.maps.LatLng(26.080720,-81.749573),new google.maps.LatLng(26.094961,-81.749573),new google.maps.LatLng(26.094961,-81.736865),new google.maps.LatLng(26.076277,-81.719500),new google.maps.LatLng(26.051147,-81.680061),new google.maps.LatLng(26.050930,-81.670813),new google.maps.LatLng(26.080828,-81.670877),new google.maps.LatLng(26.080635,-81.586887),new google.maps.LatLng(26.066177,-81.586967),new google.maps.LatLng(26.066177,-81.571682)];
var zoneElementary14Coords=[new google.maps.LatLng(26.153688,-81.604503),new google.maps.LatLng(26.154954,-81.664333),new google.maps.LatLng(26.154831,-81.686531),new google.maps.LatLng(26.154725,-81.702608),new google.maps.LatLng(26.169230,-81.702710),new google.maps.LatLng(26.169886,-81.686914),new google.maps.LatLng(26.199550,-81.687355),new google.maps.LatLng(26.199534,-81.688601),new google.maps.LatLng(26.198422,-81.688601),new google.maps.LatLng(26.198398,-81.689583),new google.maps.LatLng(26.197955,-81.689583),new google.maps.LatLng(26.197955,-81.690068),new google.maps.LatLng(26.197753,-81.690227),new google.maps.LatLng(26.197584,-81.703396),new google.maps.LatLng(26.197486,-81.703552),new google.maps.LatLng(26.197420,-81.708167),new google.maps.LatLng(26.197327,-81.719388),new google.maps.LatLng(26.199261,-81.719448),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.199655,-81.687283),new google.maps.LatLng(26.169882,-81.686823),new google.maps.LatLng(26.170051,-81.670845),new google.maps.LatLng(26.172588,-81.670867),new google.maps.LatLng(26.172588,-81.654478),new google.maps.LatLng(26.171688,-81.654478),new google.maps.LatLng(26.171688,-81.646126),new google.maps.LatLng(26.173443,-81.646126),new google.maps.LatLng(26.173443,-81.643969),new google.maps.LatLng(26.171553,-81.643969),new google.maps.LatLng(26.171553,-81.640327),new google.maps.LatLng(26.173433,-81.640327),new google.maps.LatLng(26.172908,-81.604954)];
var zoneElementary15Coords=[new google.maps.LatLng(26.272321,-81.789882),new google.maps.LatLng(26.272410,-81.794901),new google.maps.LatLng(26.271764,-81.794870),new google.maps.LatLng(26.271570,-81.794232),new google.maps.LatLng(26.271203,-81.794240),new google.maps.LatLng(26.271186,-81.795457),new google.maps.LatLng(26.268101,-81.795514),new google.maps.LatLng(26.268573,-81.797306),new google.maps.LatLng(26.268226,-81.798958),new google.maps.LatLng(26.267822,-81.799108),new google.maps.LatLng(26.267466,-81.800042),new google.maps.LatLng(26.267466,-81.801614),new google.maps.LatLng(26.250481,-81.801201),new google.maps.LatLng(26.253841,-81.823940),new google.maps.LatLng(26.272317,-81.828044),new google.maps.LatLng(26.330456,-81.846444),new google.maps.LatLng(26.330487,-81.819230),new google.maps.LatLng(26.316236,-81.818903),new google.maps.LatLng(26.316375,-81.786545),new google.maps.LatLng(26.302034,-81.786428),new google.maps.LatLng(26.301939,-81.790704),new google.maps.LatLng(26.291845,-81.790284),new google.maps.LatLng(26.291715,-81.801952),new google.maps.LatLng(26.287026,-81.801898),new google.maps.LatLng(26.287037,-81.792489),new google.maps.LatLng(26.286095,-81.791459),new google.maps.LatLng(26.287027,-81.790477),new google.maps.LatLng(26.287004,-81.786311),new google.maps.LatLng(26.279924,-81.786132),new google.maps.LatLng(26.279765,-81.790735)];
var zoneElementary16Coords=[new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.199261,-81.719448),new google.maps.LatLng(26.197327,-81.719388),new google.maps.LatLng(26.197375,-81.735857),new google.maps.LatLng(26.197081,-81.751392),new google.maps.LatLng(26.197125,-81.752824),new google.maps.LatLng(26.197235,-81.768150),new google.maps.LatLng(26.196853,-81.783908),new google.maps.LatLng(26.200963,-81.784028),new google.maps.LatLng(26.201163,-81.782088),new google.maps.LatLng(26.200783,-81.781038),new google.maps.LatLng(26.200623,-81.779708),new google.maps.LatLng(26.201053,-81.777708),new google.maps.LatLng(26.201183,-81.776148),new google.maps.LatLng(26.207875,-81.776300),new google.maps.LatLng(26.208045,-81.772260),new google.maps.LatLng(26.211705,-81.772390),new google.maps.LatLng(26.211705,-81.768450),new google.maps.LatLng(26.226185,-81.768270),new google.maps.LatLng(26.226225,-81.759860),new google.maps.LatLng(26.232725,-81.760330),new google.maps.LatLng(26.234725,-81.760440),new google.maps.LatLng(26.234965,-81.760090),new google.maps.LatLng(26.239275,-81.760340),new google.maps.LatLng(26.239375,-81.752710),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.244094,-81.736865),new google.maps.LatLng(26.236474,-81.736599),new google.maps.LatLng(26.234774,-81.736549)];
var zoneElementary17Coords=[new google.maps.LatLng(25.990975,-81.457089),new google.maps.LatLng(25.993668,-81.571164),new google.maps.LatLng(26.066177,-81.571682),new google.maps.LatLng(26.066177,-81.586967),new google.maps.LatLng(26.080635,-81.586887),new google.maps.LatLng(26.112113,-81.586967),new google.maps.LatLng(26.153329,-81.588319),new google.maps.LatLng(26.153688,-81.604503),new google.maps.LatLng(26.172908,-81.604954),new google.maps.LatLng(26.198205,-81.604954),new google.maps.LatLng(26.213008,-81.605152),new google.maps.LatLng(26.213109,-81.606429),new google.maps.LatLng(26.213128,-81.607546),new google.maps.LatLng(26.214333,-81.607604),new google.maps.LatLng(26.214333,-81.608551),new google.maps.LatLng(26.215753,-81.608565),new google.maps.LatLng(26.215753,-81.606451),new google.maps.LatLng(26.216171,-81.606454),new google.maps.LatLng(26.216171,-81.607604),new google.maps.LatLng(26.217034,-81.607604),new google.maps.LatLng(26.217034,-81.606465),new google.maps.LatLng(26.217965,-81.606484),new google.maps.LatLng(26.217965,-81.607604),new google.maps.LatLng(26.218831,-81.607604),new google.maps.LatLng(26.218831,-81.608619),new google.maps.LatLng(26.219365,-81.608632),new google.maps.LatLng(26.219365,-81.606505),new google.maps.LatLng(26.219808,-81.606511),new google.maps.LatLng(26.219808,-81.608633),new google.maps.LatLng(26.221127,-81.608659),new google.maps.LatLng(26.221127,-81.606536),new google.maps.LatLng(26.221593,-81.606542),new google.maps.LatLng(26.221593,-81.607604),new google.maps.LatLng(26.223405,-81.607604),new google.maps.LatLng(26.223405,-81.606569),new google.maps.LatLng(26.224329,-81.606575),new google.maps.LatLng(26.224329,-81.608705),new google.maps.LatLng(26.225217,-81.608727),new google.maps.LatLng(26.225217,-81.607604),new google.maps.LatLng(26.226085,-81.607604),new google.maps.LatLng(26.226085,-81.606602),new google.maps.LatLng(26.226836,-81.606606),new google.maps.LatLng(26.226836,-81.608741),new google.maps.LatLng(26.227119,-81.608750),new google.maps.LatLng(26.227119,-81.606611),new google.maps.LatLng(26.227663,-81.606634),new google.maps.LatLng(26.227663,-81.608763),new google.maps.LatLng(26.227966,-81.608759),new google.maps.LatLng(26.227966,-81.606634),new google.maps.LatLng(26.229826,-81.606680),new google.maps.LatLng(26.229816,-81.607881),new google.maps.LatLng(26.231658,-81.607881),new google.maps.LatLng(26.231658,-81.606689),new google.maps.LatLng(26.232814,-81.606703),new google.maps.LatLng(26.232814,-81.608832),new google.maps.LatLng(26.233230,-81.608841),new google.maps.LatLng(26.233230,-81.606704),new google.maps.LatLng(26.234393,-81.606725),new google.maps.LatLng(26.234393,-81.608859),new google.maps.LatLng(26.234618,-81.608862),new google.maps.LatLng(26.234618,-81.606724),new google.maps.LatLng(26.234897,-81.606731),new google.maps.LatLng(26.234897,-81.607881),new google.maps.LatLng(26.235289,-81.607881),new google.maps.LatLng(26.235289,-81.608869),new google.maps.LatLng(26.236038,-81.608879),new google.maps.LatLng(26.236038,-81.606747),new google.maps.LatLng(26.236262,-81.606753),new google.maps.LatLng(26.236262,-81.608888),new google.maps.LatLng(26.237434,-81.608895),new google.maps.LatLng(26.237434,-81.606767),new google.maps.LatLng(26.239876,-81.606801),new google.maps.LatLng(26.239876,-81.608936),new google.maps.LatLng(26.241844,-81.608964),new google.maps.LatLng(26.241844,-81.607881),new google.maps.LatLng(26.242607,-81.607881),new google.maps.LatLng(26.242607,-81.606835),new google.maps.LatLng(26.245208,-81.606872),new google.maps.LatLng(26.245197,-81.607881),new google.maps.LatLng(26.246249,-81.607886),new google.maps.LatLng(26.246242,-81.606928),new google.maps.LatLng(26.246521,-81.580600),new google.maps.LatLng(26.246805,-81.561191),new google.maps.LatLng(26.230436,-81.560928),new google.maps.LatLng(26.230813,-81.528321),new google.maps.LatLng(26.230981,-81.507729),new google.maps.LatLng(26.225476,-81.506678),new google.maps.LatLng(26.211751,-81.506313),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.153264,-81.457974)];
var zoneElementary18Coords=[new google.maps.LatLng(26.076277,-81.719500),new google.maps.LatLng(26.094961,-81.736865),new google.maps.LatLng(26.094841,-81.718599),new google.maps.LatLng(26.083943,-81.719103),new google.maps.LatLng(26.083820,-81.716325),new google.maps.LatLng(26.080698,-81.716319),new google.maps.LatLng(26.080647,-81.719232)];
var zoneElementary19Coords=[new google.maps.LatLng(26.250481,-81.801201),new google.maps.LatLng(26.267466,-81.801614),new google.maps.LatLng(26.267466,-81.800042),new google.maps.LatLng(26.267822,-81.799108),new google.maps.LatLng(26.268226,-81.798958),new google.maps.LatLng(26.268573,-81.797306),new google.maps.LatLng(26.268101,-81.795514),new google.maps.LatLng(26.271186,-81.795457),new google.maps.LatLng(26.271203,-81.794240),new google.maps.LatLng(26.271570,-81.794232),new google.maps.LatLng(26.271764,-81.794870),new google.maps.LatLng(26.272410,-81.794901),new google.maps.LatLng(26.272321,-81.789882),new google.maps.LatLng(26.272800,-81.747766),new google.maps.LatLng(26.265640,-81.747411),new google.maps.LatLng(26.265664,-81.742691),new google.maps.LatLng(26.258370,-81.741596),new google.maps.LatLng(26.244094,-81.736865),new google.maps.LatLng(26.243875,-81.752910),new google.maps.LatLng(26.239375,-81.752710),new google.maps.LatLng(26.239275,-81.760340),new google.maps.LatLng(26.234965,-81.760090),new google.maps.LatLng(26.234725,-81.760440),new google.maps.LatLng(26.232725,-81.760330),new google.maps.LatLng(26.226225,-81.759860),new google.maps.LatLng(26.226185,-81.768270),new google.maps.LatLng(26.226075,-81.784710),new google.maps.LatLng(26.234735,-81.784970),new google.maps.LatLng(26.234725,-81.786840),new google.maps.LatLng(26.233655,-81.788410),new google.maps.LatLng(26.233545,-81.789410),new google.maps.LatLng(26.246395,-81.787790),new google.maps.LatLng(26.250211,-81.793451),new google.maps.LatLng(26.250851,-81.796631)];
var zoneElementaryI4Coords=[new google.maps.LatLng(26.418538,-81.417419),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.372539,-81.416926),new google.maps.LatLng(26.369619,-81.418369),new google.maps.LatLng(26.367961,-81.421400),new google.maps.LatLng(26.366687,-81.463940),new google.maps.LatLng(26.366687,-81.497749),new google.maps.LatLng(26.410419,-81.497664),new google.maps.LatLng(26.415028,-81.499428),new google.maps.LatLng(26.415279,-81.503713),new google.maps.LatLng(26.416249,-81.506109),new google.maps.LatLng(26.424111,-81.505997),new google.maps.LatLng(26.425568,-81.460578),new google.maps.LatLng(26.422240,-81.456285),new google.maps.LatLng(26.422240,-81.449976),new google.maps.LatLng(26.422240,-81.445760),new google.maps.LatLng(26.425512,-81.445760),new google.maps.LatLng(26.429208,-81.445867),new google.maps.LatLng(26.429230,-81.442337),new google.maps.LatLng(26.429227,-81.437858),new google.maps.LatLng(26.425656,-81.437740),new google.maps.LatLng(26.425687,-81.433727),new google.maps.LatLng(26.422036,-81.433577),new google.maps.LatLng(26.420852,-81.433132),new google.maps.LatLng(26.419711,-81.432150),new google.maps.LatLng(26.418923,-81.430911),new google.maps.LatLng(26.418433,-81.429033)];
var zoneElementary20Coords=[new google.maps.LatLng(26.154283,-81.734726),new google.maps.LatLng(26.154263,-81.735606),new google.maps.LatLng(26.153572,-81.750754),new google.maps.LatLng(26.153319,-81.766874),new google.maps.LatLng(26.153014,-81.782983),new google.maps.LatLng(26.160371,-81.782950),new google.maps.LatLng(26.160884,-81.782860),new google.maps.LatLng(26.165735,-81.782833),new google.maps.LatLng(26.166735,-81.783333),new google.maps.LatLng(26.173585,-81.783503),new google.maps.LatLng(26.194585,-81.783773),new google.maps.LatLng(26.195805,-81.778113),new google.maps.LatLng(26.197105,-81.778173),new google.maps.LatLng(26.197235,-81.768150),new google.maps.LatLng(26.197125,-81.752824),new google.maps.LatLng(26.197081,-81.751392),new google.maps.LatLng(26.197375,-81.735857),new google.maps.LatLng(26.197149,-81.735862),new google.maps.LatLng(26.197327,-81.719388),new google.maps.LatLng(26.182927,-81.718932),new google.maps.LatLng(26.174362,-81.718977),new google.maps.LatLng(26.168637,-81.718777),new google.maps.LatLng(26.168461,-81.734800)];
var zoneElementary21Coords=[new google.maps.LatLng(26.277853,-81.561690),new google.maps.LatLng(26.293228,-81.561911),new google.maps.LatLng(26.293564,-81.513218),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.211751,-81.506313),new google.maps.LatLng(26.225476,-81.506678),new google.maps.LatLng(26.230981,-81.507729),new google.maps.LatLng(26.230813,-81.528321),new google.maps.LatLng(26.230436,-81.560928),new google.maps.LatLng(26.246805,-81.561191)];
var zoneElementary22Coords=[new google.maps.LatLng(26.253841,-81.823940),new google.maps.LatLng(26.250481,-81.801201),new google.maps.LatLng(26.250851,-81.796631),new google.maps.LatLng(26.250211,-81.793451),new google.maps.LatLng(26.246395,-81.787790),new google.maps.LatLng(26.233545,-81.789410),new google.maps.LatLng(26.233655,-81.788410),new google.maps.LatLng(26.234725,-81.786840),new google.maps.LatLng(26.234735,-81.784970),new google.maps.LatLng(26.226075,-81.784710),new google.maps.LatLng(26.226185,-81.768270),new google.maps.LatLng(26.211705,-81.768450),new google.maps.LatLng(26.211705,-81.772390),new google.maps.LatLng(26.208045,-81.772260),new google.maps.LatLng(26.207875,-81.776300),new google.maps.LatLng(26.201183,-81.776148),new google.maps.LatLng(26.201053,-81.777708),new google.maps.LatLng(26.200623,-81.779708),new google.maps.LatLng(26.200783,-81.781038),new google.maps.LatLng(26.201163,-81.782088),new google.maps.LatLng(26.200963,-81.784028),new google.maps.LatLng(26.196853,-81.783908),new google.maps.LatLng(26.196703,-81.791968),new google.maps.LatLng(26.187570,-81.791719),new google.maps.LatLng(26.187450,-81.797459),new google.maps.LatLng(26.186030,-81.797459),new google.maps.LatLng(26.186030,-81.799899),new google.maps.LatLng(26.180500,-81.799789),new google.maps.LatLng(26.180480,-81.804409),new google.maps.LatLng(26.181070,-81.806509),new google.maps.LatLng(26.181040,-81.808639),new google.maps.LatLng(26.180800,-81.812039),new google.maps.LatLng(26.175020,-81.811599),new google.maps.LatLng(26.173760,-81.815669),new google.maps.LatLng(26.210885,-81.817235)];
var zoneElementary23Coords=[new google.maps.LatLng(26.123921,-81.734215),new google.maps.LatLng(26.123794,-81.750196),new google.maps.LatLng(26.116998,-81.750204),new google.maps.LatLng(26.116998,-81.749766),new google.maps.LatLng(26.116599,-81.749761),new google.maps.LatLng(26.116599,-81.750199),new google.maps.LatLng(26.109303,-81.749842),new google.maps.LatLng(26.126108,-81.765189),new google.maps.LatLng(26.138225,-81.782747),new google.maps.LatLng(26.140120,-81.786341),new google.maps.LatLng(26.146212,-81.786674),new google.maps.LatLng(26.149600,-81.785375),new google.maps.LatLng(26.150909,-81.786116),new google.maps.LatLng(26.153329,-81.785134),new google.maps.LatLng(26.154793,-81.785542),new google.maps.LatLng(26.156541,-81.784533),new google.maps.LatLng(26.157499,-81.784029),new google.maps.LatLng(26.158298,-81.784587),new google.maps.LatLng(26.160080,-81.783857),new google.maps.LatLng(26.160371,-81.782950),new google.maps.LatLng(26.153014,-81.782983),new google.maps.LatLng(26.153319,-81.766874),new google.maps.LatLng(26.153572,-81.750754),new google.maps.LatLng(26.154263,-81.735606),new google.maps.LatLng(26.146525,-81.735604),new google.maps.LatLng(26.146397,-81.738608),new google.maps.LatLng(26.138752,-81.738474),new google.maps.LatLng(26.138813,-81.736506),new google.maps.LatLng(26.138806,-81.730413),new google.maps.LatLng(26.132581,-81.730272),new google.maps.LatLng(26.132581,-81.732364),new google.maps.LatLng(26.132581,-81.732364),new google.maps.LatLng(26.132581,-81.734440)];
var zoneElementary24Coords=[new google.maps.LatLng(25.987398,-81.575900),new google.maps.LatLng(25.843259,-81.679595),new google.maps.LatLng(25.907882,-81.729650),new google.maps.LatLng(25.932968,-81.733829),new google.maps.LatLng(25.948687,-81.750147),new google.maps.LatLng(25.959675,-81.753822),new google.maps.LatLng(25.968306,-81.749799),new google.maps.LatLng(25.990903,-81.752604),new google.maps.LatLng(26.003391,-81.760806),new google.maps.LatLng(26.005375,-81.639833),new google.maps.LatLng(26.005616,-81.621889),new google.maps.LatLng(26.013962,-81.622083),new google.maps.LatLng(25.996373,-81.594912),new google.maps.LatLng(25.994517,-81.592594),new google.maps.LatLng(25.989845,-81.586887),new google.maps.LatLng(25.988769,-81.585283),new google.maps.LatLng(25.988215,-81.583974)];
var zoneElementary25Coords=[new google.maps.LatLng(26.265664,-81.742691),new google.maps.LatLng(26.265640,-81.747411),new google.maps.LatLng(26.272800,-81.747766),new google.maps.LatLng(26.272321,-81.789882),new google.maps.LatLng(26.279765,-81.790735),new google.maps.LatLng(26.279924,-81.786132),new google.maps.LatLng(26.287004,-81.786311),new google.maps.LatLng(26.287027,-81.790477),new google.maps.LatLng(26.286095,-81.791459),new google.maps.LatLng(26.287037,-81.792489),new google.maps.LatLng(26.287026,-81.801898),new google.maps.LatLng(26.291715,-81.801952),new google.maps.LatLng(26.291845,-81.790284),new google.maps.LatLng(26.301939,-81.790704),new google.maps.LatLng(26.302034,-81.786428),new google.maps.LatLng(26.316375,-81.786545),new google.maps.LatLng(26.316765,-81.762433),new google.maps.LatLng(26.316853,-81.746396),new google.maps.LatLng(26.317079,-81.722002),new google.maps.LatLng(26.302257,-81.721823),new google.maps.LatLng(26.287829,-81.721668),new google.maps.LatLng(26.275258,-81.721366),new google.maps.LatLng(26.274069,-81.720756),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.272928,-81.721544),new google.maps.LatLng(26.272836,-81.742723)];
var zoneElementaryI5Coords=[new google.maps.LatLng(26.172694,-80.879322),new google.maps.LatLng(26.165783,-81.244578),new google.maps.LatLng(26.155652,-81.258493),new google.maps.LatLng(26.153264,-81.457974),new google.maps.LatLng(26.153042,-81.490660),new google.maps.LatLng(26.211758,-81.490619),new google.maps.LatLng(26.211796,-81.474247),new google.maps.LatLng(26.220478,-81.474182),new google.maps.LatLng(26.222056,-81.472466),new google.maps.LatLng(26.223981,-81.474204),new google.maps.LatLng(26.226253,-81.474182),new google.maps.LatLng(26.226214,-81.466114),new google.maps.LatLng(26.228062,-81.468603),new google.maps.LatLng(26.229499,-81.467457),new google.maps.LatLng(26.236801,-81.469461),new google.maps.LatLng(26.248428,-81.471845),new google.maps.LatLng(26.248618,-81.464290),new google.maps.LatLng(26.294097,-81.464221),new google.maps.LatLng(26.294949,-81.415944),new google.maps.LatLng(26.368684,-81.416808),new google.maps.LatLng(26.371626,-81.414372),new google.maps.LatLng(26.373795,-81.414501),new google.maps.LatLng(26.375004,-81.415123),new google.maps.LatLng(26.375009,-81.416969),new google.maps.LatLng(26.418538,-81.417419),new google.maps.LatLng(26.418433,-81.429033),new google.maps.LatLng(26.418923,-81.430911),new google.maps.LatLng(26.419711,-81.432150),new google.maps.LatLng(26.420852,-81.433132),new google.maps.LatLng(26.422036,-81.433577),new google.maps.LatLng(26.422134,-81.425568),new google.maps.LatLng(26.425795,-81.425605),new google.maps.LatLng(26.425937,-81.417586),new google.maps.LatLng(26.426842,-81.416593),new google.maps.LatLng(26.424813,-81.414265),new google.maps.LatLng(26.429040,-81.413010),new google.maps.LatLng(26.429330,-81.414150),new google.maps.LatLng(26.428500,-81.415090),new google.maps.LatLng(26.429725,-81.416550),new google.maps.LatLng(26.430750,-81.417763),new google.maps.LatLng(26.439399,-81.417784),new google.maps.LatLng(26.440821,-81.416266),new google.maps.LatLng(26.442398,-81.417784),new google.maps.LatLng(26.470529,-81.418209),new google.maps.LatLng(26.470560,-81.409548),new google.maps.LatLng(26.470807,-81.402105),new google.maps.LatLng(26.515755,-81.402745),new google.maps.LatLng(26.517032,-81.271732),new google.maps.LatLng(26.253165,-81.268460),new google.maps.LatLng(26.254411,-81.171847),new google.maps.LatLng(26.256480,-81.073238),new google.maps.LatLng(26.259504,-80.879322)];
var zoneElementary26Coords=[new google.maps.LatLng(26.199655,-81.687283),new google.maps.LatLng(26.199465,-81.703525),new google.maps.LatLng(26.212129,-81.703675),new google.maps.LatLng(26.211640,-81.736127),new google.maps.LatLng(26.234774,-81.736549),new google.maps.LatLng(26.236474,-81.736599),new google.maps.LatLng(26.244094,-81.736865),new google.maps.LatLng(26.258370,-81.741596),new google.maps.LatLng(26.260983,-81.742358),new google.maps.LatLng(26.265664,-81.742691),new google.maps.LatLng(26.272836,-81.742723),new google.maps.LatLng(26.272898,-81.720684),new google.maps.LatLng(26.271898,-81.720684),new google.maps.LatLng(26.269898,-81.721094),new google.maps.LatLng(26.259193,-81.720584),new google.maps.LatLng(26.258417,-81.720552),new google.maps.LatLng(26.258496,-81.704780),new google.maps.LatLng(26.257053,-81.704721),new google.maps.LatLng(26.257065,-81.700569),new google.maps.LatLng(26.258513,-81.700628),new google.maps.LatLng(26.258587,-81.696680),new google.maps.LatLng(26.263174,-81.696817),new google.maps.LatLng(26.263221,-81.689006),new google.maps.LatLng(26.258543,-81.688858),new google.maps.LatLng(26.251164,-81.688365),new google.maps.LatLng(26.251195,-81.692217),new google.maps.LatLng(26.243868,-81.691997),new google.maps.LatLng(26.243750,-81.688054),new google.maps.LatLng(26.228872,-81.687593)];
zoneElementary1 = new google.maps.Polygon({ paths: zoneElementary1Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#38a700', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary1);
zoneElementary27 = new google.maps.Polygon({ paths: zoneElementary27Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#df72ff', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary27);
zoneElementaryI6 = new google.maps.Polygon({ paths: zoneElementaryI6Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#0f1eed', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI6);
zoneElementary2 = new google.maps.Polygon({ paths: zoneElementary2Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffebbe', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary2);
zoneElementary3 = new google.maps.Polygon({ paths: zoneElementary3Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#00ffc5', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary3);
zoneElementary4 = new google.maps.Polygon({ paths: zoneElementary4Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#d2ffbe', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary4);
zoneElementaryA = new google.maps.Polygon({ paths: zoneElementaryACoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffffff', fillOpacity: 0.0 });
zonesElementary.push(zoneElementaryA);
zoneElementaryI1 = new google.maps.Polygon({ paths: zoneElementaryI1Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffa77f', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI1);
zoneElementary5 = new google.maps.Polygon({ paths: zoneElementary5Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#beffe7', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary5);
zoneElementaryE = new google.maps.Polygon({ paths: zoneElementaryECoords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#00ff00', fillOpacity: 0.2 });
zonesElementary.push(zoneElementaryE);
zoneElementary8 = new google.maps.Polygon({ paths: zoneElementary8Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#feff73', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary8);
zoneElementary9 = new google.maps.Polygon({ paths: zoneElementary9Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ff7f7e', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary9);
zoneElementary6 = new google.maps.Polygon({ paths: zoneElementary6Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ff00ff', fillOpacity: 0.2 });
zonesElementary.push(zoneElementary6);
zoneElementaryI2 = new google.maps.Polygon({ paths: zoneElementaryI2Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ff7f7e', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI2);
zoneElementary10 = new google.maps.Polygon({ paths: zoneElementary10Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#cdf57a', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary10);
zoneElementaryI3 = new google.maps.Polygon({ paths: zoneElementaryI3Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#a3ff74', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI3);
zoneElementary11 = new google.maps.Polygon({ paths: zoneElementary11Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffaa01', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary11);
zoneElementary7 = new google.maps.Polygon({ paths: zoneElementary7Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#00ff00', fillOpacity: 0.2 });
zonesElementary.push(zoneElementary7);
zoneElementary12 = new google.maps.Polygon({ paths: zoneElementary12Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#e7c7cc', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary12);
zoneElementary13 = new google.maps.Polygon({ paths: zoneElementary13Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffd380', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary13);
zoneElementary14 = new google.maps.Polygon({ paths: zoneElementary14Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#cdf57a', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary14);
zoneElementary15 = new google.maps.Polygon({ paths: zoneElementary15Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#55ff00', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary15);
zoneElementary16 = new google.maps.Polygon({ paths: zoneElementary16Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#e8befe', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary16);
zoneElementary17 = new google.maps.Polygon({ paths: zoneElementary17Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#d69dbd', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary17);
zoneElementary18 = new google.maps.Polygon({ paths: zoneElementary18Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#9eadb8', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary18);
zoneElementary19 = new google.maps.Polygon({ paths: zoneElementary19Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#ffff00', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary19);
zoneElementaryI4 = new google.maps.Polygon({ paths: zoneElementaryI4Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#bee8ff', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI4);
zoneElementary20 = new google.maps.Polygon({ paths: zoneElementary20Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#73b2ff', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary20);
zoneElementary21 = new google.maps.Polygon({ paths: zoneElementary21Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#642d85', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary21);
zoneElementary22 = new google.maps.Polygon({ paths: zoneElementary22Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#d6c29d', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary22);
zoneElementary23 = new google.maps.Polygon({ paths: zoneElementary23Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#de71fe', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary23);
zoneElementary24 = new google.maps.Polygon({ paths: zoneElementary24Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#7b8ef5', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary24);
zoneElementary25 = new google.maps.Polygon({ paths: zoneElementary25Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#065bc5', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary25);
zoneElementaryI5 = new google.maps.Polygon({ paths: zoneElementaryI5Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#e8befe', fillOpacity: 0.3 });
zonesElementary.push(zoneElementaryI5);
zoneElementary26 = new google.maps.Polygon({ paths: zoneElementary26Coords, strokeColor: '#000000', strokeOpacity: 0.6, strokeWeight: 2, fillColor: '#73fedf', fillOpacity: 0.3 });
zonesElementary.push(zoneElementary26);
var zoneElementaryDesc=['Avalon Elementary School','Ave Maria Elementary School','Bear Creek Elementary School','Big Cypress Elementary School','Calusa Park Elementary School','Corkscrew Elementary School','Dr. Martin Luther King, Jr. Administrative Center','Eden Park Elementary School','Estates Elementary School','Everglades City School','Golden Gate Elementary School','Golden Terrace Elementary School','Herbert Cambridge Elementary School','Highlands Elementary School','Lake Park Elementary School','Lake Trafford Elementary School','Laurel Oak Elementary School','Lavern Gaynor Elementary School','Lely Elementary School','Manatee Elementary School','Mike Davis Elementary School','Naples Park Elementary School','Osceola Elementary School','Palmetto Elementary School','Parkside Elementary School','Pelican Marsh Elementary School','Pinecrest Elementary School','Poinciana Elementary School','Sabal Palm Elementary School','Sea Gate Elementary School','Shadowlawn Elementary School','Tommie Barfield Elementary School','Veterans Memorial Elementary School','Village Oaks Elementary School','Vineyards Elementary School'];
            var coord;
            var homeMarker;
            for (coord in aLocation) {
                var pinColor = "ecbe13";
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "00ccff";
                    homeMarker = coord;
                }
                if (aLocationAbbr[coord] == 'loc_ADN') {
                    pinColor = "0e4ead";
                }
                var pinImage = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=" + aLocationZone[coord] + "|" + pinColor, new google.maps.Size(21, 34), new google.maps.Point(0,0), new google.maps.Point(10, 34));
                var pinShadow = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_shadow", new google.maps.Size(40, 37), new google.maps.Point(0, 0), new google.maps.Point(12, 35));
                var marker = new google.maps.Marker({
                    position: aLocation[coord],
                    map: map,
                    title: aLocationName[coord],
                    html: aLocationHTML[coord],
                    animation: google.maps.Animation.DROP,
                    label:aLocationZone[coord]
                });
                markersElementary.push(marker);
            }
            var infowindow=null;
            infowindow = new InfoBubble({ content: 'loading...', backgroundColor: '#555', borderRadius: 10, borderColor: '#333', borderWidth: 2, arrowPosition: 50, minHeight: 200 });
            for (var i = 0; i < markersElementary.length; i++) {
                google.maps.event.addListener(markersElementary[i], 'click', function() {
                    infowindow.setContent(this.html);
                    infowindow.open(map,this);
                    $('#to').val(this.position);
                });
            }
        }
