//cuerpo_informe_' . $tipo . '_' . $ano
function Informe() {}

Informe.activar = function( tipo, ano ) {
	if ( obj = document.getElementById( "informe_" + tipo + "_" + anoActual[tipo] ) ) {
		obj.style.minHeight = '0px';
		obj.style.height = '0px';
		document.getElementById( "vinculo_" + tipo + "_" + anoActual[tipo] ).className = "verdeIntermedio";
	}
	if ( obj = document.getElementById( "informe_" + tipo + "_" + ano ) ) {
		obj.style.height='';
		obj.style.minHeight = document.getElementById( "cuerpo_informe_" + tipo + "_" + ano ).offsetHeight + 'px';
		document.getElementById( "vinculo_" + tipo + "_" + ano ).className = "seleccionado";
	}
	tipoActual = tipo;
	anoActual[tipo] = ano;
}
