function initialize() {
  var map;
  if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map_canvas"));
    map.addControl(new GSmallMapControl());

    map.setCenter(new GLatLng(-45.009477, 168.945007), 10);

    var locIcon = new GIcon(G_DEFAULT_ICON);
    locIcon.image = "http://www.newzealandtravelinsider.com/images/location.png";
    var flagIcon = new GIcon(G_DEFAULT_ICON);
    flagIcon.image = "http://www.newzealandtravelinsider.com/images/flag.png";
	                   
	markerOptions3 = { icon:locIcon };
	markerOptions3.title = "Start of the Cromwell to Queenstown scenic drive";
    var marker3 = new GMarker(new GLatLng(-45.034032, 169.192114), markerOptions3);
    map.addOverlay(marker3);
    GEvent.addListener(marker3, "click", function() {
	    marker3.openInfoWindowHtml('Start of the Cromwell to Queenstown scenic drive.');
	  });

	markerOptions10 = { icon:flagIcon };
	markerOptions10.title = "End of the Cromwell to Queenstown scenic drive";
    var marker10 = new GMarker(new GLatLng(-45.038384, 168.646102), markerOptions10);
    map.addOverlay(marker10);
    GEvent.addListener(marker10, "click", function() {
	    marker10.openInfoWindowHtml('End of the Cromwell to Queenstown scenic drive.');
	  });  
	  	  
    map.setMapType(G_PHYSICAL_MAP); 
      
  }
    
}

