// JavaScript Document
function escondeTudo()
{
	table = document.getElementById('tabela');
	table.rows[1].style.display='none'
	table.rows[4].style.display='none'
	table.rows[7].style.display='none'
	
}

function escondeTudo2()
{
	table3 = document.getElementById('tabela3');
	table3.rows[1].style.display='none'
	table3.rows[4].style.display='none'
	table3.rows[7].style.display='none'
	table3.rows[10].style.display='none'
	table3.rows[13].style.display='none'
	table3.rows[16].style.display='none'
}
	
	function escondeTudo3()
{
		
	table2 = document.getElementById('tabela2');
	table2.rows[1].style.display='none'
	table2.rows[4].style.display='none'
	table2.rows[7].style.display='none'
	table2.rows[10].style.display='none'
	
	}

function funcao01()
{
	table = document.getElementById('tabela');
	if(table.rows[1].style.display == 'none')
	{
		table.rows[1].style.display='';
	}
	else
	{
		table.rows[1].style.display='none'
	}
}

function funcao02()
{
	table = document.getElementById('tabela');
	if(table.rows[4].style.display == 'none')
	{
		table.rows[4].style.display='';
	}
	else
	{
		table.rows[4].style.display='none'
	}
}

function funcao03()
{
	table = document.getElementById('tabela');
	if(table.rows[7].style.display == 'none')
	{
		table.rows[7].style.display='';
	}
	else
	{
		table.rows[7].style.display='none'
	}
}

//tabela 2
function funcao04()
{
	table = document.getElementById('tabela2');
	if(table.rows[1].style.display == 'none')
	{
		table.rows[1].style.display='';
	}
	else
	{
		table.rows[1].style.display='none'
	}
}

function funcao05()
{
	table = document.getElementById('tabela2');
	if(table.rows[4].style.display == 'none')
	{
		table.rows[4].style.display='';
	}
	else
	{
		table.rows[4].style.display='none'
	}
}

function funcao06()
{
	table = document.getElementById('tabela2');
	if(table.rows[7].style.display == 'none')
	{
		table.rows[7].style.display='';
	}
	else
	{
		table.rows[7].style.display='none'
	}
}

function funcao07()
{
	table = document.getElementById('tabela2');
	if(table.rows[10].style.display == 'none')
	{
		table.rows[10].style.display='';
	}
	else
	{
		table.rows[10].style.display='none'
	}
}

//tabela 3
function funcao08()
{
	table = document.getElementById('tabela3');
	if(table.rows[1].style.display == 'none')
	{
		table.rows[1].style.display='';
	}
	else
	{
		table.rows[1].style.display='none'
	}
}

function funcao09()
{
	table = document.getElementById('tabela3');
	if(table.rows[4].style.display == 'none')
	{
		table.rows[4].style.display='';
	}
	else
	{
		table.rows[4].style.display='none'
	}
}

function funcao10()
{
	table = document.getElementById('tabela3');
	if(table.rows[7].style.display == 'none')
	{
		table.rows[7].style.display='';
	}
	else
	{
		table.rows[7].style.display='none'
	}
}

function funcao11()
{
	table = document.getElementById('tabela3');
	if(table.rows[10].style.display == 'none')
	{
		table.rows[10].style.display='';
	}
	else
	{
		table.rows[10].style.display='none'
	}
}

function funcao12()
{
	table = document.getElementById('tabela3');
	if(table.rows[13].style.display == 'none')
	{
		table.rows[13].style.display='';
	}
	else
	{
		table.rows[13].style.display='none'
	}
}

function funcao13()
{
	table = document.getElementById('tabela3');
	if(table.rows[16].style.display == 'none')
	{
		table.rows[16].style.display='';
	}
	else
	{
		table.rows[16].style.display='none'
	}
}
