//<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
        
		var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(42.990758,-7.545269), 16);
		map.enableContinuousZoom(); 
		map.enableDoubleClickZoom(); 
		map.addControl(new GLargeMapControl()); 
		map.addControl(new GScaleControl()); 
		map.addControl(new GMapTypeControl()); 
		map.addControl(new GOverviewMapControl());
		map.setMapType(G_HYBRID_TYPE);
		 
		var geocoder = new GClientGeocoder();
				
		var icon = new GIcon(); 
		icon.image = 'http://google.webassist.com/google/markers/flag/pacifica.png'; 
		icon.shadow = 'http://google.webassist.com/google/markers/flag/shadow.png'; 
		icon.iconSize = new GSize(40,41); 
		icon.shadowSize = new GSize(40,41); 
		icon.iconAnchor = new GPoint(7,38); 
		icon.infoWindowAnchor = new GPoint(26,1); 
		icon.printImage =  'http://google.webassist.com/google/markers/flag/pacifica.gif'; 
		icon.mozPrintImage = 'http://google.webassist.com/google/markers/flag/pacifica_mozprint.png';
		icon.printShadow = 'http://google.webassist.com/google/markers/flag/shadow.gif';
		icon.transparent = 'http://google.webassist.com/google/markers/flag/pacifica_transparent.png';
		
				
		function addtag(point, address, icono) {
        	var marker = new GMarker(point,icono);
        	GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(address); } );
        	return marker;
        }
		
        var point = new GLatLng(42.990758,-7.545269);
        var address = '<strong>CB BREOGAN</strong><br /><strong>Pazo Provincial de los Deportes</strong><br />Fingoi, s/n - 27002 Lugo';
        var marker = addtag(point, address,icon);
        map.addOverlay(marker);

		
      
	  }
    }

    //]]>
