//<![CDATA[

    var map = null;
    var geocoder = null;

    var textoPunto1 = '';
	    textoPunto1 += '<DIV><P ALIGN="LEFT">';
	    textoPunto1 += '<FONT SIZE="1" CLASS=""><B>LA CAVA DEL BIERZO</B></FONT><BR>';
	    textoPunto1 += '<FONT SIZE="1" CLASS="TextoPortada">C/ Las Flores, s/n<BR>24530 Valtuille de abajo (Le&oacute;n)<BR>Tfno. 987 56 21 56 - 686 94 13 36</FONT><BR>';
	    textoPunto1 += '<FONT SIZE="1" CLASS=""><A HREF="mailto:bodega@lacavadelbierzo.com" CLASS="" TITLE="bodega@lacavadelbierzo.com">bodega@lacavadelbierzo.com</A></FONT><BR>';
	    textoPunto1 += '</P></DIV>';

	function onLoad() {
		if (GBrowserIsCompatible()) {

				var icon_1 = new GIcon();
					icon_1.image = "imagenes/icono_1.png";
					//icon_1.shadow = "imagenes/icono_1_shadow.png";
					icon_1.iconSize = new GSize(24, 100);
					//icon_1.shadowSize = new GSize(73, 34);
					icon_1.iconAnchor = new GPoint(13, 100); // desplaza Info
					icon_1.infoWindowAnchor = new GPoint(17, 0); // desplaza bocadillo


				var icon_click = new GIcon();
					icon_click.image = "imagenes/enblanco.gif"; // si pulso en mapa (segun opcion)
					icon_click.shadow = "imagenes/enblanco.gif";
					icon_click.iconSize = new GSize(0, 0);
					icon_click.shadowSize = new GSize(0, 0);
					icon_click.iconAnchor = new GPoint(6, 20);
					icon_click.infoWindowAnchor = new GPoint(5, 1);
			
 				map = new GMap2(document.getElementById("map"));
					//map.addControl(new GLargeMapControl());
					map.addControl(new GSmallMapControl());
					map.addControl(new GMenuMapTypeControl());
					// map.setMapType(G_HYBRID_MAP); 		
					//map.addControl(new GScaleControl());    //Muestra la imagen de 200 pies
				   map.setCenter(new GLatLng(42.580533,-6.68815), 12); // long,lat
 				geocoder = new GClientGeocoder(); // para el buscador de sitios		

			   var point0 = new GLatLng(42.593533,-6.76415);				
				var marker0 = new PdMarker(point0, icon_1);
					marker0.setTooltip("&nbsp;LA CAVA DEL BIERZO&nbsp;");
					map.addOverlay(marker0);
					GEvent.addListener(marker0, 'click', function() {marker0.openInfoWindowHtml(textoPunto1 + '');});
																				
		}
	}
   
//]]>
