//<![CDATA
var map;
var sidebar;
var bounds;
function load(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(28.265058,-81.529056),11);
map.addControl(new GLargeMapControl());
sidebar=document.getElementById('sidebar');
bounds=new GLatLngBounds();
createCommunity("1", "Abbey at West Haven", "abbey at westhaven orlando florida", 28.249371,-81.643267);
createCommunity("2", "Acadia Estates", "acadia estates", 28.331544,-81.607389);
createCommunity("3", "Ashley Manor", "ashley manor orlando florida", 28.245912,-81.594193);
createCommunity("4", "Aviana", "aviana resort orlando florida", 28.232226,-81.563187);
createCommunity("5", "Aylesbury", "aylesbury orlando florida", 28.213591,-81.635374);
createCommunity("6", "Bahama Bay", "bahama bay condo orlando florida", 28.321193,-81.658759);
createCommunity("7", "Bass Lake", "bass lake davenport florida", 28.330241,-81.669424);
createCommunity("8", "Bass Lake Estates", "bass lake estates orlando florida", 28.297693,-81.457314);
createCommunity("9", "Bellavida", "bellavida resort orlando florida", 28.303776,-81.464567);
createCommunity("10", "Bentley Oaks", "bentley oaks davenport florida", 28.251091,-81.614792);
createCommunity("11", "Briargrove", "briargrove davenport florida", 28.248275,-81.608698);
createCommunity("12", "Bridgewater Crossing", "bridgewater crossing orlando florida", 28.245837,-81.59724);
createCommunity("14", "Cagan Crossing", "cagan crossing clermont florida", 28.354414,-81.678565);
createCommunity("15", "Calabay Parc", "calabay parc orlando florida", 28.277418,-81.663136);
createCommunity("16", "Calabay Parc at Tower Lake", "calabay parc at tower lake florida", 28.135748,-81.631615);
createCommunity("17", "Chatham Park", "chatham park kissimmee florida", 28.318568,-81.48021);
createCommunity("18", "Clear Creek", "clear creek florida orlando", 28.362553,-81.667256);
createCommunity("19", "Club Cortile", "club cortile resort orlando florida", 28.325916,-81.463859);
createCommunity("20", "Countryside Manor", "countryside manor", 28.185917,-81.461542);
createCommunity("21", "Creekside", "creekside", 28.287886,-81.456606);
createCommunity("22", "Crescent Lakes", "crescent lakes kissimmee florida", 28.225117,-81.484609);
createCommunity("23", "Cumbrian Lakes", "cumbrian lakes florida orlando", 28.27532,-81.472721);
createCommunity("25", "Davenport Lakes", "davenport lakes davenport florida", 28.333716,-81.673157);
createCommunity("24", "Cypress Lakes", "cypress lakes", 28.33111,-81.429613);
createCommunity("26", "Doral Woods", "doral woods kissimmee florida", 28.210332,-81.47624);
createCommunity("27", "Eagle Pointe", "eagle pointe kissimmee florida", 28.283314,-81.47109);
createCommunity("28", "Eagle Ridge", "eagle ridge clermont florida", 28.379337,-81.686912);
createCommunity("29", "Emerald Island Resort", "emerald isle resort orlando florida", 28.33349,-81.617367);
createCommunity("30", "Encantada", "encantada resort orlando florida", 28.339071,-81.6297);
createCommunity("31", "Esprit/Fairways", "fairway lake esprit davenport florida", 28.33636,-81.66981);
createCommunity("32", "Florida Pines", "florida pines orlando florida", 28.280914,-81.663587);
createCommunity("33", "Formosa Gardens", "formosa gardens orlando florida", 28.331582,-81.607003);
createCommunity("34", "Four Corners", "four corners orlando florida", 28.273695,-81.662707);
createCommunity("35", "Glenbrook", "glenbrook orlando florida", 28.370294,-81.683221);
createCommunity("36", "Grand Reserve", "grand reserve davenport florida", 28.244646,-81.587799);
createCommunity("37", "Green at Westhaven", "green at westhaven orlando florida", 28.249806,-81.646013);
createCommunity("38", "Greater Groves", "greater groves clermont florida", 28.379111,-81.687684);
createCommunity("39", "Hamlet at Westhaven", "hamlet at westhaven orlando florida", 28.250373,-81.649189);
createCommunity("40", "Hampton Lakes", "hampton lakes hamton estates orlando florida", 28.292062,-81.664381);
createCommunity("41", "Highgate Park", "highgate park orlando florida", 28.32091,-81.681054);
createCommunity("42", "Highgrove", "highgrove florida orlando", 28.348466,-81.674531);
createCommunity("43", "Highlands Reserve", "highlands reserve orlando florida", 28.301886,-81.670732);
createCommunity("44", "Hillcrest Estates", "hillcrest davenport florida", 28.321363,-81.662836);
createCommunity("45", "Indian Creek", "indian creek orlando florida", 28.322667,-81.607518);
createCommunity("46", "Indian Point", "indian point kissimmee florida", 28.285714,-81.471519);
createCommunity("47", "Indian Ridge", "indian ridge kissimmee florida", 28.30081,-81.5993);
createCommunity("48", "Indian Ridge Oaks", "indian ridge oaks", 28.304418,-81.599064);
createCommunity("49", "Indian Wells", "indian wells", 28.34603,-81.487398);
createCommunity("50", "Lake Berkley Resort", "lake berkley resort orlando florida", 28.29877,-81.466842);
createCommunity("51", "Lake Davenport Estates", "lake davenport estates orlando florida", 28.321156,-81.668673);
createCommunity("52", "Lake Wilson Preserve", "lake wilson preserve florida orlando", 28.258255,-81.578786);
createCommunity("53", "Legacy Park", "legacy park", 28.321137,-81.669896);
createCommunity("54", "Liberty Village", "liberty village orlando florida", 28.277853,-81.469975);
createCommunity("55", "Lindfields", "lindfields orlando florida", 28.332149,-81.636207);
createCommunity("56", "Loma Linda", "loma linda davenport florida", 28.249787,-81.612668);
createCommunity("57", "Loma Vista", "loma vista davenport florida", 28.256157,-81.646206);
createCommunity("59", "Manor at Westhaven", "manor at westhaven orlando florida", 28.251413,-81.65127);
createCommunity("60", "Mission Park", "mission park orlando florida", 28.393968,-81.694078);
createCommunity("61", "Oak Island Cove", "oak island cove", 28.332224,-81.61329);
createCommunity("62", "Oakpoint", "oakpoint davenport florida", 28.244646,-81.580245);
createCommunity("63", "Orange Tree", "orange tree orlando florida", 28.394232,-81.693285);
createCommunity("64", "Outdoor Resorts", "Outdoor Resorts of Orlando Florida", 28.346389,-81.657279);
createCommunity("65", "Pinewood Country Estates", "pinewood orlando florida", 28.244986,-81.579173);
createCommunity("66", "Polo Park East", "polo park east orlando florida", 28.337418,-81.670969);
createCommunity("67", "Polo Park West", "polo park orlando florida", 28.337512,-81.674058);
createCommunity("68", "Regal Palms", "regal palms orlando florida", 28.310398,-81.672288);
createCommunity("69", "Reunion", "reunion resort orlando florida", 28.261543,-81.590331);
createCommunity("70", "Ridgewood Lakes", "ridgewood lakes orlando florida", 28.18883,-81.620822);
createCommunity("71", "Robbins Rest", "robbins rest davenport florida", 28.246555,-81.590867);
createCommunity("72", "Rolling Hills", "rolling hills orlando florida", 28.322667,-81.606917);
createCommunity("73", "Sanctuary at Westhaven", "sanctuary at westhaven", 28.255836,-81.642108);
createCommunity("74", "Sandy Ridge", "sandy ridge orlando florida", 28.259616,-81.565804);
createCommunity("75", "Santa Cruz", "santa cruz orlando florida", 28.266533,-81.660347);
createCommunity("76", "Savannas", "savannas", 28.39763,-81.694787);
createCommunity("77", "Shire at Westhaven", "shire at westhaven orlando florida", 28.253095,-81.638889);
createCommunity("78", "Sienna Ridge", "sienna ridge", 28.403651,-81.698306);
createCommunity("79", "Silver Creek", "silvercreek", 28.364082,-81.665025);
createCommunity("80", "Solana Resort", "solana resort", 28.285203,-81.662192);
createCommunity("81", "Southern Dunes", "southern dunes floirda orlando", 28.124772,-81.6364);
createCommunity("82", "Sunridge Woods", "sunridge woods davenport florida", 28.245345,-81.597111);
createCommunity("83", "Sunrise Lakes", "sunrise lakes orlando florida", 28.366877,-81.680861);
createCommunity("84", "Sunset Lakes", "sunset lakes kissimmee florida", 28.334245,-81.630778);
createCommunity("85", "Terrace Ridge", "terrace ridge orlando florida", 28.250392,-81.584172);
createCommunity("86", "Terra Verde Resort", "terra verde kissimmee florida", 28.294556,-81.474373);
createCommunity("87", "The Manors at Westridge", "the manors at westridge", 28.292346,-81.667449);
createCommunity("88", "Thousand Oaks", "thousand oaks davenport florida", 28.253643,-81.574001);
createCommunity("90", "Town Center at Bridgewater", "town center at bridgewater florida", 28.250411,-81.590288);
createCommunity("91", "Tivoli Manor", "tivoli manor orlando florida", 28.212222,-81.646614);
createCommunity("92", "Town Center Reserve", "town center reserve orlando florida", 28.250524,-81.582477);
createCommunity("92", "Tradds Landing", "tradds landing clermont florida", 28.413673,-81.701996);
createCommunity("93", "Tuscan Hills", "tuscan hills orlando florida", 28.320853,-81.668029);
createCommunity("94", "Tuscan Ridge", " tuscan ridge orlando florida", 28.264492,-81.661012);
createCommunity("95", "Tuscana Resort", " tuscana resort orlando florida", 28.266968,-81.61078);
createCommunity("96", "Venetian Bay Villages", "venetian bay kissimmee florida", 28.313392,-81.44489);
createCommunity("97", "Villas at Seven Dwarfs", "villa at seven dwarfs kissimmee florida", 28.325684,-81.469472);
createCommunity("98", "Vista Cay Resort", "vista cay orlando florida", 28.42877,-81.448646);
createCommunity("99", "Vizcay Resort", "vizcay resort orlando florida", 28.212317,-81.633353);
createCommunity("100", "Wellington", "wellington davenport florida", 28.314166,-81.670904);
createCommunity("101", "Westbury", "westbury orlando florida", 28.212449,-81.645541);
createCommunity("102", "Westhaven", "westhaven orlando florida", 28.256667,-81.643975);
createCommunity("103", "Weston Hills", "weston hills clermont florida", 28.388172,-81.691718);
createCommunity("104", "Westridge", "westridge orlando florida", 28.292157,-81.665604);
createCommunity("105", "West Stonebridge", "west stonebridge", 28.270067,-81.662149);
createCommunity("106", "Windsor Hills Resort", "windsor hills resort orlando florida", 28.321666,-81.593013);
createCommunity("107", "Windsor Palms Resort", "windsor palm resort orlando florida", 28.317812,-81.610887);
createCommunity("108", "Windward Cay", "windward cay kissimmee florida", 28.308442,-81.470554);
createCommunity("109", "Windwood Bay", "windwood bay orlando florida", 28.249012,-81.608387);
createCommunity("110", "Woodridge", "woodridge clermont florida", 28.363497,-81.680045);

