function poneLink(lev) {
if (lev == "-1") 
	{dir="styles/";}
else if (lev == "0") 
//if (lev == "0") 
	{dir="../styles/";}
else if (lev == "1")
	{dir="../../styles/";}
else if (lev == "2")
	{dir="../../../styles/";}
else if (lev == "3")
	{dir="../../../../styles/";}

if (document.body.id == "fil")
	{document.write ('<link href="' + dir + 'filosofia.css" rel="stylesheet" type="text/css" />');}
else if (document.body.id == "cul")
	{document.write ('<link href="' + dir + 'cultura.css" rel="stylesheet" type="text/css" />');}
else if (document.body.id == "vol")
	{document.write ('<link href="' + dir + 'voluntariado.css" rel="stylesheet" type="text/css" />');}
else if (document.body.id == "not")
	{document.write ('<link href="' + dir + 'noticias.css" rel="stylesheet" type="text/css" />');}
else if (document.body.id == "NA")
	{document.write ('<link href="' + dir + 'sobreNA.css" rel="stylesheet" type="text/css" />');}
else if (document.body.id == "ini")
	{document.write ('<link href="' + dir + 'inicio.css" rel="stylesheet" type="text/css" />');}
}

function poneFoto(lev) {
if (lev == "-1") 
	{dir="styles/";}
else if (lev == "0") 
//if (lev == "0") 
	{dir="../styles/";}
else if (lev == "1")
	{dir="../../styles/";}
else if (lev == "2")
	{dir="../../../styles/";}

if (document.body.id == "fil")
	{document.write ('<img src="' + dir + 'cabecera_fil.jpg" alt="Filosof&iacute;a" width="900" height="117" border="0" />');}
else if (document.body.id == "cul")
	{document.write ('<img src="' + dir + 'cabecera_cul.jpg" alt="Cultura" width="900" height="117" border="0" />');}
else if (document.body.id == "vol")
	{document.write ('<img src="' + dir + 'cabecera_vol.jpg" alt="Voluntariado" width="900" height="117" border="0" />');}
else if (document.body.id == "not")
	{document.write ('<img src="' + dir + 'cabecera_not.jpg" alt="Noticias" width="900" height="117" border="0" />');}
else if (document.body.id == "NA")
	{document.write ('<img src="' + dir + 'cabecera_NA.jpg" alt="Nueva Acr&oacute;polis" width="900" height="117" border="0" />');}
else if (document.body.id == "ini")
	{document.write ('<img src="' + dir + 'cabecera_ini.jpg" alt="Inicio" width="900" height="117" border="0" />');}
}

function poneNavegacion() {
document.write ('&gt;&gt; <a href="../home.html">Inicio</a> &gt;&gt; ');

if (document.body.id == "fil")
	{document.write ('<a href="../filosofia/">Filosof&iacute;a</a> &gt;&gt; ');}
else if (document.body.id == "cul")
	{document.write ('<a href="../cultura/">Cultura</a> &gt;&gt; ');}
else if (document.body.id == "vol")
	{document.write ('<a href="../voluntariado/">Voluntariado</a> &gt;&gt; ');}
else if (document.body.id == "not")
	{document.write ('<a href="../noticias/">Noticias</a> &gt;&gt; ');}
else if (document.body.id == "NA")
	{document.write ('<a href="../NuevaAcropolis/">Qui&eacute;nes somos</a> &gt;&gt; ');}
//else if (document.body.id == "ini")
//	{document.write ('<a href="home.html">Inicio</a> &gt;&gt; ');}

document.write (document.title);
}

function zoomText(Accion,Elemento){
//inicializacion de variables y parámetros
var obj=document.getElementById(Elemento);
var max = 140 //tamaño máximo del fontSize
var min = 80 //tamaño mínimo del fontSize
if (obj.style.fontSize==""){
obj.style.fontSize="100%";
}
actual=parseInt(obj.style.fontSize); //valor actual del tamaño del texto
incremento=20;// el valor del incremento o decremento en el tamaño
//accion sobre el texto
if( Accion=="reestablecer" ){
obj.style.fontSize="100%"
}
if( Accion=="+" && ((actual+incremento) <= max )){
valor=actual+incremento;
obj.style.fontSize=valor+"%"
}
if( Accion=="-" && ((actual-incremento) >= min )){
valor=actual-incremento;
obj.style.fontSize=valor+"%"
}
} 
