function memu_mostra(linha, linha_titulo){
	var elem = document.getElementById(linha);
	elem.style.display = 'block';
	var elem = document.getElementById(linha_titulo);
	elem.style.backgroundColor = '#EEF3FA';	
	elem.style.fontWeight = 'bold';
}

function memu_mostra2(linha_titulo){
	var elem = document.getElementById(linha_titulo);
	elem.style.backgroundColor = '#EEF3FA';	
	elem.style.fontWeight = 'bold';
}

function memu_apaga(num_linhas,num_linhas2){
	for(i=1; i <= num_linhas; i++){
		var linha = 'lin_'+i;
		var elem = document.getElementById(linha);
		elem.style.display = 'none';
	}
	for(i=1; i <= num_linhas2; i++){
		var linha_t = 'lin_titulo'+i;
		var elem = document.getElementById(linha_t);
		elem.style.backgroundColor = '#FFFFFF';	
		elem.style.fontWeight = 'normal';		
	}
}

function subMenu(id){
  if (document.getElementById(id).style.display == 'none') {
	document.getElementById(id).style.display = 'inline';
  } else {
	document.getElementById(id).style.display = 'none';
  }
}

function over(id){
  document.getElementById(id).className = 'mouseOver';
}

function out(id){
  document.getElementById(id).className = 'mouseOut';
}


function filtroLayout(combo){
  document.location.href=combo[combo.selectedIndex].value;
}
