er(":visible:enabled");

            var $focusableInputsCount = $focusableInputs.length;
            if ($focusableInputsCount == 0) {
                focusPrimaryButton();
            }
            else {
                $focusableInputs.first().focus();
            }
        }

        $(document).ready(function () {

            var $inputs = $('input:text,input:password,select');
            var $shouldFocusDefaultControl = (typeof (enableSetFocusOnPageLoad) == "undefined" || enableSetFoc