    //<![CDATA[
    function loadMe() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        mapIt("Terminal way Pittsburgh PA 15219");
      }
    }
	function doReg(){
		document.getElementById("map").className = "mapReg"
	}
	function doLarge(){
		document.getElementById("map").className = "mapLarge"
	}
	function mapIt(address){
	var map = new GMap2(document.getElementById("map"));
	var geocoder = new GClientGeocoder();
		geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } 
	  else {
	  	var map = new GMap2(document.getElementById("map"));
		map.setCenter(point, 15);
        var marker = new GMarker(point);
        map.addOverlay(marker);
        marker.openInfoWindowHtml("<p align='center' style='font:12px arial green;'><strong>Pittsburgh Taka Seigi Dojo<br/></strong>"+address+"<br/>E:<a href='mailto:dojocho@pittsburghbujinkan.com'>dojocho@pittsburghbujinkan.com</a></p>");
      }
    }
  );
}	  	
function mapIt2(address){
	var map = new GMap2(document.getElementById("map"));
	var geocoder = new GClientGeocoder();
		geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert("Address '"+address+ "' not found");
      } 
	  else {
  	    document.getElementById("dirDiv").value = "";
	    var map = new GMap2(document.getElementById("map"));
        var directions;
		var directionsPanel = document.getElementById("dirDiv");
		document.getElementById("dirDiv").innerHTML = "";
		map.setCenter(point, 15);
        var marker = new GMarker(point);
        map.addOverlay(marker);
		directions = new GDirections(map, directionsPanel);
 	    directions.load(address + " to TERMINAL ST. PITTSBURGH, PA 15219");
      }
    }
  );
}
    //]]>
