          obj.style.visibility = "hidden";
        }
    </script>

    <script type="text/javascript" language="javascript">

        function focusPrimaryButton() {
            var $primaryButtons = $('.btns_pageActions a.primary').filter(":visible");

            if (($primaryButtons).length > 0) {
                $primaryButtons.last().focus();
            }
        }

        function focusDefaultPageControl($pageInputControls) {
            var $focusableInputs = $pageInputControls.filt