var strFirstName     = 'Vorname';
var strLastName     = 'Nachname';

jQuery(function($) {
    $('#loginForm').submit(function() {
        var thisForm = new formChecker('loginForm');
        if(thisForm.checkEmail('loginFormEmail')) {
            return true;
        }
        return false;
    });
    
    $('#registerForm').submit(function() {
        var thisForm = new formChecker('registerForm');
        if(thisForm.checkInputSize('firstName',strFirstName,3,30) && thisForm.checkInputSize('lastName',strLastName,3,30) && thisForm.checkEmail('email')) {
            return true;
        }
        return false;
    });
});
