// JavaScript Document

function botonswap(boton,status)
{
	if(status=='on')
	{
		boton.setAttribute("class","redondo botonactivo");
	}
	else
	{
		boton.setAttribute("class","redondo botoninactivo");
	}
}

function boton_onoff(boton,status)
{
		if(status=='on')
		{
			boton.src=boton.src.replace('_off','_on');
		}
		else
		{
			boton.src=boton.src.replace('_on','_off');
		}
}
