var centerLatitude=cLat;var centerLongitude=cLng;var startZoom=sZoom;var map;function init(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById("map"));map.addControl(new GSmallMapControl());map.setCenter(new GLatLng(centerLatitude,centerLongitude),startZoom);for(i=0;i<markers.length;i++){addMarker(markers[i].latitude,markers[i].longitude,markers[i].description)}}}function addMarker(latitude,longitude,description){var marker=new GMarker(new GLatLng(latitude,longitude));GEvent.addListener(marker,'click',function(){marker.openInfoWindowHtml(description,{maxWidth:50})});map.addOverlay(marker)}function mapRow(x_guid){var lat=markers[0].latitude;var lng=markers[0].longitude;var description=markers[0].description;var i=0;while(markers[i].guid!=x_guid){i=i+1;lat=markers[i].latitude;lng=markers[i].longitude;description=markers[i].description}var location=new GLatLng(lat,lng);map.setCenter(location,startZoom);map.openInfoWindow(location,description,{maxWidth:50})}window.onload=init;window.onunload=GUnload;