function initialize_map_school(longitude, latitude, zoom){
  /*alert("test: "+longitude);*/
  
  if(GBrowserIsCompatible()){
    map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(longitude, latitude), zoom);
    geocoder = new GClientGeocoder();
    map.addControl(new GSmallZoomControl());
    map.addControl(new GMenuMapTypeControl());
    point = new GLatLng(longitude, latitude);
    var marker = new GMarker(point);
    map.addOverlay(marker);    
  }
}

function initialize(longitude, latitude, zoom){
  if(GBrowserIsCompatible()){
    map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(longitude, latitude), zoom);
    geocoder = new GClientGeocoder();
    map.addControl(new GMenuMapTypeControl());
    map.addControl(new GLargeMapControl());
    map.addControl(new GOverviewMapControl());
    map.addControl(new GScaleControl());
    showAll();
  }
}

function googlemaps_show_school(longitude, latitude, info){
  //alert("test "+info);
  map.setCenter(new GLatLng(longitude, latitude), 8);
  
  point = new GLatLng(longitude, latitude);
           
  var baseIcon = new GIcon(G_DEFAULT_ICON);
  baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
  baseIcon.iconSize = new GSize(20, 34);
  baseIcon.shadowSize = new GSize(37, 34);
  baseIcon.iconAnchor = new GPoint(9, 34);
  baseIcon.infoWindowAnchor = new GPoint(9, 2);
  //var letteredIcon = new GIcon(baseIcon);
  //letteredIcon.image = "http://www.google.com/mapfiles/markerY.png";

  // Set up our GMarkerOptions object
  //markerOptions = { icon:letteredIcon };
  var marker = new GMarker(point);
  map.addOverlay(marker);
  
  marker.openInfoWindowHtml(info);
  
}