﻿function PonerFocoEnControl(NombreControl)
{
    try
    {
        // Busco el control
        var Control = document.getElementById(NombreControl);
        if (Control != null)
            // Le doy el foco al control.
            Control.focus();   
    }
    catch (Excepcion) {}
}
