// JavaScript Document
	var map = null;
    var geocoder = null;
	var infoboxcontent = "<h2>The Dunham Group Inc</h2>\n";
	infoboxcontent += "<p>29 South Street West</p>\n";
	infoboxcontent += "<p>Hamilton ON L9H 4C4</p>\n";
	infoboxcontent += "<p>905-628-6010</p>\n";
	infoboxcontent += "<table style='margin-bottom:-24px;_margin-bottom:-54px;display:block;width:270px;'>\n";
	infoboxcontent += "<tr><td>Chris Grabiec<br />President</td><td>Ext 101</td></tr>\n";
	infoboxcontent += "<tr><td>John Janisse<br />Director, Design and Programming</td><td>Ext 102</td></tr>\n";
	infoboxcontent += "<tr><td>Jeremy McMaster<br />Director, IT Services</td><td>Ext 106</td></tr>\n";
	infoboxcontent += "<tr><td>Jason Lok<br />Web and Software Development</td><td>Ext 105</td></tr>\n";
	infoboxcontent += "<tr><td>Kayn Leduc<br />Web and Graphic Design</td><td>Ext 117</td></tr>\n";
	infoboxcontent += "</table>";
   	function initialize() {
		if (GBrowserIsCompatible()) {
			map = new GMap2(document.getElementById("map"));	  
			geocoder = new GClientGeocoder();	
    	  }
		  
    	if (geocoder) {
        	geocoder.getLatLng("29 South Street West, Hamilton, Ontario",function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(new GLatLng(43.262579, -79.948017), 16);
              var marker = new GMarker(point);
              map.addOverlay(marker);
			  map.addControl(new GSmallMapControl());
			//map.openInfoWindowHtml(map.getCenter(), infoboxcontent);
 			  marker.bindInfoWindowHtml(infoboxcontent);
			  marker.openInfoWindowHtml(infoboxcontent);
            }
          }
        );
      }
	}