function wagt_map_2() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagt_map_2')) return false;
    var map = new GMap2(document.getElementById('wagt_map_2'));
	map.setCenter(new GLatLng(35.879528, -79.064242), 13);
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GLargeMapControl());
    map.addControl(new GScaleControl());
    map.addControl(new GMapTypeControl());
    map.addControl(new GOverviewMapControl());
    
    
    var icon = new GIcon();
    var markerStyle = 'Google Traditional (flat)';
    var markerColor = 'Desert Spice';
    icon.image = 'http://google.webassist.com/google/markers/traditionalflat/desertspice.png';
    icon.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon.iconSize = new GSize(34,35);
    icon.shadowSize = new GSize(34,35);
    icon.iconAnchor = new GPoint(9,23);
    icon.infoWindowAnchor = new GPoint(19,0);
    icon.printImage = 'http://google.webassist.com/google/markers/traditionalflat/desertspice.gif';
    icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/desertspice_mozprint.png';
    icon.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon.transparent = 'http://google.webassist.com/google/markers/traditionalflat/desertspice_transparent.png';
	
	var cnter = new GLatLng(35.879528, -79.064242);

    var address_0 = {
      street: '100 Market Street',
      city: 'Chapel Hill',
      state: 'NC',
      zip: '27516',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<b>Directions To Here</b><br/>Start address:<form action="http://maps.google.com/maps" method="get" target="_blank"><input type="text" SIZE=40 MAXLENGTH=40 name="saddr" id="saddr" value="" /><br><INPUT value="Get Directions" TYPE="SUBMIT"><input type="hidden" name="daddr" value="' + cnter.lat() + ',' + cnter.lng() + '"/></form><b>Directions From Here</b><br>End address:<form action="http://maps.google.com/maps" method="get"" target="_blank"><input type="text" SIZE=40 MAXLENGTH=40 name="daddr" id="daddr" value="" /><br><INPUT value="Get Directions" TYPE="SUBMIT"><input type="hidden" name="saddr" value="' + cnter.lat() + ',' + cnter.lng() + '"/></form><br/>',
      full: '100 Market Street, Chapel Hill, NC, 27516',
      isdefault: true
    };
	var marker = new GMarker(cnter, icon);
    GEvent.addListener(marker, 'click', function() {
    	marker.openInfoWindowHtml(address_0.infowindowtext);
    });
    map.addOverlay(marker);
    marker.openInfoWindowHtml(address_0.infowindowtext);

  }
}