function esquema (Id)
{    
    if (Id=='pastilla_1')
    {
        document.getElementById('cuadro_2').style.display='none';
        document.getElementById('pastilla_2').style.backgroundImage='url("./images/pastilla_1.gif")';              
        
        if (document.getElementById('cuadro_1').style.display=='none')
        {
            document.getElementById('cuadro_1').style.display='';   
			document.getElementById('pastilla_1').style.backgroundImage='url("images/pastilla_2.gif")';			
        }
        else
        {
            document.getElementById('cuadro_1').style.display='none';   
			document.getElementById('pastilla_1').style.backgroundImage='url("images/pastilla_1.gif")';	
        }		
    }
    else if (Id=='pastilla_2')
    {
        document.getElementById('cuadro_1').style.display='none';
        document.getElementById('pastilla_1').style.backgroundImage='url("images/pastilla_1.gif")';        
        
        if (document.getElementById('cuadro_2').style.display=='none')
        {
            document.getElementById('cuadro_2').style.display='';   
			document.getElementById('pastilla_2').style.backgroundImage='url("images/pastilla_2.gif")';			
        }
        else
        {
            document.getElementById('cuadro_2').style.display='none';   
			document.getElementById('pastilla_2').style.backgroundImage='url("images/pastilla_1.gif")';	
        }	
    }
}

