
function intro(menu){
var texto="";
var seccionObj=document.getElementById("seccion");
switch (menu){ 	
	case "bienvenida": texto="Descubre Tinkle. Nuestra visión, misión, valores, metodología y organización.";
			break;
	case "accion": texto="Las capacidades de Tinkle. Nuestros servicios, equipo, referencias, actividades y oportunidades.";
			break;
	case "gestion": texto="Tinkle 'en directo'. Nuestros proyectos, el histórico, evaluación e intercambio.";
			break;
	}
seccionObj.innerHTML=texto;
}

function popup1(pop){
document.getElementById(pop).style.display="block";
}
function popup(pop){
for (i=1;i<15;i++){
	var popId="pop"+i;
	if (document.getElementById(popId)){
		var popLink="pop"+i+"Link";
		document.getElementById(popId).style.display="none";
		document.getElementById(popLink).style.fontWeight="normal";
		document.getElementById(popLink).style.color="#999";
	}
}
document.getElementById(pop).style.display="block";
var linkSelect=pop+"Link";
var linkSelectObj=document.getElementById(linkSelect);
linkSelectObj.style.fontWeight="bold";
linkSelectObj.style.color="#68CD33";
}

function cerrar1(pop){
document.getElementById(pop).style.display="none";
}

function cerrar(pop){
document.getElementById(pop).style.display="none";
var popLink=pop+"Link";
var popLinkObj=document.getElementById(popLink);
popLinkObj.style.fontWeight="normal";
popLinkObj.style.color="#999";
}

function abrir(desti){
  var ampla = 300;
  var altura = 110;
  strURL = desti;
  poshoritz = (screen.width) ? (screen.width-ampla)/2 : 0;
  posvert = (screen.height) ? (screen.height-altura)/2 : 0;
  strW = 'toolbar=0,directories=0,location=0,status=no,menubar=0,resizable=1,copyhistory=0,scrollbars=0,width='+ ampla + ',height='+ altura + ',top='+ posvert + ',left='+ poshoritz;
  eval("window.open('" + strURL + "','','" + strW + "')");
}
function getURL(val){
   location = val;
   return false;
}

