(function($){

	$.fn.loginMask = function() { 
        
        $(this).keypress(
            function (evt) {
                if (evt.ctrlKey && ((evt.which == 99) || (evt.which == 118))) {
                    evt.preventDefault();
                }

                if (evt.which > 13) {
                    if (String.fromCharCode(evt.which).match('[^0-9A-Za-z]')) {
                        evt.preventDefault();
                    }
                }
            }
        );

	};

})(jQuery);
