﻿// Función que conmita la visibilidad de un contenedor
function toggleVisibility(aId, divId) {
	
	theDiv = document.getElementById(divId);	
	theANode = document.getElementById(aId).childNodes[0];	
	
	if(theDiv.style.display == 'none') {
		theDiv.style.display = '';
		theANode.nodeValue = "[-] ocultar el resto del comentario";
	} else {
		theDiv.style.display = 'none';
		theANode.nodeValue = "[+] ver todo el comentario";
	}
}