	jQuery(function(){
		jQuery("#bt-segmentos").click(function() { fechaOpcionais(); fechaSolado(); mostraSegmento(); }) // MOSTRA SEGMENTOS
		jQuery("#fecha-segmento").click(function() { fechaSegmento(); fechaOpcionais(); fechaSolado(); return false;}) // OCULTA SEGMENTOS
				
		jQuery("#bt-opcionais").click(function() { fechaSolado(); fechaSegmento(); mostraOpcionais(); }) // MOSTRA OPCIOANIS
		jQuery("#fecha-opcionais").click(function() { fechaOpcionais(); fechaSolado(); fechaSegmento(); return false;}) // OCULTA OPCIOANIS
		
		jQuery("#bt-solado").click(function() { fechaOpcionais(); fechaSegmento();  mostraSolado(); }) // MOSTRA SOLADO
		jQuery("#fecha-solado").click(function() { fechaSolado(); fechaOpcionais(); fechaSegmento(); return false;}) // OCULTA SOLADO

		function mostraSegmento(){
			jQuery("#bt-segmentos").html('<img src="images/bt-segmentos-br.gif" title="Segmentos" alt="Segmentos" border="0" style="cursor:pointer;" />');
			jQuery("#bt-segmentos").css("background-color","#FFFFFF");
			jQuery(".box-segmento").fadeIn();
     		jQuery(".box-segmento").css("display","block");	
		}
		
		function mostraOpcionais(){
			jQuery("#bt-opcionais").html('<img src="images/bt-opcionais-br.gif" title="Opcionais" alt="Opcionais" border="0" style="cursor:pointer;" />');
			jQuery("#bt-opcionais").css("background-color","#FFFFFF");
			jQuery(".box-opcionais").fadeIn();
     		jQuery(".box-opcionais").css("display","block");	
		}
		
		function mostraSolado(){
			jQuery("#bt-solado").html('<img src="images/bt-solados-br.gif" title="Solado" alt="Solado" border="0" style="cursor:pointer;" />');
			jQuery("#bt-solado").css("background-color","#FFFFFF");
			jQuery(".box-solado").fadeIn();
     		jQuery(".box-solado").css("display","block");	
		}
		
		function fechaSegmento(){
			jQuery(".box-segmento").css("display","none");
			jQuery("#bt-segmentos").css("background-color","");
			jQuery("#bt-segmentos").html('<img src="images/bt-segmentos.png" title="Segmentos" alt="Segmentos" border="0" style="cursor:pointer;" />');
		}
		
		function fechaOpcionais(){
			jQuery(".box-opcionais").css("display","none");
			jQuery("#bt-opcionais").css("background-color","");
			jQuery("#bt-opcionais").html('<img src="images/bt-opcionais.png" title="Opcionais" alt="Opcionais" border="0" style="cursor:pointer;" />');
		}
		
		function fechaSolado(){
			jQuery(".box-solado").css("display","none");
			jQuery("#bt-solado").css("background-color","");
			jQuery("#bt-solado").html('<img src="images/bt-solados.png" title="Solado" alt="Solado" border="0" style="cursor:pointer;" />');
		}
	})

