var gmarkers = [];
function createMarker(point,html) {var marker = new GMarker(point);GEvent.addListener(marker, 'click', function() {marker.openInfoWindowHtml(html);});return marker;}
function fitMap( map, points ) {var bounds = new GLatLngBounds();for (var i=0; i< points.length; i++) {bounds.extend(points[i]);}map.setZoom(map.getBoundsZoomLevel(bounds));map.setCenter(bounds.getCenter());}
function myclick(i) { window.scrollTo(0,0); GEvent.trigger(gmarkers[i], "click");}