<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// FUNCION PARA AUMENTAR EL CUERPO DEL TEXTO //

function FindObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=FindObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function ChangeProp(objName,x,theProp,theValue) { //v6.0

	elemento		= document.getElementById(objName);
	paragrafos	= elemento.getElementsByTagName("p");
	total				= paragrafos.length;
	
	if (total>0)
	{
		for(var i=0;i<total;i++)
		{
			paragrafos[i].style.fontSize = theValue+'px';
			paragrafos[i].style.lineHeight = theValue+10+'px';
		}
	}
	else
	{
		p = document.createElement("p");
		p.setAttribute("className", "texto");
		p.innerHTML = elemento.innerHTML;
		p.style.fontSize = theValue+'px';
		p.style.fontSize = theValue+10+'px';
		elemento.innerHTML = "";
		elemento.appendChild(p);
	}
	
}

function LoadActualFontSize() {
tempArray = document.cookie.split(";");
	for (tA = 0; tA < tempArray.length; tA++){
		if (tempArray[tA].indexOf('fontSize') > -1){
			fontSizeValue = tempArray[tA].split("=")
			FUENTE_ACTUAL = parseInt(fontSizeValue[1]);
		}
	}
}

function SaveActualFontSize() {
	var expire = new Date ();
	expire.setTime (expire.getTime() + (6000 * 24 * 3600000));
	expire = expire.toGMTString();
	document.cookie="fontSize="+FUENTE_ACTUAL+"; path=/; expires="+expire;
}

function MasTxt() {
	FUENTE_ACTUAL = FUENTE_ACTUAL+2;
	if (FUENTE_ACTUAL > FUENTE_MASGRANDE) { FUENTE_ACTUAL = FUENTE_MASGRANDE }
	ChangeProp('texto','','style.fontSize',FUENTE_ACTUAL,'p');
	SaveActualFontSize();
}

function MenosTxt() {
	FUENTE_ACTUAL = FUENTE_ACTUAL-2
	if (FUENTE_ACTUAL < FUENTE_MASPEQUENA) { FUENTE_ACTUAL = FUENTE_MASPEQUENA }
	ChangeProp('texto','','style.fontSize',FUENTE_ACTUAL,'p');
	SaveActualFontSize();
}

function IgualTxt() {
	FUENTE_ACTUAL = FUENTE_DEFAULT
	ChangeProp('texto','','style.fontSize',FUENTE_ACTUAL,'p');
	SaveActualFontSize();
}
FUENTE_DEFAULT = 11;
FUENTE_ACTUAL = 11;
FUENTE_MASPEQUENA = 9;
FUENTE_MASGRANDE = 21;
//-->
//-->

function MostraArquivos(param) {
	
	if (param == 'Texto')
	{
		document.getElementById('divTexto').style.display = 'block';	
		document.getElementById('Texto').style.display = 'block';
		document.getElementById('Fotos').style.display = 'none';
		document.getElementById('Video').style.display = 'none';
	} else if (param == 'Fotos')
	{
		document.getElementById('divTexto').style.display = 'block';
		document.getElementById('Texto').style.display = 'none';
		document.getElementById('Fotos').style.display = 'block';
		document.getElementById('Video').style.display = 'none';
	} else if (param == 'Video')
	{
		document.getElementById('divTexto').style.display = 'block';
		document.getElementById('Texto').style.display = 'none';
		document.getElementById('Fotos').style.display = 'none';
		document.getElementById('Video').style.display = 'block';
	}

}
