    //<![CDATA[

    function load() {
	//42.783307077249624, -7.7069091796875
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(42.851731,-8.584082), 10);
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());

		nuevamarca(42.851731,-8.584082,"<img src='../imgs/logo_vauto_ficha.png' width='106' height='36' title='Talleres V.Auto' alt='Talleres V.Auto' /><p style='font-size:14px;font-weight:bold;color:#999;margin:5px 0'>MECANICA Y ELECTRICIDAD</p><p style='margin:0'>R&uacute;a Palmeira, 111 - B1 - Pol. Industrial<br />Nuevo Milladoiro - Milladoiro - Ames (A Coru&ntilde;a)</p><p style='margin-top:5px;font-size:14px;font-weight:bold;color:#900'>Tlf.: 981 94 17 50</p>", map, 'markerA');
		nuevamarca(42.851146,-8.585386,"<img src='../imgs/logo_vauto_ficha.png' width='106' height='36' title='Talleres V.Auto' alt='Talleres V.Auto' /><p style='font-size:14px;font-weight:bold;color:#999;margin:5px 0'>CHAPA Y PINTURA</p><p style='margin:0'>R&uacute;a Oliveiras, 116 - A2 - Pol. Industrial<br />Nuevo Milladoiro - Milladoiro - Ames (A Coru&ntilde;a)</p><p style='margin-top:5px;font-size:14px;font-weight:bold;color:#900'>Tlf.: 881 95 99 84</p>", map, 'markerB');
		nuevamarca(42.798148,-8.641219,"<img src='../imgs/logo_vauto_ficha.png' width='106' height='36' title='Talleres V.Auto' alt='Talleres V.Auto' /><p style='font-size:14px;font-weight:bold;color:#999;margin:5px 0'>VEHICULOS DE OCASION</p><p style='margin:0'>Angueira de Suso, 1 - Ctra. Santiago-Padrón<br />Km. 75 - Exclavitud - Padrón (A Coru&ntilde;a)</p><p style='margin-top:5px;font-size:14px;font-weight:bold;color:#900'>Tlf.: 981 80 34 17</p>", map, 'markerC');
      }
    }
	
	    var baseIcon = new GIcon();
        baseIcon.shadow = "http://www.vauto.es/imgs/shadow50.png";
        baseIcon.iconSize = new GSize(20, 34);
        baseIcon.shadowSize = new GSize(37, 34);
        baseIcon.iconAnchor = new GPoint(9, 34);
        baseIcon.infoWindowAnchor = new GPoint(9, 2);
        baseIcon.infoShadowAnchor = new GPoint(18, 25);

    function nuevamarca(lng,lat,texto,map,imagen) {
          var letteredIcon = new GIcon(G_DEFAULT_ICON);
          letteredIcon.image = "http://www.vauto.es/imgs/" + imagen + ".png";

          markerOptions = { icon:letteredIcon };

              var point = new GLatLng(lng,lat);   
              var marker = new GMarker(point, markerOptions);
              GEvent.addListener(marker,"click", function() {
                    map.openInfoWindowHtml(point,texto);
              });             
              map.addOverlay(marker);             
    }    

	function alcargar() {
		miniResize();
		load();
	}
    //]]>
