function load() 
{         
  if (GBrowserIsCompatible()) 
  {
    //init map
    var map = new GMap2(document.getElementById("GoogleMap"));
    
    //set CreaTV coords
    var locCreaTV = new GLatLng(37.33772, -121.89634)
    
    //set map properties
    map.addControl(new GSmallMapControl());
    map.enableScrollWheelZoom();
    map.enableContinuousZoom();
    map.setCenter(locCreaTV, 17);
      
      
    // Create our "tiny" marker icon
    var iconCreaTV = new GIcon(G_DEFAULT_ICON);
    iconCreaTV.image = "http://www.creatvsj.org/Images/MapIcon.png";
    iconCreaTV.printImage = "http://www.creatvsj.org/Images/MapIcon.gif";
    iconCreaTV.moxPrintImage = "http://www.creatvsj.org/Images/MapIcon.gif";
    iconCreaTV.iconSize = new GSize(60, 58);     
    iconCreaTV.shadow = "";
    iconCreaTV.iconAnchor = new GPoint(40, 55);
    iconCreaTV.imageMap=[0,19, 50,1, 42,55];
        
    // Set up our GMarkerOptions object
    markerOptions = { icon:iconCreaTV };
    
    //add CreaTV marker
    var markerCreaTV = new GMarker(locCreaTV, markerOptions)
    map.addOverlay(markerCreaTV);
    
    GEvent.addListener(markerCreaTV, "click", function() 
    {
        var popCreaTV = "<form method='GET' action='http://maps.google.com/maps' target='_blank'>";
        popCreaTV = popCreaTV + "<span>Get directions to CreaTV from:<BR></span>";
        popCreaTV = popCreaTV + "<input type=text name=saddr size=30>";
        popCreaTV = popCreaTV + "<input type=hidden name=daddr value='37.33772, -121.89634'>";
        popCreaTV = popCreaTV + "<input type=submit value='Go' style='padding: 0px'>";
        popCreaTV = popCreaTV + "<input type=hidden name=hl value=en>"
        popCreaTV = popCreaTV + "</form>";
        
        map.openInfoWindowHtml(locCreaTV, popCreaTV);    
    });
  }
}




