
function resalta_sec_txt(obj,acc)
{
	objeto=obj;
	if (acc=='true')
		{
		act = act + 1;
		if (act < step)
			{
			for (i=0;i<3;i++)
				{
				rgbact[i] = (act * dif[i]) + rgbini[i];
				}
			objeto.style.color = Hexa(Math.round(rgbact[0])) + Hexa(Math.round(rgbact[1])) + Hexa(Math.round(rgbact[2]));				
			if (reloj != -1)
				{
				clearTimeout(reloj);
				}
			reloj=setTimeout("resalta_sec_txt(objeto,'true');",50);
			}
		}
	else
		{
		if (act!=0)
			{
			act=0;
			if (reloj != -1)
				{
				clearTimeout(reloj);
				}
			reloj=setTimeout("resalta_sec_txt(objeto,'false');",50);
			objeto.style.color = "#FFFFFF";
			}
		}
}
function resalta_sec(obj,color)
{
	document.getElementById('sec_'+obj).style.background="#"+color;
	document.getElementById('secbs_'+obj).style.background="#"+color;
	document.getElementById('secbi_'+obj).style.background="#"+color;
}

function abrepagina(obj)
{
	document.getElementById('menu_'+obj).submit();
}

