  var map;
  //define one variable here for each of your locations
  var rmhc;
  var gmhc;
  
  function initialize() {
    var myLatlng = new google.maps.LatLng(0,0);  //this is overwritten later, see bottom of this method
    var myOptions = {
      zoom: 16,  //note your zoom level goes here
      center: myLatlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    }
    map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
    addLocations();
  }
  
  function addLocations() {
    //the div that shows in the info box, one per location
    var rmhcString = '<div id="content">'+
    '<h1 id="firstHeading">Tanasuk</h1>'+
    '<div id="bodyContent">'+
    '<p>Tanasuk is located in Amman, Jordan</p>' +
    '</div>'+
    '</div>';
    
    var gmhcString = '<div id="content">'+
    '<h1 id="firstHeading">Cambridge MedTouch</h1>'+
    '<div id="bodyContent">'+
    '<p>MedTouch has an office in Cambridge, MA</p>' +
    '</div>'+
    '</div>';
    
	//the info box itself
    var rmhcInfoWindow = new google.maps.InfoWindow({
      content: rmhcString
    });

    var gmhcInfoWindow = new google.maps.InfoWindow({
      content: gmhcString
    });    

	//the actual physical marker
    rmhc = new google.maps.Marker({
        position: new google.maps.LatLng(43.1962630, -77.6051440), 
        map: map,
        title:"Rochester Mental Health Center"
    });
    
    gmhc = new google.maps.Marker({
        position: new google.maps.LatLng(43.1480375, -77.5905970), 
        map: map,
        title:"Genesee Mental Health Center"
    });
    
    //the function that displays the info box on marker click
    google.maps.event.addListener(rmhc, 'click', function() {
      rmhcInfowindow.open(map,rmhc); 
    });  
    
    google.maps.event.addListener(gmhc, 'click', function() {
      gmhcInfowindow.open(map,gmhc); 
    });
    
    //centers the map on one of your markers when the map first opens
    centerOnLocation(rmhc);        
  
  }
  
  
  //given a marker, make it the center of the map
  function centerOnLocation(marker) {
    map.panTo(marker.getPosition());        
  }
  
  
  //given the name of a marker, make it the center of the map
  function centerOnName(name) { 
    switch (name) {
      case "rmhc": centerOnLocation(rmhc); break;
      case "gmhc": centerOnLocation(gmhc); break;
    }
  }
  
