$(document).ready(function() { var helyes = 0; var hibas = 0; var pontszam = 0; var ido = 150; var focusItem = null; $('input[type=text], textarea').focus( function() { focusItem = this; }); $('#cs1a0').attr('disabled', false).focus(); $('#goa0').addClass('point').attr('disabled', false); $('#csehabc0').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'á'); });$('#csehabc1').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'č'); });$('#csehabc2').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ď'); });$('#csehabc3').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'é'); });$('#csehabc4').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ě'); });$('#csehabc5').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'í'); });$('#csehabc6').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ň'); });$('#csehabc7').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ó'); });$('#csehabc8').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ř'); });$('#csehabc9').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'š'); });$('#csehabc10').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ť'); });$('#csehabc11').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ú'); });$('#csehabc12').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ů'); });$('#csehabc13').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ý'); });$('#csehabc14').click(function() { abc = $(focusItem).val(); $(focusItem).focus().val(abc + 'ž'); }); $('#goa0').click(function() { $('#vala0').hide(); $('#cs1a0x').hide(); cs1a0n = $( "input[name='kutya']:checked" ).val(); if ( cs1a0n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala0').text('Névelő?').show('slow'); } cs1a0 = $('#cs1a0').val().toLowerCase(); if ( cs1a0 == '' ) { $('#vala0').text('Üres?').show('slow'); $('#cs1a0').focus(); } else if ((cs1a0 =='pes') && (cs1a0n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a0v').show('slow'); $('#vala0').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a0').attr('disabled', true); $('#cs1a1').attr('disabled', false).focus(); $('#goa0').hide(); $('#goa1').addClass('point').attr('disabled', false); } else if (cs1a0 =='pes') { helyes ++; pontszam = helyes - hibas; $('#cs1a0v').show('slow'); $('#vala0').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a0').attr('disabled', true); $('#cs1a1').attr('disabled', false).focus(); $('#goa0').hide(); $('#goa1').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a0x').show('slow'); $('#vala0').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a0').focus(); } }); $('#goa1').click(function() { $('#vala1').hide(); $('#cs1a1x').hide(); cs1a1n = $( "input[name='tea']:checked" ).val(); if ( cs1a1n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala1').text('Névelő?').show('slow'); } cs1a1 = $('#cs1a1').val().toLowerCase(); if ( cs1a1 == '' ) { $('#vala1').text('Üres?').show('slow'); $('#cs1a1').focus(); } else if ((cs1a1 =='čaj') && (cs1a1n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a1v').show('slow'); $('#vala1').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a1').attr('disabled', true); $('#cs1a2').attr('disabled', false).focus(); $('#goa1').hide(); $('#goa2').addClass('point').attr('disabled', false); } else if (cs1a1 =='čaj') { helyes ++; pontszam = helyes - hibas; $('#cs1a1v').show('slow'); $('#vala1').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a1').attr('disabled', true); $('#cs1a2').attr('disabled', false).focus(); $('#goa1').hide(); $('#goa2').addClass('point').attr('disabled', false); } else if ((cs1a1 =='caj') && (cs1a1n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a1v').show('slow'); $('#vala1').text('čaj!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a1').attr('disabled', true); $('#cs1a2').attr('disabled', false).focus(); $('#goa1').hide(); $('#goa2').addClass('point').attr('disabled', false); } else if (cs1a1 =='caj') { helyes ++; pontszam = helyes - hibas; $('#cs1a1v').show('slow'); $('#vala1').text('Helyesen čaj és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a1').attr('disabled', true); $('#cs1a2').attr('disabled', false).focus(); $('#goa1').hide(); $('#goa2').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a1x').show('slow'); $('#vala1').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a1').focus(); } }); $('#goa2').click(function() { $('#vala2').hide(); $('#cs1a2x').hide(); cs1a2n = $( "input[name='asztal']:checked" ).val(); if ( cs1a2n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala2').text('Névelő?').show('slow'); } cs1a2 = $('#cs1a2').val().toLowerCase(); if ( cs1a2 == '' ) { $('#vala2').text('Üres?').show('slow'); $('#cs1a2').focus(); } else if ((cs1a2 =='stůl') && (cs1a2n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a2v').show('slow'); $('#vala2').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a2').attr('disabled', true); $('#cs1a3').attr('disabled', false).focus(); $('#goa2').hide(); $('#goa3').addClass('point').attr('disabled', false); } else if (cs1a2 =='stůl') { helyes ++; pontszam = helyes - hibas; $('#cs1a2v').show('slow'); $('#vala2').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a2').attr('disabled', true); $('#cs1a3').attr('disabled', false).focus(); $('#goa2').hide(); $('#goa3').addClass('point').attr('disabled', false); } else if ((cs1a2 =='stul') && (cs1a2n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a2v').show('slow'); $('#vala2').text('stůl!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a2').attr('disabled', true); $('#cs1a3').attr('disabled', false).focus(); $('#goa2').hide(); $('#goa3').addClass('point').attr('disabled', false); } else if (cs1a2 =='stul') { helyes ++; pontszam = helyes - hibas; $('#cs1a2v').show('slow'); $('#vala2').text('Helyesen stůl és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a2').attr('disabled', true); $('#cs1a3').attr('disabled', false).focus(); $('#goa2').hide(); $('#goa3').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a2x').show('slow'); $('#vala2').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a2').focus(); } }); $('#goa3').click(function() { $('#vala3').hide(); $('#cs1a3x').hide(); cs1a3n = $( "input[name='no']:checked" ).val(); if ( cs1a3n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala3').text('Névelő?').show('slow'); } cs1a3 = $('#cs1a3').val().toLowerCase(); if ( cs1a3 == '' ) { $('#vala3').text('Üres?').show('slow'); $('#cs1a3').focus(); } else if ((cs1a3 =='žena') && (cs1a3n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a3v').show('slow'); $('#vala3').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a3').attr('disabled', true); $('#cs1a4').attr('disabled', false).focus(); $('#goa3').hide(); $('#goa4').addClass('point').attr('disabled', false); } else if (cs1a3 =='žena') { helyes ++; pontszam = helyes - hibas; $('#cs1a3v').show('slow'); $('#vala3').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a3').attr('disabled', true); $('#cs1a4').attr('disabled', false).focus(); $('#goa3').hide(); $('#goa4').addClass('point').attr('disabled', false); } else if ((cs1a3 =='zena') && (cs1a3n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a3v').show('slow'); $('#vala3').text('žena!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a3').attr('disabled', true); $('#cs1a4').attr('disabled', false).focus(); $('#goa3').hide(); $('#goa4').addClass('point').attr('disabled', false); } else if (cs1a3 =='zena') { helyes ++; pontszam = helyes - hibas; $('#cs1a3v').show('slow'); $('#vala3').text('Helyesen žena és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a3').attr('disabled', true); $('#cs1a4').attr('disabled', false).focus(); $('#goa3').hide(); $('#goa4').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a3x').show('slow'); $('#vala3').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a3').focus(); } }); $('#goa4').click(function() { $('#vala4').hide(); $('#cs1a4x').hide(); cs1a4n = $( "input[name='madar']:checked" ).val(); if ( cs1a4n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala4').text('Névelő?').show('slow'); } cs1a4 = $('#cs1a4').val().toLowerCase(); if ( cs1a4 == '' ) { $('#vala4').text('Üres?').show('slow'); $('#cs1a4').focus(); } else if ((cs1a4 =='pták') && (cs1a4n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a4v').show('slow'); $('#vala4').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a4').attr('disabled', true); $('#cs1a5').attr('disabled', false).focus(); $('#goa4').hide(); $('#goa5').addClass('point').attr('disabled', false); } else if (cs1a4 =='pták') { helyes ++; pontszam = helyes - hibas; $('#cs1a4v').show('slow'); $('#vala4').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a4').attr('disabled', true); $('#cs1a5').attr('disabled', false).focus(); $('#goa4').hide(); $('#goa5').addClass('point').attr('disabled', false); } else if ((cs1a4 =='ptak') && (cs1a4n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a4v').show('slow'); $('#vala4').text('pták!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a4').attr('disabled', true); $('#cs1a5').attr('disabled', false).focus(); $('#goa4').hide(); $('#goa5').addClass('point').attr('disabled', false); } else if (cs1a4 =='ptak') { helyes ++; pontszam = helyes - hibas; $('#cs1a4v').show('slow'); $('#vala4').text('Helyesen pták és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a4').attr('disabled', true); $('#cs1a5').attr('disabled', false).focus(); $('#goa4').hide(); $('#goa5').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a4x').show('slow'); $('#vala4').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a4').focus(); } }); $('#goa5').click(function() { $('#vala5').hide(); $('#cs1a5x').hide(); cs1a5n = $( "input[name='agy']:checked" ).val(); if ( cs1a5n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala5').text('Névelő?').show('slow'); } cs1a5 = $('#cs1a5').val().toLowerCase(); if ( cs1a5 == '' ) { $('#vala5').text('Üres?').show('slow'); $('#cs1a5').focus(); } else if ((cs1a5 =='postel') && (cs1a5n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a5v').show('slow'); $('#vala5').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a5').attr('disabled', true); $('#cs1a6').attr('disabled', false).focus(); $('#goa5').hide(); $('#goa6').addClass('point').attr('disabled', false); } else if (cs1a5 =='postel') { helyes ++; pontszam = helyes - hibas; $('#cs1a5v').show('slow'); $('#vala5').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a5').attr('disabled', true); $('#cs1a6').attr('disabled', false).focus(); $('#goa5').hide(); $('#goa6').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a5x').show('slow'); $('#vala5').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a5').focus(); } }); $('#goa6').click(function() { $('#vala6').hide(); $('#cs1a6x').hide(); cs1a6n = $( "input[name='konyv']:checked" ).val(); if ( cs1a6n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala6').text('Névelő?').show('slow'); } cs1a6 = $('#cs1a6').val().toLowerCase(); if ( cs1a6 == '' ) { $('#vala6').text('Üres?').show('slow'); $('#cs1a6').focus(); } else if ((cs1a6 =='kniha') && (cs1a6n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a6v').show('slow'); $('#vala6').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a6').attr('disabled', true); $('#cs1a7').attr('disabled', false).focus(); $('#goa6').hide(); $('#goa7').addClass('point').attr('disabled', false); } else if (cs1a6 =='kniha') { helyes ++; pontszam = helyes - hibas; $('#cs1a6v').show('slow'); $('#vala6').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a6').attr('disabled', true); $('#cs1a7').attr('disabled', false).focus(); $('#goa6').hide(); $('#goa7').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a6x').show('slow'); $('#vala6').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a6').focus(); } }); $('#goa7').click(function() { $('#vala7').hide(); $('#cs1a7x').hide(); cs1a7n = $( "input[name='auto']:checked" ).val(); if ( cs1a7n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala7').text('Névelő?').show('slow'); } cs1a7 = $('#cs1a7').val().toLowerCase(); if ( cs1a7 == '' ) { $('#vala7').text('Üres?').show('slow'); $('#cs1a7').focus(); } else if ((cs1a7 =='auto') && (cs1a7n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a7v').show('slow'); $('#vala7').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a7').attr('disabled', true); $('#cs1a8').attr('disabled', false).focus(); $('#goa7').hide(); $('#goa8').addClass('point').attr('disabled', false); } else if (cs1a7 =='auto') { helyes ++; pontszam = helyes - hibas; $('#cs1a7v').show('slow'); $('#vala7').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a7').attr('disabled', true); $('#cs1a8').attr('disabled', false).focus(); $('#goa7').hide(); $('#goa8').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a7x').show('slow'); $('#vala7').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a7').focus(); } }); $('#goa8').click(function() { $('#vala8').hide(); $('#cs1a8x').hide(); cs1a8n = $( "input[name='haz']:checked" ).val(); if ( cs1a8n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala8').text('Névelő?').show('slow'); } cs1a8 = $('#cs1a8').val().toLowerCase(); if ( cs1a8 == '' ) { $('#vala8').text('Üres?').show('slow'); $('#cs1a8').focus(); } else if ((cs1a8 =='dům') && (cs1a8n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a8v').show('slow'); $('#vala8').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a8').attr('disabled', true); $('#cs1a9').attr('disabled', false).focus(); $('#goa8').hide(); $('#goa9').addClass('point').attr('disabled', false); } else if (cs1a8 =='dům') { helyes ++; pontszam = helyes - hibas; $('#cs1a8v').show('slow'); $('#vala8').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a8').attr('disabled', true); $('#cs1a9').attr('disabled', false).focus(); $('#goa8').hide(); $('#goa9').addClass('point').attr('disabled', false); } else if ((cs1a8 =='dum') && (cs1a8n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a8v').show('slow'); $('#vala8').text('dům!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a8').attr('disabled', true); $('#cs1a9').attr('disabled', false).focus(); $('#goa8').hide(); $('#goa9').addClass('point').attr('disabled', false); } else if (cs1a8 =='dum') { helyes ++; pontszam = helyes - hibas; $('#cs1a8v').show('slow'); $('#vala8').text('Helyesen dům és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a8').attr('disabled', true); $('#cs1a9').attr('disabled', false).focus(); $('#goa8').hide(); $('#goa9').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a8x').show('slow'); $('#vala8').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a8').focus(); } }); $('#goa9').click(function() { $('#vala9').hide(); $('#cs1a9x').hide(); cs1a9n = $( "input[name='tej']:checked" ).val(); if ( cs1a9n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala9').text('Névelő?').show('slow'); } cs1a9 = $('#cs1a9').val().toLowerCase(); if ( cs1a9 == '' ) { $('#vala9').text('Üres?').show('slow'); $('#cs1a9').focus(); } else if ((cs1a9 =='mléko') && (cs1a9n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a9v').show('slow'); $('#vala9').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a9').attr('disabled', true); $('#cs1a10').attr('disabled', false).focus(); $('#goa9').hide(); $('#goa10').addClass('point').attr('disabled', false); } else if (cs1a9 =='mléko') { helyes ++; pontszam = helyes - hibas; $('#cs1a9v').show('slow'); $('#vala9').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a9').attr('disabled', true); $('#cs1a10').attr('disabled', false).focus(); $('#goa9').hide(); $('#goa10').addClass('point').attr('disabled', false); } else if ((cs1a9 =='mleko') && (cs1a9n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a9v').show('slow'); $('#vala9').text('mléko!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a9').attr('disabled', true); $('#cs1a10').attr('disabled', false).focus(); $('#goa9').hide(); $('#goa10').addClass('point').attr('disabled', false); } else if (cs1a9 =='mleko') { helyes ++; pontszam = helyes - hibas; $('#cs1a9v').show('slow'); $('#vala9').text('Helyesen mléko és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a9').attr('disabled', true); $('#cs1a10').attr('disabled', false).focus(); $('#goa9').hide(); $('#goa10').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a9x').show('slow'); $('#vala9').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a9').focus(); } }); $('#goa10').click(function() { $('#vala10').hide(); $('#cs1a10x').hide(); cs1a10n = $( "input[name='virag']:checked" ).val(); if ( cs1a10n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala10').text('Névelő?').show('slow'); } cs1a10 = $('#cs1a10').val().toLowerCase(); if ( cs1a10 == '' ) { $('#vala10').text('Üres?').show('slow'); $('#cs1a10').focus(); } else if ((cs1a10 =='květina') && (cs1a10n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a10v').show('slow'); $('#vala10').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a10').attr('disabled', true); $('#cs1a11').attr('disabled', false).focus(); $('#goa10').hide(); $('#goa11').addClass('point').attr('disabled', false); } else if (cs1a10 =='květina') { helyes ++; pontszam = helyes - hibas; $('#cs1a10v').show('slow'); $('#vala10').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a10').attr('disabled', true); $('#cs1a11').attr('disabled', false).focus(); $('#goa10').hide(); $('#goa11').addClass('point').attr('disabled', false); } else if ((cs1a10 =='kvetina') && (cs1a10n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a10v').show('slow'); $('#vala10').text('květina!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a10').attr('disabled', true); $('#cs1a11').attr('disabled', false).focus(); $('#goa10').hide(); $('#goa11').addClass('point').attr('disabled', false); } else if (cs1a10 =='kvetina') { helyes ++; pontszam = helyes - hibas; $('#cs1a10v').show('slow'); $('#vala10').text('Helyesen květina és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a10').attr('disabled', true); $('#cs1a11').attr('disabled', false).focus(); $('#goa10').hide(); $('#goa11').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a10x').show('slow'); $('#vala10').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a10').focus(); } }); $('#goa11').click(function() { $('#vala11').hide(); $('#cs1a11x').hide(); cs1a11n = $( "input[name='szek']:checked" ).val(); if ( cs1a11n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala11').text('Névelő?').show('slow'); } cs1a11 = $('#cs1a11').val().toLowerCase(); if ( cs1a11 == '' ) { $('#vala11').text('Üres?').show('slow'); $('#cs1a11').focus(); } else if ((cs1a11 =='židle') && (cs1a11n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a11v').show('slow'); $('#vala11').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a11').attr('disabled', true); $('#cs1a12').attr('disabled', false).focus(); $('#goa11').hide(); $('#goa12').addClass('point').attr('disabled', false); } else if (cs1a11 =='židle') { helyes ++; pontszam = helyes - hibas; $('#cs1a11v').show('slow'); $('#vala11').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a11').attr('disabled', true); $('#cs1a12').attr('disabled', false).focus(); $('#goa11').hide(); $('#goa12').addClass('point').attr('disabled', false); } else if ((cs1a11 =='zidle') && (cs1a11n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a11v').show('slow'); $('#vala11').text('židle!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a11').attr('disabled', true); $('#cs1a12').attr('disabled', false).focus(); $('#goa11').hide(); $('#goa12').addClass('point').attr('disabled', false); } else if (cs1a11 =='zidle') { helyes ++; pontszam = helyes - hibas; $('#cs1a11v').show('slow'); $('#vala11').text('Helyesen židle és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a11').attr('disabled', true); $('#cs1a12').attr('disabled', false).focus(); $('#goa11').hide(); $('#goa12').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a11x').show('slow'); $('#vala11').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a11').focus(); } }); $('#goa12').click(function() { $('#vala12').hide(); $('#cs1a12x').hide(); cs1a12n = $( "input[name='fa']:checked" ).val(); if ( cs1a12n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala12').text('Névelő?').show('slow'); } cs1a12 = $('#cs1a12').val().toLowerCase(); if ( cs1a12 == '' ) { $('#vala12').text('Üres?').show('slow'); $('#cs1a12').focus(); } else if ((cs1a12 =='strom') && (cs1a12n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a12v').show('slow'); $('#vala12').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a12').attr('disabled', true); $('#cs1a13').attr('disabled', false).focus(); $('#goa12').hide(); $('#goa13').addClass('point').attr('disabled', false); } else if (cs1a12 =='strom') { helyes ++; pontszam = helyes - hibas; $('#cs1a12v').show('slow'); $('#vala12').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a12').attr('disabled', true); $('#cs1a13').attr('disabled', false).focus(); $('#goa12').hide(); $('#goa13').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a12x').show('slow'); $('#vala12').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a12').focus(); } }); $('#goa13').click(function() { $('#vala13').hide(); $('#cs1a13x').hide(); cs1a13n = $( "input[name='ablak']:checked" ).val(); if ( cs1a13n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala13').text('Névelő?').show('slow'); } cs1a13 = $('#cs1a13').val().toLowerCase(); if ( cs1a13 == '' ) { $('#vala13').text('Üres?').show('slow'); $('#cs1a13').focus(); } else if ((cs1a13 =='okno') && (cs1a13n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a13v').show('slow'); $('#vala13').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a13').attr('disabled', true); $('#cs1a14').attr('disabled', false).focus(); $('#goa13').hide(); $('#goa14').addClass('point').attr('disabled', false); } else if (cs1a13 =='okno') { helyes ++; pontszam = helyes - hibas; $('#cs1a13v').show('slow'); $('#vala13').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a13').attr('disabled', true); $('#cs1a14').attr('disabled', false).focus(); $('#goa13').hide(); $('#goa14').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a13x').show('slow'); $('#vala13').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a13').focus(); } }); $('#goa14').click(function() { $('#vala14').hide(); $('#cs1a14x').hide(); cs1a14n = $( "input[name='ferfi']:checked" ).val(); if ( cs1a14n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala14').text('Névelő?').show('slow'); } cs1a14 = $('#cs1a14').val().toLowerCase(); if ( cs1a14 == '' ) { $('#vala14').text('Üres?').show('slow'); $('#cs1a14').focus(); } else if ((cs1a14 =='muž') && (cs1a14n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a14v').show('slow'); $('#vala14').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a14').attr('disabled', true); $('#cs1a15').attr('disabled', false).focus(); $('#goa14').hide(); $('#goa15').addClass('point').attr('disabled', false); } else if (cs1a14 =='muž') { helyes ++; pontszam = helyes - hibas; $('#cs1a14v').show('slow'); $('#vala14').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a14').attr('disabled', true); $('#cs1a15').attr('disabled', false).focus(); $('#goa14').hide(); $('#goa15').addClass('point').attr('disabled', false); } else if ((cs1a14 =='muz') && (cs1a14n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a14v').show('slow'); $('#vala14').text('muž!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a14').attr('disabled', true); $('#cs1a15').attr('disabled', false).focus(); $('#goa14').hide(); $('#goa15').addClass('point').attr('disabled', false); } else if (cs1a14 =='muz') { helyes ++; pontszam = helyes - hibas; $('#cs1a14v').show('slow'); $('#vala14').text('Helyesen muž és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a14').attr('disabled', true); $('#cs1a15').attr('disabled', false).focus(); $('#goa14').hide(); $('#goa15').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a14x').show('slow'); $('#vala14').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a14').focus(); } }); $('#goa15').click(function() { $('#vala15').hide(); $('#cs1a15x').hide(); cs1a15n = $( "input[name='busz']:checked" ).val(); if ( cs1a15n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala15').text('Névelő?').show('slow'); } cs1a15 = $('#cs1a15').val().toLowerCase(); if ( cs1a15 == '' ) { $('#vala15').text('Üres?').show('slow'); $('#cs1a15').focus(); } else if ((cs1a15 =='bus') && (cs1a15n == 'masc')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a15v').show('slow'); $('#vala15').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a15').attr('disabled', true); $('#cs1a16').attr('disabled', false).focus(); $('#goa15').hide(); $('#goa16').addClass('point').attr('disabled', false); } else if (cs1a15 =='bus') { helyes ++; pontszam = helyes - hibas; $('#cs1a15v').show('slow'); $('#vala15').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a15').attr('disabled', true); $('#cs1a16').attr('disabled', false).focus(); $('#goa15').hide(); $('#goa16').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a15x').show('slow'); $('#vala15').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a15').focus(); } }); $('#goa16').click(function() { $('#vala16').hide(); $('#cs1a16x').hide(); cs1a16n = $( "input[name='macska']:checked" ).val(); if ( cs1a16n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala16').text('Névelő?').show('slow'); } cs1a16 = $('#cs1a16').val().toLowerCase(); if ( cs1a16 == '' ) { $('#vala16').text('Üres?').show('slow'); $('#cs1a16').focus(); } else if ((cs1a16 =='kočka') && (cs1a16n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a16v').show('slow'); $('#vala16').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a16').attr('disabled', true); $('#cs1a17').attr('disabled', false).focus(); $('#goa16').hide(); $('#goa17').addClass('point').attr('disabled', false); } else if (cs1a16 =='kočka') { helyes ++; pontszam = helyes - hibas; $('#cs1a16v').show('slow'); $('#vala16').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a16').attr('disabled', true); $('#cs1a17').attr('disabled', false).focus(); $('#goa16').hide(); $('#goa17').addClass('point').attr('disabled', false); } else if ((cs1a16 =='kocka') && (cs1a16n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a16v').show('slow'); $('#vala16').text('kočka!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a16').attr('disabled', true); $('#cs1a17').attr('disabled', false).focus(); $('#goa16').hide(); $('#goa17').addClass('point').attr('disabled', false); } else if (cs1a16 =='kocka') { helyes ++; pontszam = helyes - hibas; $('#cs1a16v').show('slow'); $('#vala16').text('Helyesen kočka és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a16').attr('disabled', true); $('#cs1a17').attr('disabled', false).focus(); $('#goa16').hide(); $('#goa17').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a16x').show('slow'); $('#vala16').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a16').focus(); } }); $('#goa17').click(function() { $('#vala17').hide(); $('#cs1a17x').hide(); cs1a17n = $( "input[name='baba']:checked" ).val(); if ( cs1a17n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala17').text('Névelő?').show('slow'); } cs1a17 = $('#cs1a17').val().toLowerCase(); if ( cs1a17 == '' ) { $('#vala17').text('Üres?').show('slow'); $('#cs1a17').focus(); } else if ((cs1a17 =='dítě') && (cs1a17n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if (cs1a17 =='dítě') { helyes ++; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if ((cs1a17 =='díte') && (cs1a17n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('dítě!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if (cs1a17 =='díte') { helyes ++; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('Helyesen dítě és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if ((cs1a17 =='ditě') && (cs1a17n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('dítě!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if (cs1a17 =='ditě') { helyes ++; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('Helyesen dítě és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if ((cs1a17 =='dite') && (cs1a17n == 'neut')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('dítě!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else if (cs1a17 =='dite') { helyes ++; pontszam = helyes - hibas; $('#cs1a17v').show('slow'); $('#vala17').text('Helyesen dítě és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a17').attr('disabled', true); $('#cs1a18').attr('disabled', false).focus(); $('#goa17').hide(); $('#goa18').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a17x').show('slow'); $('#vala17').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a17').focus(); } }); $('#goa18').click(function() { $('#vala18').hide(); $('#cs1a18x').hide(); cs1a18n = $( "input[name='kave']:checked" ).val(); if ( cs1a18n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala18').text('Névelő?').show('slow'); } cs1a18 = $('#cs1a18').val().toLowerCase(); if ( cs1a18 == '' ) { $('#vala18').text('Üres?').show('slow'); $('#cs1a18').focus(); } else if ((cs1a18 =='káva') && (cs1a18n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a18v').show('slow'); $('#vala18').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a18').attr('disabled', true); $('#cs1a19').attr('disabled', false).focus(); $('#goa18').hide(); $('#goa19').addClass('point').attr('disabled', false); } else if (cs1a18 =='káva') { helyes ++; pontszam = helyes - hibas; $('#cs1a18v').show('slow'); $('#vala18').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a18').attr('disabled', true); $('#cs1a19').attr('disabled', false).focus(); $('#goa18').hide(); $('#goa19').addClass('point').attr('disabled', false); } else if ((cs1a18 =='kava') && (cs1a18n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a18v').show('slow'); $('#vala18').text('káva!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a18').attr('disabled', true); $('#cs1a19').attr('disabled', false).focus(); $('#goa18').hide(); $('#goa19').addClass('point').attr('disabled', false); } else if (cs1a18 =='kava') { helyes ++; pontszam = helyes - hibas; $('#cs1a18v').show('slow'); $('#vala18').text('Helyesen káva és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a18').attr('disabled', true); $('#cs1a19').attr('disabled', false).focus(); $('#goa18').hide(); $('#goa19').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a18x').show('slow'); $('#vala18').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a18').focus(); } }); $('#goa19').click(function() { $('#vala19').hide(); $('#cs1a19x').hide(); cs1a19n = $( "input[name='hal']:checked" ).val(); if ( cs1a19n == 'ures' ) { alert ('Legalább tippeld meg a névelőt, az első feladatban még nem jár érte pontlevonás...'); $('#vala19').text('Névelő?').show('slow'); } cs1a19 = $('#cs1a19').val().toLowerCase(); if ( cs1a19 == '' ) { $('#vala19').text('Üres?').show('slow'); $('#cs1a19').focus(); } else if ((cs1a19 =='ryba') && (cs1a19n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a19v').show('slow'); $('#vala19').text('Helyes!').removeClass('valasz').addClass('helyesvalasz').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a19').attr('disabled', true); $('#cs1a20').attr('disabled', false).focus(); $('#goa19').hide(); $('#goa20').addClass('point').attr('disabled', false); } else if (cs1a19 =='ryba') { helyes ++; pontszam = helyes - hibas; $('#cs1a19v').show('slow'); $('#vala19').text('téves a névelő!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a19').attr('disabled', true); $('#cs1a20').attr('disabled', false).focus(); $('#goa19').hide(); $('#goa20').addClass('point').attr('disabled', false); } else if ((cs1a19 =='riba') && (cs1a19n == 'femin')) { helyes = helyes + 1.5; pontszam = helyes - hibas; $('#cs1a19v').show('slow'); $('#vala19').text('ryba!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a19').attr('disabled', true); $('#cs1a20').attr('disabled', false).focus(); $('#goa19').hide(); $('#goa20').addClass('point').attr('disabled', false); } else if (cs1a19 =='riba') { helyes ++; pontszam = helyes - hibas; $('#cs1a19v').show('slow'); $('#vala19').text('Helyesen ryba és téves a névelő is!').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a19').attr('disabled', true); $('#cs1a20').attr('disabled', false).focus(); $('#goa19').hide(); $('#goa20').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a19x').show('slow'); $('#vala19').text('Próbáld újra...').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a19').focus(); } }); $('#goa20').click(function() { cs1a20 = $('#cs1a20').val().toLowerCase(); if ( cs1a20 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a20').focus(); } else if (cs1a20 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a20a').show('slow'); $('#cs1a20b').addClass('femin'); $('#cs1a20v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a20').attr('disabled', true); $('#cs1a21').attr('disabled', false).focus(); $('#goa20').hide(); $('#goa21').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a20a').show('slow'); $('#cs1a20b').addClass('femin'); $('#cs1a20x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a20').attr('disabled', true); $('#cs1a21').attr('disabled', false).focus(); $('#goa20').hide(); $('#goa21').addClass('point').attr('disabled', false); } }); $('#goa21').click(function() { cs1a21 = $('#cs1a21').val().toLowerCase(); if ( cs1a21 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a21').focus(); } else if (cs1a21 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a21a').show('slow'); $('#cs1a21b').addClass('masc'); $('#cs1a21v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a21').attr('disabled', true); $('#cs1a22').attr('disabled', false).focus(); $('#goa21').hide(); $('#goa22').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a21a').show('slow'); $('#cs1a21b').addClass('masc'); $('#cs1a21x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a21').attr('disabled', true); $('#cs1a22').attr('disabled', false).focus(); $('#goa21').hide(); $('#goa22').addClass('point').attr('disabled', false); } }); $('#goa22').click(function() { cs1a22 = $('#cs1a22').val().toLowerCase(); if ( cs1a22 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a22').focus(); } else if (cs1a22 =='to') { helyes ++; pontszam = helyes - hibas; $('#cs1a22a').show('slow'); $('#cs1a22b').addClass('neut'); $('#cs1a22v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a22').attr('disabled', true); $('#cs1a23').attr('disabled', false).focus(); $('#goa22').hide(); $('#goa23').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a22a').show('slow'); $('#cs1a22b').addClass('neut'); $('#cs1a22x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a22').attr('disabled', true); $('#cs1a23').attr('disabled', false).focus(); $('#goa22').hide(); $('#goa23').addClass('point').attr('disabled', false); } }); $('#goa23').click(function() { cs1a23 = $('#cs1a23').val().toLowerCase(); if ( cs1a23 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a23').focus(); } else if (cs1a23 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a23a').show('slow'); $('#cs1a23b').addClass('femin'); $('#cs1a23v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a23').attr('disabled', true); $('#cs1a24').attr('disabled', false).focus(); $('#goa23').hide(); $('#goa24').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a23a').show('slow'); $('#cs1a23b').addClass('femin'); $('#cs1a23x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a23').attr('disabled', true); $('#cs1a24').attr('disabled', false).focus(); $('#goa23').hide(); $('#goa24').addClass('point').attr('disabled', false); } }); $('#goa24').click(function() { cs1a24 = $('#cs1a24').val().toLowerCase(); if ( cs1a24 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a24').focus(); } else if (cs1a24 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a24a').show('slow'); $('#cs1a24b').addClass('mascLive'); $('#cs1a24v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a24').attr('disabled', true); $('#cs1a25').attr('disabled', false).focus(); $('#goa24').hide(); $('#goa25').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a24a').show('slow'); $('#cs1a24b').addClass('mascLive'); $('#cs1a24x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a24').attr('disabled', true); $('#cs1a25').attr('disabled', false).focus(); $('#goa24').hide(); $('#goa25').addClass('point').attr('disabled', false); } }); $('#goa25').click(function() { cs1a25 = $('#cs1a25').val().toLowerCase(); if ( cs1a25 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a25').focus(); } else if (cs1a25 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a25a').show('slow'); $('#cs1a25b').addClass('femin'); $('#cs1a25v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a25').attr('disabled', true); $('#cs1a26').attr('disabled', false).focus(); $('#goa25').hide(); $('#goa26').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a25a').show('slow'); $('#cs1a25b').addClass('femin'); $('#cs1a25x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a25').attr('disabled', true); $('#cs1a26').attr('disabled', false).focus(); $('#goa25').hide(); $('#goa26').addClass('point').attr('disabled', false); } }); $('#goa26').click(function() { cs1a26 = $('#cs1a26').val().toLowerCase(); if ( cs1a26 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a26').focus(); } else if (cs1a26 =='to') { helyes ++; pontszam = helyes - hibas; $('#cs1a26a').show('slow'); $('#cs1a26b').addClass('neut'); $('#cs1a26v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a26').attr('disabled', true); $('#cs1a27').attr('disabled', false).focus(); $('#goa26').hide(); $('#goa27').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a26a').show('slow'); $('#cs1a26b').addClass('neut'); $('#cs1a26x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a26').attr('disabled', true); $('#cs1a27').attr('disabled', false).focus(); $('#goa26').hide(); $('#goa27').addClass('point').attr('disabled', false); } }); $('#goa27').click(function() { cs1a27 = $('#cs1a27').val().toLowerCase(); if ( cs1a27 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a27').focus(); } else if (cs1a27 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a27a').show('slow'); $('#cs1a27b').addClass('masc'); $('#cs1a27v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a27').attr('disabled', true); $('#cs1a28').attr('disabled', false).focus(); $('#goa27').hide(); $('#goa28').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a27a').show('slow'); $('#cs1a27b').addClass('masc'); $('#cs1a27x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a27').attr('disabled', true); $('#cs1a28').attr('disabled', false).focus(); $('#goa27').hide(); $('#goa28').addClass('point').attr('disabled', false); } }); $('#goa28').click(function() { cs1a28 = $('#cs1a28').val().toLowerCase(); if ( cs1a28 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a28').focus(); } else if (cs1a28 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a28a').show('slow'); $('#cs1a28b').addClass('femin'); $('#cs1a28v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a28').attr('disabled', true); $('#cs1a29').attr('disabled', false).focus(); $('#goa28').hide(); $('#goa29').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a28a').show('slow'); $('#cs1a28b').addClass('femin'); $('#cs1a28x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a28').attr('disabled', true); $('#cs1a29').attr('disabled', false).focus(); $('#goa28').hide(); $('#goa29').addClass('point').attr('disabled', false); } }); $('#goa29').click(function() { cs1a29 = $('#cs1a29').val().toLowerCase(); if ( cs1a29 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a29').focus(); } else if (cs1a29 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a29a').show('slow'); $('#cs1a29b').addClass('femin'); $('#cs1a29v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a29').attr('disabled', true); $('#cs1a30').attr('disabled', false).focus(); $('#goa29').hide(); $('#goa30').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a29a').show('slow'); $('#cs1a29b').addClass('femin'); $('#cs1a29x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a29').attr('disabled', true); $('#cs1a30').attr('disabled', false).focus(); $('#goa29').hide(); $('#goa30').addClass('point').attr('disabled', false); } }); $('#goa30').click(function() { cs1a30 = $('#cs1a30').val().toLowerCase(); if ( cs1a30 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a30').focus(); } else if (cs1a30 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a30a').show('slow'); $('#cs1a30b').addClass('masc'); $('#cs1a30v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a30').attr('disabled', true); $('#cs1a31').attr('disabled', false).focus(); $('#goa30').hide(); $('#goa31').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a30a').show('slow'); $('#cs1a30b').addClass('masc'); $('#cs1a30x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a30').attr('disabled', true); $('#cs1a31').attr('disabled', false).focus(); $('#goa30').hide(); $('#goa31').addClass('point').attr('disabled', false); } }); $('#goa31').click(function() { cs1a31 = $('#cs1a31').val().toLowerCase(); if ( cs1a31 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a31').focus(); } else if (cs1a31 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a31a').show('slow'); $('#cs1a31b').addClass('masc'); $('#cs1a31v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a31').attr('disabled', true); $('#cs1a32').attr('disabled', false).focus(); $('#goa31').hide(); $('#goa32').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a31a').show('slow'); $('#cs1a31b').addClass('masc'); $('#cs1a31x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a31').attr('disabled', true); $('#cs1a32').attr('disabled', false).focus(); $('#goa31').hide(); $('#goa32').addClass('point').attr('disabled', false); } }); $('#goa32').click(function() { cs1a32 = $('#cs1a32').val().toLowerCase(); if ( cs1a32 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a32').focus(); } else if (cs1a32 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a32a').show('slow'); $('#cs1a32b').addClass('femin'); $('#cs1a32v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a32').attr('disabled', true); $('#cs1a33').attr('disabled', false).focus(); $('#goa32').hide(); $('#goa33').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a32a').show('slow'); $('#cs1a32b').addClass('femin'); $('#cs1a32x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a32').attr('disabled', true); $('#cs1a33').attr('disabled', false).focus(); $('#goa32').hide(); $('#goa33').addClass('point').attr('disabled', false); } }); $('#goa33').click(function() { cs1a33 = $('#cs1a33').val().toLowerCase(); if ( cs1a33 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a33').focus(); } else if (cs1a33 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a33a').show('slow'); $('#cs1a33b').addClass('mascLive'); $('#cs1a33v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a33').attr('disabled', true); $('#cs1a34').attr('disabled', false).focus(); $('#goa33').hide(); $('#goa34').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a33a').show('slow'); $('#cs1a33b').addClass('mascLive'); $('#cs1a33x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a33').attr('disabled', true); $('#cs1a34').attr('disabled', false).focus(); $('#goa33').hide(); $('#goa34').addClass('point').attr('disabled', false); } }); $('#goa34').click(function() { cs1a34 = $('#cs1a34').val().toLowerCase(); if ( cs1a34 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a34').focus(); } else if (cs1a34 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a34a').show('slow'); $('#cs1a34b').addClass('masc'); $('#cs1a34v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a34').attr('disabled', true); $('#cs1a35').attr('disabled', false).focus(); $('#goa34').hide(); $('#goa35').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a34a').show('slow'); $('#cs1a34b').addClass('masc'); $('#cs1a34x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a34').attr('disabled', true); $('#cs1a35').attr('disabled', false).focus(); $('#goa34').hide(); $('#goa35').addClass('point').attr('disabled', false); } }); $('#goa35').click(function() { cs1a35 = $('#cs1a35').val().toLowerCase(); if ( cs1a35 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a35').focus(); } else if (cs1a35 =='to') { helyes ++; pontszam = helyes - hibas; $('#cs1a35a').show('slow'); $('#cs1a35b').addClass('neut'); $('#cs1a35v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a35').attr('disabled', true); $('#cs1a36').attr('disabled', false).focus(); $('#goa35').hide(); $('#goa36').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a35a').show('slow'); $('#cs1a35b').addClass('neut'); $('#cs1a35x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a35').attr('disabled', true); $('#cs1a36').attr('disabled', false).focus(); $('#goa35').hide(); $('#goa36').addClass('point').attr('disabled', false); } }); $('#goa36').click(function() { cs1a36 = $('#cs1a36').val().toLowerCase(); if ( cs1a36 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a36').focus(); } else if (cs1a36 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a36a').show('slow'); $('#cs1a36b').addClass('femin'); $('#cs1a36v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a36').attr('disabled', true); $('#cs1a37').attr('disabled', false).focus(); $('#goa36').hide(); $('#goa37').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a36a').show('slow'); $('#cs1a36b').addClass('femin'); $('#cs1a36x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a36').attr('disabled', true); $('#cs1a37').attr('disabled', false).focus(); $('#goa36').hide(); $('#goa37').addClass('point').attr('disabled', false); } }); $('#goa37').click(function() { cs1a37 = $('#cs1a37').val().toLowerCase(); if ( cs1a37 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a37').focus(); } else if (cs1a37 =='ta') { helyes ++; pontszam = helyes - hibas; $('#cs1a37a').show('slow'); $('#cs1a37b').addClass('femin'); $('#cs1a37v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a37').attr('disabled', true); $('#cs1a38').attr('disabled', false).focus(); $('#goa37').hide(); $('#goa38').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a37a').show('slow'); $('#cs1a37b').addClass('femin'); $('#cs1a37x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a37').attr('disabled', true); $('#cs1a38').attr('disabled', false).focus(); $('#goa37').hide(); $('#goa38').addClass('point').attr('disabled', false); } }); $('#goa38').click(function() { cs1a38 = $('#cs1a38').val().toLowerCase(); if ( cs1a38 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a38').focus(); } else if (cs1a38 =='to') { helyes ++; pontszam = helyes - hibas; $('#cs1a38a').show('slow'); $('#cs1a38b').addClass('neut'); $('#cs1a38v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a38').attr('disabled', true); $('#cs1a39').attr('disabled', false).focus(); $('#goa38').hide(); $('#goa39').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a38a').show('slow'); $('#cs1a38b').addClass('neut'); $('#cs1a38x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a38').attr('disabled', true); $('#cs1a39').attr('disabled', false).focus(); $('#goa38').hide(); $('#goa39').addClass('point').attr('disabled', false); } }); $('#goa39').click(function() { cs1a39 = $('#cs1a39').val().toLowerCase(); if ( cs1a39 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a39').focus(); } else if (cs1a39 =='ten') { helyes ++; pontszam = helyes - hibas; $('#cs1a39a').show('slow'); $('#cs1a39b').addClass('mascLive'); $('#cs1a39v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a39').attr('disabled', true); $('#cs1a40').attr('disabled', false).focus(); $('#goa39').hide(); $('#goa40').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a39a').show('slow'); $('#cs1a39b').addClass('mascLive'); $('#cs1a39x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a39').attr('disabled', true); $('#cs1a40').attr('disabled', false).focus(); $('#goa39').hide(); $('#goa40').addClass('point').attr('disabled', false); } }); $('#goa40').click(function() { cs1a40 = $('#cs1a40').val().toLowerCase(); if ( cs1a40 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a40').focus(); } else if (cs1a40 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a40a').show('slow'); $('#cs1a40b').addClass('femin'); $('#cs1a40v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a40').attr('disabled', true); $('#cs1a41').attr('disabled', false).focus(); $('#goa40').hide(); $('#goa41').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a40a').show('slow'); $('#cs1a40b').addClass('femin'); $('#cs1a40x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a40').attr('disabled', true); $('#cs1a41').attr('disabled', false).focus(); $('#goa40').hide(); $('#goa41').addClass('point').attr('disabled', false); } }); $('#goa41').click(function() { cs1a41 = $('#cs1a41').val().toLowerCase(); if ( cs1a41 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a41').focus(); } else if (cs1a41 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a41a').show('slow'); $('#cs1a41b').addClass('masc'); $('#cs1a41v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a41').attr('disabled', true); $('#cs1a42').attr('disabled', false).focus(); $('#goa41').hide(); $('#goa42').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a41a').show('slow'); $('#cs1a41b').addClass('masc'); $('#cs1a41x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a41').attr('disabled', true); $('#cs1a42').attr('disabled', false).focus(); $('#goa41').hide(); $('#goa42').addClass('point').attr('disabled', false); } }); $('#goa42').click(function() { cs1a42 = $('#cs1a42').val().toLowerCase(); if ( cs1a42 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a42').focus(); } else if (cs1a42 =='jedno') { helyes ++; pontszam = helyes - hibas; $('#cs1a42a').show('slow'); $('#cs1a42b').addClass('neut'); $('#cs1a42v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a42').attr('disabled', true); $('#cs1a43').attr('disabled', false).focus(); $('#goa42').hide(); $('#goa43').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a42a').show('slow'); $('#cs1a42b').addClass('neut'); $('#cs1a42x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a42').attr('disabled', true); $('#cs1a43').attr('disabled', false).focus(); $('#goa42').hide(); $('#goa43').addClass('point').attr('disabled', false); } }); $('#goa43').click(function() { cs1a43 = $('#cs1a43').val().toLowerCase(); if ( cs1a43 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a43').focus(); } else if (cs1a43 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a43a').show('slow'); $('#cs1a43b').addClass('femin'); $('#cs1a43v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a43').attr('disabled', true); $('#cs1a44').attr('disabled', false).focus(); $('#goa43').hide(); $('#goa44').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a43a').show('slow'); $('#cs1a43b').addClass('femin'); $('#cs1a43x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a43').attr('disabled', true); $('#cs1a44').attr('disabled', false).focus(); $('#goa43').hide(); $('#goa44').addClass('point').attr('disabled', false); } }); $('#goa44').click(function() { cs1a44 = $('#cs1a44').val().toLowerCase(); if ( cs1a44 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a44').focus(); } else if (cs1a44 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a44a').show('slow'); $('#cs1a44b').addClass('mascLive'); $('#cs1a44v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a44').attr('disabled', true); $('#cs1a45').attr('disabled', false).focus(); $('#goa44').hide(); $('#goa45').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a44a').show('slow'); $('#cs1a44b').addClass('mascLive'); $('#cs1a44x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a44').attr('disabled', true); $('#cs1a45').attr('disabled', false).focus(); $('#goa44').hide(); $('#goa45').addClass('point').attr('disabled', false); } }); $('#goa45').click(function() { cs1a45 = $('#cs1a45').val().toLowerCase(); if ( cs1a45 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a45').focus(); } else if (cs1a45 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a45a').show('slow'); $('#cs1a45b').addClass('femin'); $('#cs1a45v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a45').attr('disabled', true); $('#cs1a46').attr('disabled', false).focus(); $('#goa45').hide(); $('#goa46').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a45a').show('slow'); $('#cs1a45b').addClass('femin'); $('#cs1a45x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a45').attr('disabled', true); $('#cs1a46').attr('disabled', false).focus(); $('#goa45').hide(); $('#goa46').addClass('point').attr('disabled', false); } }); $('#goa46').click(function() { cs1a46 = $('#cs1a46').val().toLowerCase(); if ( cs1a46 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a46').focus(); } else if (cs1a46 =='jedno') { helyes ++; pontszam = helyes - hibas; $('#cs1a46a').show('slow'); $('#cs1a46b').addClass('neut'); $('#cs1a46v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a46').attr('disabled', true); $('#cs1a47').attr('disabled', false).focus(); $('#goa46').hide(); $('#goa47').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a46a').show('slow'); $('#cs1a46b').addClass('neut'); $('#cs1a46x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a46').attr('disabled', true); $('#cs1a47').attr('disabled', false).focus(); $('#goa46').hide(); $('#goa47').addClass('point').attr('disabled', false); } }); $('#goa47').click(function() { cs1a47 = $('#cs1a47').val().toLowerCase(); if ( cs1a47 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a47').focus(); } else if (cs1a47 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a47a').show('slow'); $('#cs1a47b').addClass('masc'); $('#cs1a47v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a47').attr('disabled', true); $('#cs1a48').attr('disabled', false).focus(); $('#goa47').hide(); $('#goa48').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a47a').show('slow'); $('#cs1a47b').addClass('masc'); $('#cs1a47x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a47').attr('disabled', true); $('#cs1a48').attr('disabled', false).focus(); $('#goa47').hide(); $('#goa48').addClass('point').attr('disabled', false); } }); $('#goa48').click(function() { cs1a48 = $('#cs1a48').val().toLowerCase(); if ( cs1a48 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a48').focus(); } else if (cs1a48 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a48a').show('slow'); $('#cs1a48b').addClass('femin'); $('#cs1a48v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a48').attr('disabled', true); $('#cs1a49').attr('disabled', false).focus(); $('#goa48').hide(); $('#goa49').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a48a').show('slow'); $('#cs1a48b').addClass('femin'); $('#cs1a48x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a48').attr('disabled', true); $('#cs1a49').attr('disabled', false).focus(); $('#goa48').hide(); $('#goa49').addClass('point').attr('disabled', false); } }); $('#goa49').click(function() { cs1a49 = $('#cs1a49').val().toLowerCase(); if ( cs1a49 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a49').focus(); } else if (cs1a49 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a49a').show('slow'); $('#cs1a49b').addClass('femin'); $('#cs1a49v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a49').attr('disabled', true); $('#cs1a50').attr('disabled', false).focus(); $('#goa49').hide(); $('#goa50').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a49a').show('slow'); $('#cs1a49b').addClass('femin'); $('#cs1a49x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a49').attr('disabled', true); $('#cs1a50').attr('disabled', false).focus(); $('#goa49').hide(); $('#goa50').addClass('point').attr('disabled', false); } }); $('#goa50').click(function() { cs1a50 = $('#cs1a50').val().toLowerCase(); if ( cs1a50 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a50').focus(); } else if (cs1a50 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a50a').show('slow'); $('#cs1a50b').addClass('masc'); $('#cs1a50v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a50').attr('disabled', true); $('#cs1a51').attr('disabled', false).focus(); $('#goa50').hide(); $('#goa51').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a50a').show('slow'); $('#cs1a50b').addClass('masc'); $('#cs1a50x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a50').attr('disabled', true); $('#cs1a51').attr('disabled', false).focus(); $('#goa50').hide(); $('#goa51').addClass('point').attr('disabled', false); } }); $('#goa51').click(function() { cs1a51 = $('#cs1a51').val().toLowerCase(); if ( cs1a51 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a51').focus(); } else if (cs1a51 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a51a').show('slow'); $('#cs1a51b').addClass('masc'); $('#cs1a51v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a51').attr('disabled', true); $('#cs1a52').attr('disabled', false).focus(); $('#goa51').hide(); $('#goa52').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a51a').show('slow'); $('#cs1a51b').addClass('masc'); $('#cs1a51x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a51').attr('disabled', true); $('#cs1a52').attr('disabled', false).focus(); $('#goa51').hide(); $('#goa52').addClass('point').attr('disabled', false); } }); $('#goa52').click(function() { cs1a52 = $('#cs1a52').val().toLowerCase(); if ( cs1a52 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a52').focus(); } else if (cs1a52 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a52a').show('slow'); $('#cs1a52b').addClass('femin'); $('#cs1a52v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a52').attr('disabled', true); $('#cs1a53').attr('disabled', false).focus(); $('#goa52').hide(); $('#goa53').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a52a').show('slow'); $('#cs1a52b').addClass('femin'); $('#cs1a52x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a52').attr('disabled', true); $('#cs1a53').attr('disabled', false).focus(); $('#goa52').hide(); $('#goa53').addClass('point').attr('disabled', false); } }); $('#goa53').click(function() { cs1a53 = $('#cs1a53').val().toLowerCase(); if ( cs1a53 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a53').focus(); } else if (cs1a53 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a53a').show('slow'); $('#cs1a53b').addClass('mascLive'); $('#cs1a53v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a53').attr('disabled', true); $('#cs1a54').attr('disabled', false).focus(); $('#goa53').hide(); $('#goa54').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a53a').show('slow'); $('#cs1a53b').addClass('mascLive'); $('#cs1a53x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a53').attr('disabled', true); $('#cs1a54').attr('disabled', false).focus(); $('#goa53').hide(); $('#goa54').addClass('point').attr('disabled', false); } }); $('#goa54').click(function() { cs1a54 = $('#cs1a54').val().toLowerCase(); if ( cs1a54 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a54').focus(); } else if (cs1a54 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a54a').show('slow'); $('#cs1a54b').addClass('masc'); $('#cs1a54v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a54').attr('disabled', true); $('#cs1a55').attr('disabled', false).focus(); $('#goa54').hide(); $('#goa55').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a54a').show('slow'); $('#cs1a54b').addClass('masc'); $('#cs1a54x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a54').attr('disabled', true); $('#cs1a55').attr('disabled', false).focus(); $('#goa54').hide(); $('#goa55').addClass('point').attr('disabled', false); } }); $('#goa55').click(function() { cs1a55 = $('#cs1a55').val().toLowerCase(); if ( cs1a55 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a55').focus(); } else if (cs1a55 =='jedno') { helyes ++; pontszam = helyes - hibas; $('#cs1a55a').show('slow'); $('#cs1a55b').addClass('neut'); $('#cs1a55v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a55').attr('disabled', true); $('#cs1a56').attr('disabled', false).focus(); $('#goa55').hide(); $('#goa56').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a55a').show('slow'); $('#cs1a55b').addClass('neut'); $('#cs1a55x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a55').attr('disabled', true); $('#cs1a56').attr('disabled', false).focus(); $('#goa55').hide(); $('#goa56').addClass('point').attr('disabled', false); } }); $('#goa56').click(function() { cs1a56 = $('#cs1a56').val().toLowerCase(); if ( cs1a56 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a56').focus(); } else if (cs1a56 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a56a').show('slow'); $('#cs1a56b').addClass('femin'); $('#cs1a56v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a56').attr('disabled', true); $('#cs1a57').attr('disabled', false).focus(); $('#goa56').hide(); $('#goa57').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a56a').show('slow'); $('#cs1a56b').addClass('femin'); $('#cs1a56x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a56').attr('disabled', true); $('#cs1a57').attr('disabled', false).focus(); $('#goa56').hide(); $('#goa57').addClass('point').attr('disabled', false); } }); $('#goa57').click(function() { cs1a57 = $('#cs1a57').val().toLowerCase(); if ( cs1a57 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a57').focus(); } else if (cs1a57 =='jedna') { helyes ++; pontszam = helyes - hibas; $('#cs1a57a').show('slow'); $('#cs1a57b').addClass('femin'); $('#cs1a57v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a57').attr('disabled', true); $('#cs1a58').attr('disabled', false).focus(); $('#goa57').hide(); $('#goa58').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a57a').show('slow'); $('#cs1a57b').addClass('femin'); $('#cs1a57x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a57').attr('disabled', true); $('#cs1a58').attr('disabled', false).focus(); $('#goa57').hide(); $('#goa58').addClass('point').attr('disabled', false); } }); $('#goa58').click(function() { cs1a58 = $('#cs1a58').val().toLowerCase(); if ( cs1a58 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a58').focus(); } else if (cs1a58 =='jedno') { helyes ++; pontszam = helyes - hibas; $('#cs1a58a').show('slow'); $('#cs1a58b').addClass('neut'); $('#cs1a58v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a58').attr('disabled', true); $('#cs1a59').attr('disabled', false).focus(); $('#goa58').hide(); $('#goa59').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a58a').show('slow'); $('#cs1a58b').addClass('neut'); $('#cs1a58x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a58').attr('disabled', true); $('#cs1a59').attr('disabled', false).focus(); $('#goa58').hide(); $('#goa59').addClass('point').attr('disabled', false); } }); $('#goa59').click(function() { cs1a59 = $('#cs1a59').val().toLowerCase(); if ( cs1a59 == '' ) { alert('Hát ide azért kellene írni valamit...'); $('#cs1a59').focus(); } else if (cs1a59 =='jeden') { helyes ++; pontszam = helyes - hibas; $('#cs1a59a').show('slow'); $('#cs1a59b').addClass('mascLive'); $('#cs1a59v').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a59').attr('disabled', true); $('#cs1a60').attr('disabled', false).focus(); $('#goa59').hide(); $('#goa60').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a59a').show('slow'); $('#cs1a59b').addClass('mascLive'); $('#cs1a59x').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a59').attr('disabled', true); $('#cs1a60').attr('disabled', false).focus(); $('#goa59').hide(); $('#goa60').addClass('point').attr('disabled', false); } }); $('#goa60').click(function() { cs1a60 = $('#cs1a60 option:selected').val(); cs1a60n = $('#cs1a60n option:selected').val(); if ( (cs1a60 == 'ures') || (cs1a60n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a60 =='štíhlá') && (cs1a60n =='ta') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a60v').show('slow'); $('#vala60').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a60').attr('disabled', true); $('#cs1a60n').attr('disabled', true); $('#cs1a61n').attr('disabled', false).focus(); $('#goa60').hide(); $('#goa61').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a60x').show('slow'); $('#vala60').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a60').attr('disabled', true); $('#cs1a60n').attr('disabled', true); $('#cs1a61n').attr('disabled', false).focus(); $('#goa60').hide(); $('#goa61').addClass('point').attr('disabled', false); } }); $('#goa61').click(function() { cs1a61 = $('#cs1a61 option:selected').val(); cs1a61n = $('#cs1a61n option:selected').val(); if ( (cs1a61 == 'ures') || (cs1a61n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a61 =='bílý') && (cs1a61n =='ten') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a61v').show('slow'); $('#vala61').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a61').attr('disabled', true); $('#cs1a61n').attr('disabled', true); $('#cs1a62n').attr('disabled', false).focus(); $('#goa61').hide(); $('#goa62').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a61x').show('slow'); $('#vala61').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a61').attr('disabled', true); $('#cs1a61n').attr('disabled', true); $('#cs1a62n').attr('disabled', false).focus(); $('#goa61').hide(); $('#goa62').addClass('point').attr('disabled', false); } }); $('#goa62').click(function() { cs1a62 = $('#cs1a62 option:selected').val(); cs1a62n = $('#cs1a62n option:selected').val(); if ( (cs1a62 == 'ures') || (cs1a62n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a62 =='nová') && (cs1a62n =='ta') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a62v').show('slow'); $('#vala62').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a62').attr('disabled', true); $('#cs1a62n').attr('disabled', true); $('#cs1a63n').attr('disabled', false).focus(); $('#goa62').hide(); $('#goa63').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a62x').show('slow'); $('#vala62').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a62').attr('disabled', true); $('#cs1a62n').attr('disabled', true); $('#cs1a63n').attr('disabled', false).focus(); $('#goa62').hide(); $('#goa63').addClass('point').attr('disabled', false); } }); $('#goa63').click(function() { cs1a63 = $('#cs1a63 option:selected').val(); cs1a63n = $('#cs1a63n option:selected').val(); if ( (cs1a63 == 'ures') || (cs1a63n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a63 =='starý') && (cs1a63n =='ten') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a63v').show('slow'); $('#vala63').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a63').attr('disabled', true); $('#cs1a63n').attr('disabled', true); $('#cs1a64n').attr('disabled', false).focus(); $('#goa63').hide(); $('#goa64').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a63x').show('slow'); $('#vala63').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a63').attr('disabled', true); $('#cs1a63n').attr('disabled', true); $('#cs1a64n').attr('disabled', false).focus(); $('#goa63').hide(); $('#goa64').addClass('point').attr('disabled', false); } }); $('#goa64').click(function() { cs1a64 = $('#cs1a64 option:selected').val(); cs1a64n = $('#cs1a64n option:selected').val(); if ( (cs1a64 == 'ures') || (cs1a64n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a64 =='nízký') && (cs1a64n =='ten') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a64v').show('slow'); $('#vala64').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a64').attr('disabled', true); $('#cs1a64n').attr('disabled', true); $('#cs1a65n').attr('disabled', false).focus(); $('#goa64').hide(); $('#goa65').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a64x').show('slow'); $('#vala64').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a64').attr('disabled', true); $('#cs1a64n').attr('disabled', true); $('#cs1a65n').attr('disabled', false).focus(); $('#goa64').hide(); $('#goa65').addClass('point').attr('disabled', false); } }); $('#goa65').click(function() { cs1a65 = $('#cs1a65 option:selected').val(); cs1a65n = $('#cs1a65n option:selected').val(); if ( (cs1a65 == 'ures') || (cs1a65n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a65 =='velké') && (cs1a65n =='to') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a65v').show('slow'); $('#vala65').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a65').attr('disabled', true); $('#cs1a65n').attr('disabled', true); $('#cs1a66n').attr('disabled', false).focus(); $('#goa65').hide(); $('#goa66').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a65x').show('slow'); $('#vala65').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a65').attr('disabled', true); $('#cs1a65n').attr('disabled', true); $('#cs1a66n').attr('disabled', false).focus(); $('#goa65').hide(); $('#goa66').addClass('point').attr('disabled', false); } }); $('#goa66').click(function() { cs1a66 = $('#cs1a66 option:selected').val(); cs1a66n = $('#cs1a66n option:selected').val(); if ( (cs1a66 == 'ures') || (cs1a66n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a66 =='teplý') && (cs1a66n =='ten') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a66v').show('slow'); $('#vala66').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a66').attr('disabled', true); $('#cs1a66n').attr('disabled', true); $('#cs1a67n').attr('disabled', false).focus(); $('#goa66').hide(); $('#goa67').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a66x').show('slow'); $('#vala66').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a66').attr('disabled', true); $('#cs1a66n').attr('disabled', true); $('#cs1a67n').attr('disabled', false).focus(); $('#goa66').hide(); $('#goa67').addClass('point').attr('disabled', false); } }); $('#goa67').click(function() { cs1a67 = $('#cs1a67 option:selected').val(); cs1a67n = $('#cs1a67n option:selected').val(); if ( (cs1a67 == 'ures') || (cs1a67n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a67 =='mladé') && (cs1a67n =='to') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a67v').show('slow'); $('#vala67').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a67').attr('disabled', true); $('#cs1a67n').attr('disabled', true); $('#cs1a68n').attr('disabled', false).focus(); $('#goa67').hide(); $('#goa68').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a67x').show('slow'); $('#vala67').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a67').attr('disabled', true); $('#cs1a67n').attr('disabled', true); $('#cs1a68n').attr('disabled', false).focus(); $('#goa67').hide(); $('#goa68').addClass('point').attr('disabled', false); } }); $('#goa68').click(function() { cs1a68 = $('#cs1a68 option:selected').val(); cs1a68n = $('#cs1a68n option:selected').val(); if ( (cs1a68 == 'ures') || (cs1a68n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a68 =='krásný') && (cs1a68n =='ten') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a68v').show('slow'); $('#vala68').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a68').attr('disabled', true); $('#cs1a68n').attr('disabled', true); $('#cs1a69n').attr('disabled', false).focus(); $('#goa68').hide(); $('#goa69').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a68x').show('slow'); $('#vala68').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a68').attr('disabled', true); $('#cs1a68n').attr('disabled', true); $('#cs1a69n').attr('disabled', false).focus(); $('#goa68').hide(); $('#goa69').addClass('point').attr('disabled', false); } }); $('#goa69').click(function() { cs1a69 = $('#cs1a69 option:selected').val(); cs1a69n = $('#cs1a69n option:selected').val(); if ( (cs1a69 == 'ures') || (cs1a69n == 'ures') ) { alert('Mind a kettőből válassz egyet...'); } else if ( (cs1a69 =='malé') && (cs1a69n =='to') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a69v').show('slow'); $('#vala69').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a69').attr('disabled', true); $('#cs1a69n').attr('disabled', true); $('#cs1a70n').attr('disabled', false).focus(); $('#goa69').hide(); $('#goa70').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a69x').show('slow'); $('#vala69').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a69').attr('disabled', true); $('#cs1a69n').attr('disabled', true); $('#cs1a70n').attr('disabled', false).focus(); $('#goa69').hide(); $('#goa70').addClass('point').attr('disabled', false); } }); $('#goa70').click(function() { cs1a70k = $('#cs1a70k option:selected').val(); cs1a70n = $('#cs1a70n option:selected').val(); cs1a70a = $('#cs1a70a option:selected').val(); cs1a70b = $('#cs1a70b option:selected').val(); if ( (cs1a70k == 'ures') || (cs1a70n == 'ures') || (cs1a70a == 'ures') || (cs1a70b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a70k =='jaký') && (cs1a70n =='ten') && (cs1a70a =='jeden') && (cs1a70b =='velký')) { helyes ++; pontszam = helyes - hibas; $('#cs1a70v').show('slow'); $('#vala70').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a70k').attr('disabled', true); $('#cs1a70n').attr('disabled', true); $('#cs1a70a').attr('disabled', true); $('#cs1a70b').attr('disabled', true); $('#cs1a70').attr('disabled', true); $('#cs1a71k').attr('disabled', false).focus(); $('#goa70').hide(); $('#goa71').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a70x').show('slow'); $('#vala70').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a70k').attr('disabled', true); $('#cs1a70n').attr('disabled', true); $('#cs1a70a').attr('disabled', true); $('#cs1a70b').attr('disabled', true); $('#cs1a70').attr('disabled', true); $('#cs1a71k').attr('disabled', false).focus(); $('#goa70').hide(); $('#goa71').addClass('point').attr('disabled', false); } }); $('#goa71').click(function() { cs1a71k = $('#cs1a71k option:selected').val(); cs1a71n = $('#cs1a71n option:selected').val(); cs1a71a = $('#cs1a71a option:selected').val(); cs1a71b = $('#cs1a71b option:selected').val(); if ( (cs1a71k == 'ures') || (cs1a71n == 'ures') || (cs1a71a == 'ures') || (cs1a71b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a71k =='jaká') && (cs1a71n =='ta') && (cs1a71a =='jedna') && (cs1a71b =='nízká')) { helyes ++; pontszam = helyes - hibas; $('#cs1a71v').show('slow'); $('#vala71').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a71k').attr('disabled', true); $('#cs1a71n').attr('disabled', true); $('#cs1a71a').attr('disabled', true); $('#cs1a71b').attr('disabled', true); $('#cs1a71').attr('disabled', true); $('#cs1a72k').attr('disabled', false).focus(); $('#goa71').hide(); $('#goa72').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a71x').show('slow'); $('#vala71').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a71k').attr('disabled', true); $('#cs1a71n').attr('disabled', true); $('#cs1a71a').attr('disabled', true); $('#cs1a71b').attr('disabled', true); $('#cs1a71').attr('disabled', true); $('#cs1a72k').attr('disabled', false).focus(); $('#goa71').hide(); $('#goa72').addClass('point').attr('disabled', false); } }); $('#goa72').click(function() { cs1a72k = $('#cs1a72k option:selected').val(); cs1a72n = $('#cs1a72n option:selected').val(); cs1a72a = $('#cs1a72a option:selected').val(); cs1a72b = $('#cs1a72b option:selected').val(); if ( (cs1a72k == 'ures') || (cs1a72n == 'ures') || (cs1a72a == 'ures') || (cs1a72b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a72k =='jaký') && (cs1a72n =='ten') && (cs1a72a =='jeden') && (cs1a72b =='ošklivý')) { helyes ++; pontszam = helyes - hibas; $('#cs1a72v').show('slow'); $('#vala72').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a72k').attr('disabled', true); $('#cs1a72n').attr('disabled', true); $('#cs1a72a').attr('disabled', true); $('#cs1a72b').attr('disabled', true); $('#cs1a72').attr('disabled', true); $('#cs1a73k').attr('disabled', false).focus(); $('#goa72').hide(); $('#goa73').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a72x').show('slow'); $('#vala72').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a72k').attr('disabled', true); $('#cs1a72n').attr('disabled', true); $('#cs1a72a').attr('disabled', true); $('#cs1a72b').attr('disabled', true); $('#cs1a72').attr('disabled', true); $('#cs1a73k').attr('disabled', false).focus(); $('#goa72').hide(); $('#goa73').addClass('point').attr('disabled', false); } }); $('#goa73').click(function() { cs1a73k = $('#cs1a73k option:selected').val(); cs1a73n = $('#cs1a73n option:selected').val(); cs1a73a = $('#cs1a73a option:selected').val(); cs1a73b = $('#cs1a73b option:selected').val(); if ( (cs1a73k == 'ures') || (cs1a73n == 'ures') || (cs1a73a == 'ures') || (cs1a73b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a73k =='jaká') && (cs1a73n =='ta') && (cs1a73a =='jedna') && (cs1a73b =='hezká')) { helyes ++; pontszam = helyes - hibas; $('#cs1a73v').show('slow'); $('#vala73').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a73k').attr('disabled', true); $('#cs1a73n').attr('disabled', true); $('#cs1a73a').attr('disabled', true); $('#cs1a73b').attr('disabled', true); $('#cs1a73').attr('disabled', true); $('#cs1a74k').attr('disabled', false).focus(); $('#goa73').hide(); $('#goa74').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a73x').show('slow'); $('#vala73').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a73k').attr('disabled', true); $('#cs1a73n').attr('disabled', true); $('#cs1a73a').attr('disabled', true); $('#cs1a73b').attr('disabled', true); $('#cs1a73').attr('disabled', true); $('#cs1a74k').attr('disabled', false).focus(); $('#goa73').hide(); $('#goa74').addClass('point').attr('disabled', false); } }); $('#goa74').click(function() { cs1a74k = $('#cs1a74k option:selected').val(); cs1a74n = $('#cs1a74n option:selected').val(); cs1a74a = $('#cs1a74a option:selected').val(); cs1a74b = $('#cs1a74b option:selected').val(); if ( (cs1a74k == 'ures') || (cs1a74n == 'ures') || (cs1a74a == 'ures') || (cs1a74b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a74k =='jaké') && (cs1a74n =='to') && (cs1a74a =='jedno') && (cs1a74b =='teplé')) { helyes ++; pontszam = helyes - hibas; $('#cs1a74v').show('slow'); $('#vala74').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a74k').attr('disabled', true); $('#cs1a74n').attr('disabled', true); $('#cs1a74a').attr('disabled', true); $('#cs1a74b').attr('disabled', true); $('#cs1a74').attr('disabled', true); $('#cs1a75k').attr('disabled', false).focus(); $('#goa74').hide(); $('#goa75').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a74x').show('slow'); $('#vala74').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a74k').attr('disabled', true); $('#cs1a74n').attr('disabled', true); $('#cs1a74a').attr('disabled', true); $('#cs1a74b').attr('disabled', true); $('#cs1a74').attr('disabled', true); $('#cs1a75k').attr('disabled', false).focus(); $('#goa74').hide(); $('#goa75').addClass('point').attr('disabled', false); } }); $('#goa75').click(function() { cs1a75k = $('#cs1a75k option:selected').val(); cs1a75n = $('#cs1a75n option:selected').val(); cs1a75a = $('#cs1a75a option:selected').val(); cs1a75b = $('#cs1a75b option:selected').val(); if ( (cs1a75k == 'ures') || (cs1a75n == 'ures') || (cs1a75a == 'ures') || (cs1a75b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a75k =='jaká') && (cs1a75n =='ta') && (cs1a75a =='jedna') && (cs1a75b =='malá')) { helyes ++; pontszam = helyes - hibas; $('#cs1a75v').show('slow'); $('#vala75').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a75k').attr('disabled', true); $('#cs1a75n').attr('disabled', true); $('#cs1a75a').attr('disabled', true); $('#cs1a75b').attr('disabled', true); $('#cs1a75').attr('disabled', true); $('#cs1a76k').attr('disabled', false).focus(); $('#goa75').hide(); $('#goa76').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a75x').show('slow'); $('#vala75').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a75k').attr('disabled', true); $('#cs1a75n').attr('disabled', true); $('#cs1a75a').attr('disabled', true); $('#cs1a75b').attr('disabled', true); $('#cs1a75').attr('disabled', true); $('#cs1a76k').attr('disabled', false).focus(); $('#goa75').hide(); $('#goa76').addClass('point').attr('disabled', false); } }); $('#goa76').click(function() { cs1a76k = $('#cs1a76k option:selected').val(); cs1a76n = $('#cs1a76n option:selected').val(); cs1a76a = $('#cs1a76a option:selected').val(); cs1a76b = $('#cs1a76b option:selected').val(); if ( (cs1a76k == 'ures') || (cs1a76n == 'ures') || (cs1a76a == 'ures') || (cs1a76b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a76k =='jaký') && (cs1a76n =='ten') && (cs1a76a =='jeden') && (cs1a76b =='nový')) { helyes ++; pontszam = helyes - hibas; $('#cs1a76v').show('slow'); $('#vala76').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a76k').attr('disabled', true); $('#cs1a76n').attr('disabled', true); $('#cs1a76a').attr('disabled', true); $('#cs1a76b').attr('disabled', true); $('#cs1a76').attr('disabled', true); $('#cs1a77k').attr('disabled', false).focus(); $('#goa76').hide(); $('#goa77').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a76x').show('slow'); $('#vala76').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a76k').attr('disabled', true); $('#cs1a76n').attr('disabled', true); $('#cs1a76a').attr('disabled', true); $('#cs1a76b').attr('disabled', true); $('#cs1a76').attr('disabled', true); $('#cs1a77k').attr('disabled', false).focus(); $('#goa76').hide(); $('#goa77').addClass('point').attr('disabled', false); } }); $('#goa77').click(function() { cs1a77k = $('#cs1a77k option:selected').val(); cs1a77n = $('#cs1a77n option:selected').val(); cs1a77a = $('#cs1a77a option:selected').val(); cs1a77b = $('#cs1a77b option:selected').val(); if ( (cs1a77k == 'ures') || (cs1a77n == 'ures') || (cs1a77a == 'ures') || (cs1a77b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a77k =='jaká') && (cs1a77n =='ta') && (cs1a77a =='jedna') && (cs1a77b =='černá')) { helyes ++; pontszam = helyes - hibas; $('#cs1a77v').show('slow'); $('#vala77').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a77k').attr('disabled', true); $('#cs1a77n').attr('disabled', true); $('#cs1a77a').attr('disabled', true); $('#cs1a77b').attr('disabled', true); $('#cs1a77').attr('disabled', true); $('#cs1a78k').attr('disabled', false).focus(); $('#goa77').hide(); $('#goa78').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a77x').show('slow'); $('#vala77').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a77k').attr('disabled', true); $('#cs1a77n').attr('disabled', true); $('#cs1a77a').attr('disabled', true); $('#cs1a77b').attr('disabled', true); $('#cs1a77').attr('disabled', true); $('#cs1a78k').attr('disabled', false).focus(); $('#goa77').hide(); $('#goa78').addClass('point').attr('disabled', false); } }); $('#goa78').click(function() { cs1a78k = $('#cs1a78k option:selected').val(); cs1a78n = $('#cs1a78n option:selected').val(); cs1a78a = $('#cs1a78a option:selected').val(); cs1a78b = $('#cs1a78b option:selected').val(); if ( (cs1a78k == 'ures') || (cs1a78n == 'ures') || (cs1a78a == 'ures') || (cs1a78b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a78k =='jaký') && (cs1a78n =='ten') && (cs1a78a =='jeden') && (cs1a78b =='tlustý')) { helyes ++; pontszam = helyes - hibas; $('#cs1a78v').show('slow'); $('#vala78').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a78k').attr('disabled', true); $('#cs1a78n').attr('disabled', true); $('#cs1a78a').attr('disabled', true); $('#cs1a78b').attr('disabled', true); $('#cs1a78').attr('disabled', true); $('#cs1a79k').attr('disabled', false).focus(); $('#goa78').hide(); $('#goa79').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a78x').show('slow'); $('#vala78').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a78k').attr('disabled', true); $('#cs1a78n').attr('disabled', true); $('#cs1a78a').attr('disabled', true); $('#cs1a78b').attr('disabled', true); $('#cs1a78').attr('disabled', true); $('#cs1a79k').attr('disabled', false).focus(); $('#goa78').hide(); $('#goa79').addClass('point').attr('disabled', false); } }); $('#goa79').click(function() { cs1a79k = $('#cs1a79k option:selected').val(); cs1a79n = $('#cs1a79n option:selected').val(); cs1a79a = $('#cs1a79a option:selected').val(); cs1a79b = $('#cs1a79b option:selected').val(); if ( (cs1a79k == 'ures') || (cs1a79n == 'ures') || (cs1a79a == 'ures') || (cs1a79b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a79k =='jaký') && (cs1a79n =='ten') && (cs1a79a =='jeden') && (cs1a79b =='vysoký')) { helyes ++; pontszam = helyes - hibas; $('#cs1a79v').show('slow'); $('#vala79').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a79k').attr('disabled', true); $('#cs1a79n').attr('disabled', true); $('#cs1a79a').attr('disabled', true); $('#cs1a79b').attr('disabled', true); $('#cs1a79').attr('disabled', true); $('#cs1a80k').attr('disabled', false).focus(); $('#goa79').hide(); $('#goa80').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a79x').show('slow'); $('#vala79').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a79k').attr('disabled', true); $('#cs1a79n').attr('disabled', true); $('#cs1a79a').attr('disabled', true); $('#cs1a79b').attr('disabled', true); $('#cs1a79').attr('disabled', true); $('#cs1a80k').attr('disabled', false).focus(); $('#goa79').hide(); $('#goa80').addClass('point').attr('disabled', false); } }); $('#goa80').click(function() { cs1a80k = $('#cs1a80k option:selected').val(); cs1a80n = $('#cs1a80n option:selected').val(); cs1a80a = $('#cs1a80a option:selected').val(); cs1a80b = $('#cs1a80b option:selected').val(); if ( (cs1a80k == 'ures') || (cs1a80n == 'ures') || (cs1a80a == 'ures') || (cs1a80b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a80k =='jaká') && (cs1a80n =='ta') && (cs1a80a =='jedna') && (cs1a80b =='studená')) { helyes ++; pontszam = helyes - hibas; $('#cs1a80v').show('slow'); $('#vala80').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a80k').attr('disabled', true); $('#cs1a80n').attr('disabled', true); $('#cs1a80a').attr('disabled', true); $('#cs1a80b').attr('disabled', true); $('#cs1a80').attr('disabled', true); $('#cs1a81k').attr('disabled', false).focus(); $('#goa80').hide(); $('#goa81').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a80x').show('slow'); $('#vala80').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a80k').attr('disabled', true); $('#cs1a80n').attr('disabled', true); $('#cs1a80a').attr('disabled', true); $('#cs1a80b').attr('disabled', true); $('#cs1a80').attr('disabled', true); $('#cs1a81k').attr('disabled', false).focus(); $('#goa80').hide(); $('#goa81').addClass('point').attr('disabled', false); } }); $('#goa81').click(function() { cs1a81k = $('#cs1a81k option:selected').val(); cs1a81n = $('#cs1a81n option:selected').val(); cs1a81a = $('#cs1a81a option:selected').val(); cs1a81b = $('#cs1a81b option:selected').val(); if ( (cs1a81k == 'ures') || (cs1a81n == 'ures') || (cs1a81a == 'ures') || (cs1a81b == 'ures') ) { alert('Mind a négyből válassz egyet...'); } else if ( (cs1a81k =='jaká') && (cs1a81n =='ta') && (cs1a81a =='jedna') && (cs1a81b =='bílá')) { helyes ++; pontszam = helyes - hibas; $('#cs1a81v').show('slow'); $('#vala81').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a81k').attr('disabled', true); $('#cs1a81n').attr('disabled', true); $('#cs1a81a').attr('disabled', true); $('#cs1a81b').attr('disabled', true); $('#cs1a81').attr('disabled', true); $('#cs1a82k').attr('disabled', false).focus(); $('#goa81').hide(); $('#goa82').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a81x').show('slow'); $('#vala81').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a81k').attr('disabled', true); $('#cs1a81n').attr('disabled', true); $('#cs1a81a').attr('disabled', true); $('#cs1a81b').attr('disabled', true); $('#cs1a81').attr('disabled', true); $('#cs1a82k').attr('disabled', false).focus(); $('#goa81').hide(); $('#goa82').addClass('point').attr('disabled', false); } }); $('#goa82').click(function() { cs1a82n = $('#cs1a82n option:selected').val(); cs1a82j = $('#cs1a82j option:selected').val(); cs1a82f = $('#cs1a82f option:selected').val(); if ( (cs1a82n == 'ures') || (cs1a82j == 'ures') || (cs1a82f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a82n =='jeden') && (cs1a82j =='velký') && (cs1a82f =='stůl') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a82v').show('slow'); $('#vala82').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a82n').attr('disabled', true); $('#cs1a82j').attr('disabled', true); $('#cs1a82f').attr('disabled', true); $('#cs1a83n').attr('disabled', false).focus(); $('#goa82').hide(); $('#goa83').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a82x').show('slow'); $('#vala82').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a82n').attr('disabled', true); $('#cs1a82j').attr('disabled', true); $('#cs1a82f').attr('disabled', true); $('#cs1a83n').attr('disabled', false).focus(); $('#goa82').hide(); $('#goa83').addClass('point').attr('disabled', false); } }); $('#goa83').click(function() { cs1a83n = $('#cs1a83n option:selected').val(); cs1a83j = $('#cs1a83j option:selected').val(); cs1a83f = $('#cs1a83f option:selected').val(); if ( (cs1a83n == 'ures') || (cs1a83j == 'ures') || (cs1a83f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a83n =='jedno') && (cs1a83j =='bílé') && (cs1a83f =='auto') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a83v').show('slow'); $('#vala83').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a83n').attr('disabled', true); $('#cs1a83j').attr('disabled', true); $('#cs1a83f').attr('disabled', true); $('#cs1a84n').attr('disabled', false).focus(); $('#goa83').hide(); $('#goa84').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a83x').show('slow'); $('#vala83').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a83n').attr('disabled', true); $('#cs1a83j').attr('disabled', true); $('#cs1a83f').attr('disabled', true); $('#cs1a84n').attr('disabled', false).focus(); $('#goa83').hide(); $('#goa84').addClass('point').attr('disabled', false); } }); $('#goa84').click(function() { cs1a84n = $('#cs1a84n option:selected').val(); cs1a84j = $('#cs1a84j option:selected').val(); cs1a84f = $('#cs1a84f option:selected').val(); if ( (cs1a84n == 'ures') || (cs1a84j == 'ures') || (cs1a84f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a84n =='jedno') && (cs1a84j =='malé') && (cs1a84f =='okno') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a84v').show('slow'); $('#vala84').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a84n').attr('disabled', true); $('#cs1a84j').attr('disabled', true); $('#cs1a84f').attr('disabled', true); $('#cs1a85n').attr('disabled', false).focus(); $('#goa84').hide(); $('#goa85').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a84x').show('slow'); $('#vala84').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a84n').attr('disabled', true); $('#cs1a84j').attr('disabled', true); $('#cs1a84f').attr('disabled', true); $('#cs1a85n').attr('disabled', false).focus(); $('#goa84').hide(); $('#goa85').addClass('point').attr('disabled', false); } }); $('#goa85').click(function() { cs1a85n = $('#cs1a85n option:selected').val(); cs1a85j = $('#cs1a85j option:selected').val(); cs1a85f = $('#cs1a85f option:selected').val(); if ( (cs1a85n == 'ures') || (cs1a85j == 'ures') || (cs1a85f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a85n =='jedna') && (cs1a85j =='studená') && (cs1a85f =='káva') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a85v').show('slow'); $('#vala85').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a85n').attr('disabled', true); $('#cs1a85j').attr('disabled', true); $('#cs1a85f').attr('disabled', true); $('#cs1a86n').attr('disabled', false).focus(); $('#goa85').hide(); $('#goa86').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a85x').show('slow'); $('#vala85').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a85n').attr('disabled', true); $('#cs1a85j').attr('disabled', true); $('#cs1a85f').attr('disabled', true); $('#cs1a86n').attr('disabled', false).focus(); $('#goa85').hide(); $('#goa86').addClass('point').attr('disabled', false); } }); $('#goa86').click(function() { cs1a86n = $('#cs1a86n option:selected').val(); cs1a86j = $('#cs1a86j option:selected').val(); cs1a86f = $('#cs1a86f option:selected').val(); if ( (cs1a86n == 'ures') || (cs1a86j == 'ures') || (cs1a86f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a86n =='jeden') && (cs1a86j =='ošklivý') && (cs1a86f =='dům') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a86v').show('slow'); $('#vala86').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a86n').attr('disabled', true); $('#cs1a86j').attr('disabled', true); $('#cs1a86f').attr('disabled', true); $('#cs1a87n').attr('disabled', false).focus(); $('#goa86').hide(); $('#goa87').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a86x').show('slow'); $('#vala86').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a86n').attr('disabled', true); $('#cs1a86j').attr('disabled', true); $('#cs1a86f').attr('disabled', true); $('#cs1a87n').attr('disabled', false).focus(); $('#goa86').hide(); $('#goa87').addClass('point').attr('disabled', false); } }); $('#goa87').click(function() { cs1a87n = $('#cs1a87n option:selected').val(); cs1a87j = $('#cs1a87j option:selected').val(); cs1a87f = $('#cs1a87f option:selected').val(); if ( (cs1a87n == 'ures') || (cs1a87j == 'ures') || (cs1a87f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a87n =='jeden') && (cs1a87j =='černý') && (cs1a87f =='pták') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a87v').show('slow'); $('#vala87').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a87n').attr('disabled', true); $('#cs1a87j').attr('disabled', true); $('#cs1a87f').attr('disabled', true); $('#cs1a88n').attr('disabled', false).focus(); $('#goa87').hide(); $('#goa88').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a87x').show('slow'); $('#vala87').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a87n').attr('disabled', true); $('#cs1a87j').attr('disabled', true); $('#cs1a87f').attr('disabled', true); $('#cs1a88n').attr('disabled', false).focus(); $('#goa87').hide(); $('#goa88').addClass('point').attr('disabled', false); } }); $('#goa88').click(function() { cs1a88n = $('#cs1a88n option:selected').val(); cs1a88j = $('#cs1a88j option:selected').val(); cs1a88f = $('#cs1a88f option:selected').val(); if ( (cs1a88n == 'ures') || (cs1a88j == 'ures') || (cs1a88f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a88n =='jedna') && (cs1a88j =='nízká') && (cs1a88f =='žena') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a88v').show('slow'); $('#vala88').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a88n').attr('disabled', true); $('#cs1a88j').attr('disabled', true); $('#cs1a88f').attr('disabled', true); $('#cs1a89n').attr('disabled', false).focus(); $('#goa88').hide(); $('#goa89').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a88x').show('slow'); $('#vala88').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a88n').attr('disabled', true); $('#cs1a88j').attr('disabled', true); $('#cs1a88f').attr('disabled', true); $('#cs1a89n').attr('disabled', false).focus(); $('#goa88').hide(); $('#goa89').addClass('point').attr('disabled', false); } }); $('#goa89').click(function() { cs1a89n = $('#cs1a89n option:selected').val(); cs1a89j = $('#cs1a89j option:selected').val(); cs1a89f = $('#cs1a89f option:selected').val(); if ( (cs1a89n == 'ures') || (cs1a89j == 'ures') || (cs1a89f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a89n =='jedna') && (cs1a89j =='tlustá') && (cs1a89f =='kočka') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a89v').show('slow'); $('#vala89').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a89n').attr('disabled', true); $('#cs1a89j').attr('disabled', true); $('#cs1a89f').attr('disabled', true); $('#cs1a90n').attr('disabled', false).focus(); $('#goa89').hide(); $('#goa90').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a89x').show('slow'); $('#vala89').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a89n').attr('disabled', true); $('#cs1a89j').attr('disabled', true); $('#cs1a89f').attr('disabled', true); $('#cs1a90n').attr('disabled', false).focus(); $('#goa89').hide(); $('#goa90').addClass('point').attr('disabled', false); } }); $('#goa90').click(function() { cs1a90n = $('#cs1a90n option:selected').val(); cs1a90j = $('#cs1a90j option:selected').val(); cs1a90f = $('#cs1a90f option:selected').val(); if ( (cs1a90n == 'ures') || (cs1a90j == 'ures') || (cs1a90f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a90n =='jeden') && (cs1a90j =='vysoký') && (cs1a90f =='strom') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a90v').show('slow'); $('#vala90').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a90n').attr('disabled', true); $('#cs1a90j').attr('disabled', true); $('#cs1a90f').attr('disabled', true); $('#cs1a91n').attr('disabled', false).focus(); $('#goa90').hide(); $('#goa91').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a90x').show('slow'); $('#vala90').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a90n').attr('disabled', true); $('#cs1a90j').attr('disabled', true); $('#cs1a90f').attr('disabled', true); $('#cs1a91n').attr('disabled', false).focus(); $('#goa90').hide(); $('#goa91').addClass('point').attr('disabled', false); } }); $('#goa91').click(function() { cs1a91n = $('#cs1a91n option:selected').val(); cs1a91j = $('#cs1a91j option:selected').val(); cs1a91f = $('#cs1a91f option:selected').val(); if ( (cs1a91n == 'ures') || (cs1a91j == 'ures') || (cs1a91f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a91n =='jeden') && (cs1a91j =='štíhlý') && (cs1a91f =='muž') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a91v').show('slow'); $('#vala91').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a91n').attr('disabled', true); $('#cs1a91j').attr('disabled', true); $('#cs1a91f').attr('disabled', true); $('#cs1a92n').attr('disabled', false).focus(); $('#goa91').hide(); $('#goa92').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a91x').show('slow'); $('#vala91').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a91n').attr('disabled', true); $('#cs1a91j').attr('disabled', true); $('#cs1a91f').attr('disabled', true); $('#cs1a92n').attr('disabled', false).focus(); $('#goa91').hide(); $('#goa92').addClass('point').attr('disabled', false); } }); $('#goa92').click(function() { cs1a92n = $('#cs1a92n option:selected').val(); cs1a92j = $('#cs1a92j option:selected').val(); cs1a92f = $('#cs1a92f option:selected').val(); if ( (cs1a92n == 'ures') || (cs1a92j == 'ures') || (cs1a92f == 'ures') ) { alert('Mind a háromból válassz egyet...'); } else if ( (cs1a92n =='jeden') && (cs1a92j =='starý') && (cs1a92f =='pes') ) { helyes ++; pontszam = helyes - hibas; $('#cs1a92v').show('slow'); $('#vala92').show('slow'); $('#helyes').text(helyes); $('#pontszam').text(pontszam); $('#cs1a92n').attr('disabled', true); $('#cs1a92j').attr('disabled', true); $('#cs1a92f').attr('disabled', true); $('#cs1a93n').attr('disabled', false).focus(); $('#goa92').hide(); $('#goa93').addClass('point').attr('disabled', false); } else { hibas ++; pontszam = helyes - hibas; $('#cs1a92x').show('slow'); $('#vala92').show('slow'); $('#hibas').text(hibas); $('#pontszam').text(pontszam); $('#cs1a92n').attr('disabled', true); $('#cs1a92j').attr('disabled', true); $('#cs1a92f').attr('disabled', true); $('#cs1a93n').attr('disabled', false).focus(); $('#goa92').hide(); $('#goa93').addClass('point').attr('disabled', false); } }); });