// JavaScript Document

function expandcollapse (postid) {    
whichpost = document.getElementById(postid);       
whichpost.className="visible";

if (postid=="ContTabul1") 
{       
whichpost = document.getElementById("ContTabul2");       
whichpost.className="invisible";
whichpost2 = document.getElementById("ContTabul3");       
whichpost2.className="invisible";
boton1 = document.getElementById("bt1");       
boton1.className="activo";
boton2 = document.getElementById("bt2");       
boton2.className="inactivo";
boton3 = document.getElementById("bt3");       
boton3.className="inactivo";

    }   
	else if (postid=="ContTabul2")
		{
		whichpost = document.getElementById("ContTabul1");       
		whichpost.className="invisible";
		whichpost2 = document.getElementById("ContTabul3");       
		whichpost2.className="invisible";
		boton2 = document.getElementById("bt2");       
		boton2.className="activo";
		boton1 = document.getElementById("bt1");       
		boton1.className="inactivo";
		boton3 = document.getElementById("bt3");       
		boton3.className="inactivo";
		}
		else
			{
			whichpost = document.getElementById("ContTabul1");       
			whichpost.className="invisible";
			whichpost2 = document.getElementById("ContTabul2");       
			whichpost2.className="invisible";
			boton2 = document.getElementById("bt3");       
			boton2.className="activo";
			boton2 = document.getElementById("bt2");       
			boton2.className="inactivo";
			boton1 = document.getElementById("bt1");       
			boton1.className="inactivo";	
			}

} 