var map; var geocoder = new GClientGeocoder(); function display_property(image, id, address, city, state, zip, available, details, price, url) { marker = null; geocoder.getLatLng(address + ", " + city + ", " + state, function(point) { if(point) { marker = new GMarker(point); map.addOverlay(this.marker); GEvent.addListener(marker, "click", function() { showInfo(this, image, id, address, city, state, zip, available, details, price, url); }); } }); } function showInfo(marker, image, id, address, city, state, zip, available, details, price, url) { var overviewTab = "
" + image + "" + "
Address
" + address + "
" + city + ", " + state + " " + zip + "
" + "View listing

" + "
"; var detailsTab = "Available: " + available + "
" + details + "Price: " + price + "
" + "View listing"; // Our info window content var infoTabs = [ new GInfoWindowTab("Overview", overviewTab), new GInfoWindowTab("Details", detailsTab) ]; marker.openInfoWindowTabsHtml(infoTabs); } function google_maps_load() { if( mapdiv = document.getElementById("google_map") ) { if (GBrowserIsCompatible()) { map = new GMap2(mapdiv); map.addControl(new GSmallMapControl()); map.setCenter(new GLatLng(38.00, -84.50), 10); display_property("\"\"", "87", "724 Miles Road", "Nicholasville", "Kentucky", "40356", "08/16/2010", "Size: 4 Bedroom - 2.5 Bath
Type: SFS- 2 Story
Square Footage: 1609+
", "$1025/month", "?pagename=viewlisting&prop_id=87"); display_property("\"\"", "120", "3804 Lady Di Lane", "Lexington", "Kentucky", "40517", "08/01/2010", "Size: 3 Bedroom - 2.5 Bath
Type: TH- 2 story
Square Footage: 1225
", "$749/month", "?pagename=viewlisting&prop_id=120"); display_property("\"\"", "122", "1453 Day Lily Drive", "Lexington", "Kentucky", "40511", "08/01/2010", "Size: 3 Bedroom - 2 Bath
Type: SF- 1 story
Square Footage: 1250
", "$905/month", "?pagename=viewlisting&prop_id=122"); display_property("\"\"", "132", "712 Miles Road", "Nicholasville", "Kentucky", "40356", "09/15/2010", "Size: 4 Bedroom - 2 Bath
Type: SF 1 story
Square Footage: 1554
", "$995/month", "?pagename=viewlisting&prop_id=132"); display_property("\"\"", "140", "1469 Day Lily Drive", "Lexington", "Kentucky", "40511", "08/15/2010", "Size: 3 Bedroom - 2 Bath
Type: SF 1 story
Square Footage: 1250+/-
", "$915/month", "?pagename=viewlisting&prop_id=140"); display_property("\"\"", "169", "141 McPeek", "Nicholasville", "Kentucky", "40356", "07/15/2010", "Size: 4 Bedroom - 2.5 Bath
Type: sfr 2 story
Square Footage: 1609
", "$995/month", "?pagename=viewlisting&prop_id=169"); display_property("\"\"", "173", "1065 Lucille Dr", "Lexington", "Kentucky", "40511", "10/01/2010", "Size: 3 Bedroom - 2 Bath
Type: SFR- 1 Story
Square Footage: 1300
", "$905/month", "?pagename=viewlisting&prop_id=173"); display_property("\"\"", "186", "628 John Sutherland Dr", "Nicholasville", "Kentucky", "40356", "10/01/2010", "Size: 3 Bedroom - 2.5 Bath
Type: 2 Story
Square Footage: 1650 +/-
", "$875/month", "?pagename=viewlisting&prop_id=186"); display_property("\"\"", "207", "117 Sara Marie Lane", "Nicholasville", "Kentucky", "40356", "09/01/2010", "Size: 4 Bedroom - 2 Bath
Type: SFR 1 story
Square Footage: 1554
", "$995/month", "?pagename=viewlisting&prop_id=207"); display_property("\"\"", "208", "2704 Red Clover Lane", "Lexington", "Kentucky", "40511", "09/01/2010", "Size: 3 Bedroom - 2 Bath
Type: SFR 1 story
Square Footage: 1240
", "$925/month", "?pagename=viewlisting&prop_id=208"); display_property("\"\"", "210", "145 McPeek", "Nicholasville", "Kentucky", "40356", "09/15/2010", "Size: 4 Bedroom - 2.5 Bath
Type: SFR 2 story
Square Footage: 1609
", "$995/month", "?pagename=viewlisting&prop_id=210"); display_property("\"\"", "211", "2292 Stone Garden Lane", "Lexington", "Kentucky", "40513", "10/01/2010", "Size: 3 Bedroom - 2.5 Bath
Type: SFR 2 story
Square Footage: 1740
", "$1250/month", "?pagename=viewlisting&prop_id=211"); } } } function google_maps_unload() { if( mapdiv = document.getElementById("google_map") ) { GUnload(); } }