function addMarkers(){ mySelect = document.getElementById('selection'); Huntington = [];Alderson = [];Charleston = [];Harpers_Ferry = [];Point_Pleasant = [];Van = [];Barboursville = [];Cross_Lanes = [];Martinsburg = [];Philippi = [];Bridgeport = [];Morgantown = [];Marmet = [];Culloden = [];Summersville = [];Weston = [];Berkeley_Springs = [];Fort_Ashby = [];Wheeling = [];Scott_Depot = [];Parsons = [];Davy = [];Welch = [];Williamstown = [];Saint__Albans = [];mySelect.options[mySelect.options.length] = new Option("Alderson schools",'all=Alderson'); mySelect.options[mySelect.options.length] = new Option("Barboursville schools",'all=Barboursville'); mySelect.options[mySelect.options.length] = new Option("Berkeley Springs schools",'all=Berkeley_Springs'); mySelect.options[mySelect.options.length] = new Option("Bridgeport schools",'all=Bridgeport'); mySelect.options[mySelect.options.length] = new Option("Charleston schools",'all=Charleston'); mySelect.options[mySelect.options.length] = new Option("Cross Lanes schools",'all=Cross_Lanes'); mySelect.options[mySelect.options.length] = new Option("Culloden schools",'all=Culloden'); mySelect.options[mySelect.options.length] = new Option("Davy schools",'all=Davy'); mySelect.options[mySelect.options.length] = new Option("Fort Ashby schools",'all=Fort_Ashby'); mySelect.options[mySelect.options.length] = new Option("Harpers Ferry schools",'all=Harpers_Ferry'); mySelect.options[mySelect.options.length] = new Option("Huntington schools",'all=Huntington'); mySelect.options[mySelect.options.length] = new Option("Marmet schools",'all=Marmet'); mySelect.options[mySelect.options.length] = new Option("Martinsburg schools",'all=Martinsburg'); mySelect.options[mySelect.options.length] = new Option("Morgantown schools",'all=Morgantown'); mySelect.options[mySelect.options.length] = new Option("Parsons schools",'all=Parsons'); mySelect.options[mySelect.options.length] = new Option("Philippi schools",'all=Philippi'); mySelect.options[mySelect.options.length] = new Option("Point Pleasant schools",'all=Point_Pleasant'); mySelect.options[mySelect.options.length] = new Option("Saint Albans schools",'all=Saint__Albans'); mySelect.options[mySelect.options.length] = new Option("Scott Depot schools",'all=Scott_Depot'); mySelect.options[mySelect.options.length] = new Option("Summersville schools",'all=Summersville'); mySelect.options[mySelect.options.length] = new Option("Van schools",'all=Van'); mySelect.options[mySelect.options.length] = new Option("Welch schools",'all=Welch'); mySelect.options[mySelect.options.length] = new Option("Weston schools",'all=Weston'); mySelect.options[mySelect.options.length] = new Option("Wheeling schools",'all=Wheeling'); mySelect.options[mySelect.options.length] = new Option("Williamstown schools",'all=Williamstown'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Huntington[Huntington.length] = createMarker(new GPoint(-82.45789400,38.39695700),"
The Academy Of Huntington
2400 Johnstown Road
Huntington, WV 25701
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("The Academy Of Huntington",'Huntington=' + Huntington.length); Alderson[Alderson.length] = createMarker(new GPoint(-80.66030000,37.72970000),"
Av-tech Academy
Po Box 656
Alderson, WV 24910
Co-ed school, Ungraded
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Av-tech Academy",'Alderson=' + Alderson.length); Charleston[Charleston.length] = createMarker(new GPoint(-81.67689800,38.34298000),"
Bible Center School
1111 Oakhurst Drive
Charleston, WV 25314
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bible Center School",'Charleston=' + Charleston.length); Harpers_Ferry[Harpers_Ferry.length] = createMarker(new GPoint(-77.78438100,39.28132200),"
Bolivar Christian Academy
87 Old Taylor Lane
Harpers Ferry, WV 25425
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bolivar Christian Academy",'Harpers_Ferry=' + Harpers_Ferry.length); Charleston[Charleston.length] = createMarker(new GPoint(-81.63220000,38.34950000),"
Brookside Christian Academy
Po Box 112
Charleston, WV 25321
Co-ed school, 3-9
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brookside Christian Academy",'Charleston=' + Charleston.length); Point_Pleasant[Point_Pleasant.length] = createMarker(new GPoint(-82.11360000,38.86390000),"
Christ Academy
Po Box 224
Point Pleasant, WV 25550
Co-ed school, 1-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Christ Academy",'Point_Pleasant=' + Point_Pleasant.length); Van[Van.length] = createMarker(new GPoint(-81.70480000,37.97200000),"
Christian Faith Academy
Po Box 210
Van, WV 25206
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Christian Faith Academy",'Van=' + Van.length); Charleston[Charleston.length] = createMarker(new GPoint(-81.75530000,38.44610000),"
Christian Family Academy
Po Box 7536
Charleston, WV 25356
Co-ed school, PK-10
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Christian Family Academy",'Charleston=' + Charleston.length); Barboursville[Barboursville.length] = createMarker(new GPoint(-82.31965800,38.41205900),"
Covenant School
5800 Us Route 60 E
Barboursville, WV 25504
Co-ed school, K-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Covenant School",'Barboursville=' + Barboursville.length); Cross_Lanes[Cross_Lanes.length] = createMarker(new GPoint(-81.78087000,38.43696600),"
Cross Lanes Christian School
5330 Floradale Drive
Cross Lanes, WV 25313
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cross Lanes Christian School",'Cross_Lanes=' + Cross_Lanes.length); Martinsburg[Martinsburg.length] = createMarker(new GPoint(-77.86225400,39.49658900),"
Faith Christian Academy
138 Greensburg Road
Martinsburg, WV 25404
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Faith Christian Academy",'Martinsburg=' + Martinsburg.length); Philippi[Philippi.length] = createMarker(new GPoint(-80.06076000,39.15234000),"
Feed My Sheep Christian School, Inc.
Rr 3 Box 278a1
Philippi, WV 26416
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Feed My Sheep Christian School, Inc.",'Philippi=' + Philippi.length); Huntington[Huntington.length] = createMarker(new GPoint(-82.47548500,38.41283700),"
Grace Christian School
1111 Adams Ave
Huntington, WV 25704
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Grace Christian School",'Huntington=' + Huntington.length); Bridgeport[Bridgeport.length] = createMarker(new GPoint(-80.25420000,39.28193400),"
Heritage Christian School Inc
225 Newton Avenue
Bridgeport, WV 26330
Co-ed school, PK-8
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Heritage Christian School Inc",'Bridgeport=' + Bridgeport.length); Morgantown[Morgantown.length] = createMarker(new GPoint(-79.89220600,39.67646700),"
Lighthouse Christian Academy
275 Canyon Road
Morgantown, WV 26508
Co-ed school, 6-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lighthouse Christian Academy",'Morgantown=' + Morgantown.length); Marmet[Marmet.length] = createMarker(new GPoint(-81.57039300,38.24778500),"
Living Faith Christian Academy
9203 Ohio Avenue
Marmet, WV 25315
Co-ed school, PK-4
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Living Faith Christian Academy",'Marmet=' + Marmet.length); Culloden[Culloden.length] = createMarker(new GPoint(-82.06090000,38.41640000),"
Mountain State Christian School
P O Box 510
Culloden, WV 25510
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mountain State Christian School",'Culloden=' + Culloden.length); Summersville[Summersville.length] = createMarker(new GPoint(-80.85549500,38.25043700),"
New Life Christian Academy
899 Broad Street
Summersville, WV 26651
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New Life Christian Academy",'Summersville=' + Summersville.length); Weston[Weston.length] = createMarker(new GPoint(-80.46895900,39.05114300),"
Outreach Christian School
385 Mid Ave
Weston, WV 26452
Co-ed school, KG-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Outreach Christian School",'Weston=' + Weston.length); Philippi[Philippi.length] = createMarker(new GPoint(-80.03650000,39.15980000),"
Philippi Christian Academy
Rt 2 Box 80
Philippi, WV 26416
Co-ed school, 1-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Philippi Christian Academy",'Philippi=' + Philippi.length); Berkeley_Springs[Berkeley_Springs.length] = createMarker(new GPoint(-78.22620000,39.57340000),"
Pine Valley School & Group
Po Box 1101
Berkeley Springs, WV 25411
All-boys school, 7-12
[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Pine Valley School & Group",'Berkeley_Springs=' + Berkeley_Springs.length); Fort_Ashby[Fort_Ashby.length] = createMarker(new GPoint(-78.77310000,39.49280000),"
Small World
Po Box 1334
Fort Ashby, WV 26719
Co-ed school, PK-6
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Small World",'Fort_Ashby=' + Fort_Ashby.length); Fort_Ashby[Fort_Ashby.length] = createMarker(new GPoint(-118.05946300,33.80203700),"
Small World Academy
Po Box 1460
Fort Ashby, WV 26719
Co-ed school, PK-5
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Small World Academy",'Fort_Ashby=' + Fort_Ashby.length); Wheeling[Wheeling.length] = createMarker(new GPoint(-80.68702800,40.07010300),"
Speiro Academy
135 Stewarts Hill Road
Wheeling, WV 26003
Co-ed school, K-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Speiro Academy",'Wheeling=' + Wheeling.length); Scott_Depot[Scott_Depot.length] = createMarker(new GPoint(-81.90300000,38.44740000),"
Teays Valley Christian School
4373 Teays Valley Road
Scott Depot, WV 25560
Co-ed school, K-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Teays Valley Christian School",'Scott_Depot=' + Scott_Depot.length); Morgantown[Morgantown.length] = createMarker(new GPoint(-79.91610200,39.62002300),"
Trinity Christian School
200 Trinity Way
Morgantown, WV 26505
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Trinity Christian School",'Morgantown=' + Morgantown.length); Parsons[Parsons.length] = createMarker(new GPoint(-79.67979000,39.09929500),"
Tucker Christian Academy
222 Water St
Parsons, WV 26287
Co-ed school, 1-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Tucker Christian Academy",'Parsons=' + Parsons.length); Davy[Davy.length] = createMarker(new GPoint(-81.66990000,37.46050000),"
Twin Branch Pentecostal Academy
Po Box 580
Davy, WV 24828
Co-ed school, 1-11
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Twin Branch Pentecostal Academy",'Davy=' + Davy.length); Welch[Welch.length] = createMarker(new GPoint(-81.58325100,37.41336700),"
Welch Nazarene Christian Academy
1049 Riverside Drive
Welch, WV 24801
Co-ed school, 2-11
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Welch Nazarene Christian Academy",'Welch=' + Welch.length); Williamstown[Williamstown.length] = createMarker(new GPoint(-81.44883400,39.39595800),"
Wood County Christian School
113 W 9th Street
Williamstown, WV 26187
Co-ed school, PK-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wood County Christian School",'Williamstown=' + Williamstown.length); Saint__Albans[Saint__Albans.length] = createMarker(new GPoint(-81.80503000,38.38251000),"
Zion Christian Academy
2405 Grant Ave
Saint Albans, WV 25177
Co-ed school, 4-12
[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Zion Christian Academy",'Saint__Albans=' + Saint__Albans.length); map.removeOverlays(Alderson); map.removeOverlays(Barboursville); map.removeOverlays(Berkeley_Springs); map.removeOverlays(Bridgeport); map.removeOverlays(Charleston); map.removeOverlays(Cross_Lanes); map.removeOverlays(Culloden); map.removeOverlays(Davy); map.removeOverlays(Fort_Ashby); map.removeOverlays(Harpers_Ferry); map.removeOverlays(Huntington); map.removeOverlays(Marmet); map.removeOverlays(Martinsburg); map.removeOverlays(Morgantown); map.removeOverlays(Parsons); map.removeOverlays(Philippi); map.removeOverlays(Point_Pleasant); map.removeOverlays(Saint__Albans); map.removeOverlays(Scott_Depot); map.removeOverlays(Summersville); map.removeOverlays(Van); map.removeOverlays(Welch); map.removeOverlays(Weston); map.removeOverlays(Wheeling); map.removeOverlays(Williamstown); setTimeout(function(){map.addOverlays(Alderson)},1000); setTimeout(function(){map.addOverlays(Barboursville)},1000); setTimeout(function(){map.addOverlays(Berkeley_Springs)},1000); setTimeout(function(){map.addOverlays(Bridgeport)},1000); setTimeout(function(){map.addOverlays(Charleston)},1000); setTimeout(function(){map.addOverlays(Cross_Lanes)},1000); setTimeout(function(){map.addOverlays(Culloden)},1000); setTimeout(function(){map.addOverlays(Davy)},1000); setTimeout(function(){map.addOverlays(Fort_Ashby)},1000); setTimeout(function(){map.addOverlays(Harpers_Ferry)},1000); setTimeout(function(){map.addOverlays(Huntington)},1000); setTimeout(function(){map.addOverlays(Marmet)},1000); setTimeout(function(){map.addOverlays(Martinsburg)},1000); setTimeout(function(){map.addOverlays(Morgantown)},1000); setTimeout(function(){map.addOverlays(Parsons)},1000); setTimeout(function(){map.addOverlays(Philippi)},1000); setTimeout(function(){map.addOverlays(Point_Pleasant)},1000); setTimeout(function(){map.addOverlays(Saint__Albans)},1000); setTimeout(function(){map.addOverlays(Scott_Depot)},1000); setTimeout(function(){map.addOverlays(Summersville)},1000); setTimeout(function(){map.addOverlays(Van)},1000); setTimeout(function(){map.addOverlays(Welch)},1000); setTimeout(function(){map.addOverlays(Weston)},1000); setTimeout(function(){map.addOverlays(Wheeling)},1000); setTimeout(function(){map.addOverlays(Williamstown)},1000); maxLng = -77.78438100; maxLat = 40.07010300; minLng = -118.05946300; minLat = 33.80203700; reCenterMap(); } // End addStateMarkers JavaScript Function // Takes an array of markers and centers/zooms map based on marker range function centerByArray(myArray, recenter, newMaxMin) { if (newMaxMin == true) reMaxMin(myArray); for (var i = 0; i < myArray.length; i++) { var markLng = myArray[i].getPoint().x; var markLat = myArray[i].getPoint().y; if (markLat > maxLat) maxLat = markLat; if (markLng > maxLng) maxLng = markLng; if (markLat < minLat) minLat = markLat; if (markLng < minLng) minLng = markLng; } if (recenter) reCenterMap(); } // Reinit max/mins function reMaxMin(myArray) { maxLng = myArray[0].getPoint().x; maxLat = myArray[0].getPoint().y; minLng = myArray[0].getPoint().x; minLat = myArray[0].getPoint().y; } // Recenter map based on global max/mins function reCenterMap() { var bounds = new GLatLngBounds(); bounds.extend(new GLatLng(minLat, minLng)); bounds.extend(new GLatLng(maxLat, maxLng)); var center_lat = (bounds.getNorthEast().lat() + bounds.getSouthWest().lat()) / 2.0; var center_lng = (bounds.getNorthEast().lng() + bounds.getSouthWest().lng()) / 2.0; var center = new GLatLng(center_lat, center_lng); var zoom = map.getBoundsZoomLevel(bounds); map.setCenter(center,zoom); //map.setCenter(center,11); /* var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 ); var delta = new GSize(maxLng - minLng, maxLat - minLat); var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize); if (minZoom < 4) minZoom = 4; // Lowest possible zoom is 4 map.centerAndZoom(center, minZoom); */ } // Fires when drop down list of schools changes function selectChange(selection) { var myVal = selection.options[selection.selectedIndex].value; map.closeInfoWindow(); // Add entire array based on variable type if (myVal.indexOf('all') != -1 && myVal != 'all') { var temp = myVal.split('='); var showArray = temp[1]; // If Array is > X amount of markers, then open in a new page if (eval(showArray).length > 20) // New window depends on whether or not we're on the search page if (location.href.indexOf('nearby_schools.php') == -1) window.open(location.href + '/map/' + showArray); else window.open('/search//////' + showArray); map.removeOverlays(Alderson); map.removeOverlays(Barboursville); map.removeOverlays(Berkeley_Springs); map.removeOverlays(Bridgeport); map.removeOverlays(Charleston); map.removeOverlays(Cross_Lanes); map.removeOverlays(Culloden); map.removeOverlays(Davy); map.removeOverlays(Fort_Ashby); map.removeOverlays(Harpers_Ferry); map.removeOverlays(Huntington); map.removeOverlays(Marmet); map.removeOverlays(Martinsburg); map.removeOverlays(Morgantown); map.removeOverlays(Parsons); map.removeOverlays(Philippi); map.removeOverlays(Point_Pleasant); map.removeOverlays(Saint__Albans); map.removeOverlays(Scott_Depot); map.removeOverlays(Summersville); map.removeOverlays(Van); map.removeOverlays(Welch); map.removeOverlays(Weston); map.removeOverlays(Wheeling); map.removeOverlays(Williamstown); map.addOverlays(eval(showArray)); centerByArray(eval(showArray), true, true); // Center and zoom on set of markers } // Add individual markers if (myVal.indexOf('all') == -1 && myVal != 'all' && myVal.length) { var temp = myVal.split('='); var myArray = temp[0]; var myIndex = parseInt(temp[1]) - 1; document.getElementById('map').width = "750"; map.removeOverlay(eval(myArray)[myIndex]); map.addOverlay(eval(myArray)[myIndex]); GEvent.trigger(eval(myArray)[myIndex],'click'); } // Show all markers if (myVal == 'all') { cntMarker = 0; reMaxMin(Huntington);map.removeOverlays(Alderson); map.removeOverlays(Barboursville); map.removeOverlays(Berkeley_Springs); map.removeOverlays(Bridgeport); map.removeOverlays(Charleston); map.removeOverlays(Cross_Lanes); map.removeOverlays(Culloden); map.removeOverlays(Davy); map.removeOverlays(Fort_Ashby); map.removeOverlays(Harpers_Ferry); map.removeOverlays(Huntington); map.removeOverlays(Marmet); map.removeOverlays(Martinsburg); map.removeOverlays(Morgantown); map.removeOverlays(Parsons); map.removeOverlays(Philippi); map.removeOverlays(Point_Pleasant); map.removeOverlays(Saint__Albans); map.removeOverlays(Scott_Depot); map.removeOverlays(Summersville); map.removeOverlays(Van); map.removeOverlays(Welch); map.removeOverlays(Weston); map.removeOverlays(Wheeling); map.removeOverlays(Williamstown); map.addOverlays(Alderson); centerByArray(Alderson, false, false); cntMarker += Alderson.length; map.addOverlays(Barboursville); centerByArray(Barboursville, false, false); cntMarker += Barboursville.length; map.addOverlays(Berkeley_Springs); centerByArray(Berkeley_Springs, false, false); cntMarker += Berkeley_Springs.length; map.addOverlays(Bridgeport); centerByArray(Bridgeport, false, false); cntMarker += Bridgeport.length; map.addOverlays(Charleston); centerByArray(Charleston, false, false); cntMarker += Charleston.length; map.addOverlays(Cross_Lanes); centerByArray(Cross_Lanes, false, false); cntMarker += Cross_Lanes.length; map.addOverlays(Culloden); centerByArray(Culloden, false, false); cntMarker += Culloden.length; map.addOverlays(Davy); centerByArray(Davy, false, false); cntMarker += Davy.length; map.addOverlays(Fort_Ashby); centerByArray(Fort_Ashby, false, false); cntMarker += Fort_Ashby.length; map.addOverlays(Harpers_Ferry); centerByArray(Harpers_Ferry, false, false); cntMarker += Harpers_Ferry.length; map.addOverlays(Huntington); centerByArray(Huntington, false, false); cntMarker += Huntington.length; map.addOverlays(Marmet); centerByArray(Marmet, false, false); cntMarker += Marmet.length; map.addOverlays(Martinsburg); centerByArray(Martinsburg, false, false); cntMarker += Martinsburg.length; map.addOverlays(Morgantown); centerByArray(Morgantown, false, false); cntMarker += Morgantown.length; map.addOverlays(Parsons); centerByArray(Parsons, false, false); cntMarker += Parsons.length; map.addOverlays(Philippi); centerByArray(Philippi, false, false); cntMarker += Philippi.length; map.addOverlays(Point_Pleasant); centerByArray(Point_Pleasant, false, false); cntMarker += Point_Pleasant.length; map.addOverlays(Saint__Albans); centerByArray(Saint__Albans, false, false); cntMarker += Saint__Albans.length; map.addOverlays(Scott_Depot); centerByArray(Scott_Depot, false, false); cntMarker += Scott_Depot.length; map.addOverlays(Summersville); centerByArray(Summersville, false, false); cntMarker += Summersville.length; map.addOverlays(Van); centerByArray(Van, false, false); cntMarker += Van.length; map.addOverlays(Welch); centerByArray(Welch, false, false); cntMarker += Welch.length; map.addOverlays(Weston); centerByArray(Weston, false, false); cntMarker += Weston.length; map.addOverlays(Wheeling); centerByArray(Wheeling, false, false); cntMarker += Wheeling.length; map.addOverlays(Williamstown); centerByArray(Williamstown, false, false); cntMarker += Williamstown.length; centerByArray(Huntington,true, false); if (cntMarker > 20) // New window depends on whether or not we're on the search page if (location.href.indexOf('schools-by-distance') == -1) window.open(location.href + '/map/all'); else window.open('/search///29238,29264,29324,29247,29257,29265,29304,29364,29244,29275,29271,29290,29361,29363,29323,29255,29375,29356,29311,29256,29370,29319,34512,29374,29238,29264,29278,29242,29247,29257,29265,29304,29364,29334,3808,29244,33782,29275,33779,29271,29290,29361,29363,29272,29323,29255,29375,29356,29311,29256,29370,29319,34512,29374,/all'); //window.open('/map.php?type=2&schools=29238,29264,29324,29247,29257,29265,29304,29364,29244,29275,29271,29290,29361,29363,29323,29255,29375,29356,29311,29256,29370,29319,34512,29374,29238,29264,29278,29242,29247,29257,29265,29304,29364,29334,3808,29244,33782,29275,33779,29271,29290,29361,29363,29272,29323,29255,29375,29356,29311,29256,29370,29319,34512,29374,&school_level=&radius=&zipcode=&school_type_search=&school_type_code='); } } function createMarker(point, label, icon) { var marker = new GMarker(point, icon); var html = label; GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; }