function buscar()
{
	if(document.busqueda.ceu.checked==true)
	{
		document.busqueda.sitesearch.value="www.ceu.es"
	}
	else
	{
		document.Form1.sitesearch.value=""
	}
}
function LaunchXpep(ruta, nombre) 
{
   var LeftPosition=(screen.width)?(screen.width-800)/2:200;
   var TopPosition=(screen.height)?(screen.height-600)/2:200;
   var settings;
   settings ='width=792,height=574,top='+TopPosition+',left='+LeftPosition;
   settings+=',scrollbars=yes,resizable=no,menubar=no,toolbar=no,status=no,directories=no,location=no';
   wintarget = window.open(ruta, nombre, settings); 
   wintarget.focus();
}

// Funciones del API de Google Maps

	//<![CDATA[

function load()
{
	var puntoceu;
	puntoceu = null;
	
	if (GBrowserIsCompatible())
	{
  	var map = new GMap2(document.getElementById("mapagoogle"));
		map.addControl(new GLargeMapControl ());
	  map.addControl(new GMapTypeControl());
	  map.addControl(new GOverviewMapControl()); 
	  map.setCenter(new GLatLng(42.21431517415161, -8.699364066123962), 16);
	  map.setMapType(G_HYBRID_MAP);

	  function createMarker(point, icon)
	  {
	  	var marker = new GMarker(point, icon);		
      /* GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml("<font face='Verdana, Arial, Helvetica, sans-serif' size='2'><b>Colegio CEU San Pablo Montepr&iacute;ncipe</b><br />Urbanizaci&oacute;n Montepr&iacute;ncipe<br />Salida 36 de la M-40<br />Boadilla del Monte<br />28023 Madrid</font>"); 
        }
			);*/
      return marker;
		}

		var point = new GLatLng(42.21431517415161 , -8.699364066123962);

		var icon = new GIcon();
		icon.image = "http://www.ceu.es/img/icon_googlemap_ceu.png";
		icon.shadow = "http://www.ceu.es/img/icon_googlemap_ceu_shadow.png";
		icon.iconSize = new GSize(40, 37);
		icon.shadowSize = new GSize(44, 37);
		icon.iconAnchor = new GLatLng(40, 19);
		icon.infoWindowAnchor = new GPoint(35, 10);

		puntoceu = createMarker(point, icon);
		map.addOverlay(puntoceu);
		puntoceu.openInfoWindowHtml("<font face='Verdana, Arial, Helvetica, sans-serif' size='2'><b>Escuela de Magisterio CEU</b><br />Carretera de Madrid 8<br />36214  Vigo</font>");

	}
}

	//]]>
		
// Fin funciones del API de Google Maps