 //<![CDATA[
	// Adjust these 3 parameters for the zooming needed for your map application
	zoomClick = 11; // Starting zoom level
	zoomMax = 17;  	// Maximum zoom in depth
	zoomMin = 8; 	// Minimum zoom our depth
	
	zoomDir = "In";	// Zoom direction
    function load() {
      if (GBrowserIsCompatible()) {
		// Creates a marker at the given point with the given number label
		function createMarker(point) {
		  var marker = new GMarker(point);
		  GEvent.addListener(marker, "click", function() {
			//Marker text
			marker.openInfoWindowHtml("<b>Griffin House<br />Screenprinting & Sportswear</b><br />#3 - 6750 Cariboo Road<br />Burnaby, BC Canada<br />V3N 4A4");
		  });
		  return marker;
		}
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(49.22, -123.0), zoomClick);
		// Add marker
		var point = new GLatLng(49.250136, -122.914247);
 		map.addOverlay(createMarker(point));
		// Custom Event handler for zooming in and out when the map is clicked
		GEvent.addListener(map, "click", function(marker, point) {
		  if (!marker) {
			if (zoomDir == "In") {
				if (zoomClick < zoomMax) {
					zoomClick++;	// Continue to zoom in
					map.setCenter(new GLatLng(49.250136, -122.914247), zoomClick);
				} else {
					zoomDir = "Out"; /* change zoom direction */
					zoomClick--;
					map.setCenter(new GLatLng(49.250136, -122.914247), zoomClick);
				}
			} else {
				if (zoomClick > zoomMin) {
					zoomClick--;	// Continue to zoom out
					map.setCenter(new GLatLng(49.250136, -122.914247), zoomClick);
				} else {
					zoomDir = "In"; /* change zoom direction */
					zoomClick++;
					map.setCenter(new GLatLng(49.250136, -122.914247), zoomClick);
				}
			}
		  }
		});
      }
    }
    //]]>