    var iconA = new GIcon(); 
    iconA.image  = "/images/termeA1.png";
	iconA.shadow = "/images/termeA2.png";
	iconA.iconSize = new GSize(36, 36);
	iconA.shadowSize = new GSize(56, 32);
	iconA.iconAnchor = new GPoint(18, 36);
	iconA.infoWindowAnchor = new GPoint(16, 0);
	
	var iconB = new GIcon(); 
    iconB.image  = "/images/termeB1.png";
	iconB.shadow = "/images/termeB2.png";
	iconB.iconSize = new GSize(36, 36);
	iconB.shadowSize = new GSize(56, 32);
	iconB.iconAnchor = new GPoint(18, 36);
	iconB.infoWindowAnchor = new GPoint(16, 0);

    var customIcons = [];
	customIcons["A"] = iconA;
	customIcons["B"] = iconB;
	
	function createMarker(point, name, text, type, url) {
      var marker = new GMarker(point, customIcons[type]);
	  var html = "<div class='map2'><b>" + name + "</b> <br/>" + text + "</div>";
      GEvent.addListener(marker, 'click', function() {
        marker.openInfoWindowHtml(html);
      });
      return marker;
    }	