// JavaScript Document
	var add1 = null;
	var add2 = null;
	var add3 = null;
	var add4 = null;
    var map = null;
    var geocoder = null;

    function initialize() {
      if (GBrowserIsCompatible()) {
        add1 = new GMap2(document.getElementById("map_canvas_1"));
		add2 = new GMap2(document.getElementById("map_canvas_2"));
		add3 = new GMap2(document.getElementById("map_canvas_3"));
		add4 = new GMap2(document.getElementById("map_canvas_4"));
       //map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        geocoder = new GClientGeocoder();
		showAddress('715 Military Rd,Mosman, NSW 2088',add1);
		showAddress('500 Oxford Street,Bondi Junction ,NSW 2022',add2);
		showAddress('28 Cross St,Double Bay, NSW 2028',add3);
		showAddress('Sailors Bay Rd,Northbridge NSW 2063',add4);



      }
    }

    function showAddress(address,map) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 16);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              //marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }
	