﻿// A small delay is needed because else focus will be called when the control is not rendedered yet.
setTimeout('FocusOnLogin();', 500);

function FocusOnLogin()
{
    try
    {
        var element = document.getElementById('txtLogin');
        element.focus();
    }
    catch (e) { }
}
