//<![CDATA[

    function createMarker(point, texto) {
  		var marker = new GMarker(point);
		
		GEvent.addListener(marker, "click", function() {
    		marker.openInfoWindowHtml("<h1>"+texto+"</h1>");
  		});
  	return marker;
	}
		
	function marcadorEmpresa(punto){
		var icon = new GIcon();
		icon.image = "http://www.oceansnell.com/images/marcador_empresa.png";
		icon.shadow = "http://www.oceansnell.com/images/marcador_empresa_sombra.png";
		icon.iconSize = new GSize(32, 45);
		icon.shadowSize = new GSize(64, 45);
		icon.iconAnchor = new GPoint(16, 45);
		icon.infoWindowAnchor = new GPoint(16, 1);
		var marcador = new GMarker(punto,icon);
			
		GEvent.addListener(marcador, "click", function() {
    		marcador.openInfoWindowHtml('<div class="subtitulo" style="text-align:center; text-indent:0px;">Oceansnell<br/>Consultoria Ambiental Marina</div>');
  		});
  		return marcador;

	}


    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		var punto = new GLatLng(39.549258,-0.461426);
        map.setCenter(punto, 16);
		//map.setMapType(G_HYBRID_MAP);
		map.setMapType(G_NORMAL_MAP);
		
		map.addControl(new GSmallMapControl());	
		
		
		
		map.addOverlay(marcadorEmpresa(punto));
		
      }
    }

    //]]>