proceso2="";
on=1;
pid=0;

function mostrar(id)
{
	if(id==pid)
	{
	 if(proceso2)
 	 {clearInterval(proceso2);}	 
	}
	//document.getElementById("opc"+id).style.display="block";
	if(on!=0){
	Effect.BlindDown('opc'+id, { duration: 0.2 });
	on=0;}
	pid=id;
	}
	
function ocultar2(id)
{
	//document.getElementById("opc"+id).style.display="none";
	on=1;
	proceso2=Effect.BlindUp('opc'+id, { duration: 0.08 });
	if(id==2)
	{
	 document.getElementById('opc'+id).style.height = "270px";}
	if(id==3)
	{
	 document.getElementById('opc'+id).style.height = "170px";}
	if(id==4)
	{
	 document.getElementById('opc'+id).style.height = "170px";}
	}

	
function ocultar(id)
{
	proceso2=setTimeout("ocultar2("+id+")",50);
	}