map.setCenter(bounds.getCenter(),
map.getBoundsZoomLevel(bounds))}}

function createCommunity(id,name,link,lat,long){
var point=new GLatLng(lat,long);
var marker=createMarker(point,id,name,link,lat,long);
map.addOverlay(marker);
var sidebarEntry=createSidebarEntry(marker,name);
sidebar.appendChild(sidebarEntry);
bounds.extend(point)}function createMarker(point,id,description,link,lat,long){
var marker=new GMarker(point);
var orangeIcon=new GIcon(G_DEFAULT_ICON);
orangeIcon.image="http://www.google.com/intl/en_us/mapfiles/ms/micons/orange-dot.png";
orangeIcon.iconSize=new GSize(32,32);
markerOptions={icon:orangeIcon};
var marker=new GMarker(point,markerOptions);
GEvent.addListener(marker,"click",function(){
var myHtml="<font face='Verdana' size='4'>"+description+"</font><br>";
myHtml=myHtml+"<ul><li><a href='"+link+".php' >More information</a></li></ul>";
if(id>0){}myHtml=myHtml+"Search nearby:<br>";
myHtml=myHtml+"<table border='0'><tr>";
myHtml=myHtml+"<td valign='top'><ul>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=groceries&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Groceries</a></li>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=pharmacies&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Pharmacies</a></li>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=restaurants&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Restaurants</a></li>";
myHtml=myHtml+"</ul></td>";
myHtml=myHtml+"<td valign='top'><ul>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=amusement&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Amusement</a></li>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=golf&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Golfing</a></li>";
myHtml=myHtml+"<li><a href='http://maps.google.com?f=l&hl=en&geocode=&q=shopping+centers+and+malls&near="+lat+"+"+long+"&ie=UTF8&t=h&z=15' target='_blank'>Malls</a></li>";
myHtml=myHtml+"<ul></td>";
myHtml=myHtml+"</tr></table>";
map.openInfoWindowHtml(point,myHtml)});
return marker
}function createAttraction(id,name,description,searchstring,lat,long){
var point=new GLatLng(lat,long);
var marker=createAttractionMarker(id,point,name,description,searchstring);
map.addOverlay(marker);
var sidebarEntry=createSidebarEntry(marker,name);
sidebar.appendChild(sidebarEntry);
bounds.extend(point)}
function createAttractionMarker(id,point,name,description,searchstring){
var marker=new GMarker(point);
var blueIcon=new GIcon(G_DEFAULT_ICON);
blueIcon.image="http://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.png";
blueIcon.iconSize=new GSize(32,32);
markerOptions={icon:blueIcon};
var marker=new GMarker(point,markerOptions);
GEvent.addListener(marker,"click",function(){var myHtml="<font face='Verdana' size='4'>"+name+"</font><br>";myHtml=myHtml+"<ul><li><a href='/"+searchstring+"'>More information</a></li></ul>";if(id>0){}myHtml=myHtml+"<table border='0' width='200'><tr><td>"+description+"</td></tr></table>";map.openInfoWindowHtml(point,myHtml)});return marker}function createSidebarEntry(marker,name){var div=document.createElement('div');var html=name;div.innerHTML=html;div.style.cursor='pointer';div.style.marginBottom='5px';GEvent.addDomListener(div,'click',function(){GEvent.trigger(marker,'click')});GEvent.addDomListener(div,'mouseover',function(){div.style.Color='#555';div.style.backgroundColor='#fda'});GEvent.addDomListener(div,'mouseout',function(){div.style.Color='#555';div.style.backgroundColor='#fff'});return div}
//]]>

