// Efectos varios

//funcion cambiar estilo de celda
function celda_estilo(tablaId,filaNumero,celdaNumero,estilo){
	document.getElementById(tablaId).rows[filaNumero].cells[celdaNumero].className=estilo
}
// funcion abrir nueva ventana (usada por contacto.html)
function abrir_ventana(direccion,ventana,opciones) {
  window.open(direccion,ventana,opciones);
}
function mostrar_ocultar(objeto,boton) {
	var fila = document.getElementById(objeto);
	switch (fila.style.display) {
	case "none":
		fila.style.display = "block";
		boton.src = "../imagenes/m_02.gif";
		break
	case "block":
		fila.style.display = "none";
		boton.src = "../imagenes/m_01.gif";
		break
	}
}