function autoCompletar(txt, proc, div)
{
	var textoBuscar = txt.value;
	if (textoBuscar.length >= 3)
		ejecutar('autoCompletar', ['proc', 'texto'], [proc, textoBuscar], div);
	
}

function setTextoAuto(valor, idtxt)
{
	if(valor.length > 0)
	{
		var txt = document.getElementById(idtxt);
		txt.value = valor;
	}
	
}


