function (event) { DefaultButtonKeyPress(event); });

        $('Form1').submit(function (event) {
            submitButtonEvent();
            return false;
        });
    });

    function showHide(id, visible) {
        var elem = document.getElementById(id);
        if (visible) {
            elem.style.display = "";
        } else {
            elem.style.display = "none";
        }
    }

    function HideWarningMessage() {
        showHide("divWarningMsg", false);
    }

    fun