function SendMail(nm,dm){
	mailurl = "mailto:" + nm + "@" + dm;
	window.location = mailurl;
} 
function ventana(nombre,name,propiedades)
        {
        v=window.open(nombre,name,propiedades);
        }

function vete(){
 window.location = document.formy.combo.value;
}
function CompruebaFormContacto(){
	if(document.FormContacto.nombre.value=="" || document.FormContacto.nombre.value==" "){
			alert('Te falta el nombre');
			document.FormContacto.nombre.focus();
			return;
		}
		if(document.FormContacto.email.value=="" || document.FormContacto.email.value==" "){
			alert('Te falta el email');
			document.FormContacto.email.focus();
			return;
		}
		if(document.FormContacto.comentario.value==""){
			alert('Te falta el comentario');
			document.FormContacto.comentario.focus();
			return;
		}
		document.FormContacto.submit();
}

		/*************************************************************************
		*MenuOver()
		*************************************************************************/
		menu_ant=new Object();
		var contador=0;
		function MenuOver(menu,accion){
			if (menu!=menu_ant){
				if (accion==1) {menu.getElementsByTagName("span")[0].className='MenuInterioron';	}
				if (accion==2) {menu.getElementsByTagName("span")[0].className='MenuInterioroff';	}
			}
		}
		
		function MenuClick(menu){
			if ((contador>0)) {
				menu_ant.getElementsByTagName("span")[0].className = "MenuInterioroff";}
				menu.getElementsByTagName("span")[0].className = "MenuInterioron";
				menu_ant=menu;
				contador++;
		}	
		
		function ActivaContenido(ItemContenido){
			document.getElementById("ContenidoInterior").innerHTML=ContenidoRotary[ItemContenido];
	  }
	  
	  function IniciaRotary(){
	  	if(!document.all){
		  	menu=document.getElementById("MenuInteriorEnlace1");
				menu.getElementsByTagName("span")[0].className = "MenuInterioron";
				menu_ant=menu;
				contador++;
				document.getElementById("ContenidoInterior").innerHTML=ContenidoRotary[0];
			}
	  }