{"version":"1.0","provider_name":"Hajni suli n\u00e9met nyelvtanul\u00e1shoz","provider_url":"https:\/\/hajnisuli.cafeblog.hu","author_name":"hajninyelviskolaja","author_url":"https:\/\/hajnisuli.cafeblog.hu\/author\/hajninyelviskolaja\/","title":"Szenved\u0151 f\u0151n\u00e9vi igen\u00e9v","html":"<br><br>\n<?xml version=\"1.0\"?>\n       <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.1\/\/EN\" \"xhtml11.dtd\">\n       <html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n             xml:lang=\"en\"><head><meta name=\"author\" content=\"Created with Hot Potatoes by Half-Baked Software, registered to Michael Beck.\"><\/meta><meta name=\"keywords\" content=\"Hot Potatoes, Hot Potatoes, Half-Baked Software, Windows, University of Victoria\"><\/meta>\n\n<link rel=\"schema.DC\" href=\"http:\/\/purl.org\/dc\/elements\/1.1\/\" \/>\n<meta name=\"DC:Creator\" content=\"Michael Beck\" \/>\n<meta name=\"DC:Title\" content=\"Infinitive (Aktiv-Passiv)\" \/>\n\n\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=iso-8859-1\" \/> \n\n<title>\nInfinitive (Aktiv-Passiv)\n<\/title>\n\n<!-- Made with executable version 6.2 Release 0 Build 4 -->\n\n<!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen -->\n\n\n\n<style type=\"text\/css\">\n\n\n\/* This is the CSS stylesheet used in the exercise. *\/\n\/* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. *\/\n\n\/* BeginCorePageCSS *\/\n\n\/* Made with executable version 6.2 Release 0 Build 4 *\/\n\n\n\/* Hack to hide a nested Quicktime player from IE, which can't handle it. *\/\n* html object.MediaPlayerNotForIE {\n\tdisplay: none;\n}\n\nbody{\n\tfont-family: Arial,Geneva,sans-serif;\n\tbackground-color: #bfbfff;\n\tcolor: #400080;\n \n\tmargin-right: 5%;\n\tmargin-left: 5%;\n\tfont-size: small;\n}\n\np{\n\ttext-align: left;\n\tmargin: 0px;\n\tfont-size: 100%;\n}\n\ntable,div,span,td{\n\tfont-size: 100%;\n\tcolor: #400080;\n}\n\ndiv.Titles{\n\tpadding: 0.5em;;\n\ttext-align: center;\n\tcolor: #000000;\n}\n\nbutton{\n\tfont-family: Arial,Geneva,sans-serif;\n\tfont-size: 100%;\n\tdisplay: inline;\n}\n\n.ExerciseTitle{\n\tfont-size: 140%;\n\tcolor: #000000;\n}\n\n.ExerciseSubtitle{\n\tfont-size: 120%;\n\tcolor: #000000;\n}\n\ndiv.StdDiv{\n\tbackground-color: #FFFFFF;\n\ttext-align: center;\n\tfont-size: 100%;\n\tcolor: #400080;\n\tpadding: 0.5em;\n\tborder-style: solid;\n\tborder-width: 1px 1px 1px 1px;\n\tborder-color: #400080;\n\tmargin-bottom: 1px;\n}\n\n\/* EndCorePageCSS *\/\n\n.RTLText{\n\ttext-align: right;\n\tfont-size: 150%;\n\tdirection: rtl;\n\tfont-family: \"Simplified Arabic\", \"Traditional Arabic\", \"Times New Roman\", Arial,Geneva,sans-serif; \n}\n\n.CentredRTLText{\n\ttext-align: center;\n\tfont-size: 150%;\n\tdirection: rtl;\n\tfont-family: \"Simplified Arabic\", \"Traditional Arabic\", \"Times New Roman\", Arial,Geneva,sans-serif; \n}\n\nbutton p.RTLText{\n\ttext-align: center;\n}\n\n.RTLGapBox{\n\ttext-align: right;\n\tfont-size: 150%;\n\tdirection: rtl;\n\tfont-family: \"Times New Roman\", Arial,Geneva,sans-serif;\n}\n\n.Guess{\n\tfont-weight: bold;\n}\n\n.CorrectAnswer{\n\tfont-weight: bold;\n}\n\ndiv#Timer{\n\tpadding: 0.25em;\n\tmargin-left: auto;\n\tmargin-right: auto;\n\ttext-align: center;\n\tcolor: #000000;\n}\n\nspan#TimerText{\n\tpadding: 0.25em;\n\tborder-width: 1px;\n\tborder-style: solid;\n\tfont-weight: bold;\n\tdisplay: none;\n\tcolor: #000000;\n}\n\nspan.Instructions{\n\n}\n\ndiv.ExerciseText{\n\n}\n\n.FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{\n\tcolor: #000000;\n}\n\n.LeftItem{\n\tfont-size: 100%;\n\tcolor: #400080;\n\ttext-align: left;\n}\n\n.RightItem{\n\tfont-weight: bold;\n\tfont-size: 100%;\n\tcolor: #400080;\n}\n\nspan.CorrectMark{\n\n}\n\ninput, textarea{\n\tfont-family: Arial,Geneva,sans-serif;\n\tfont-size: 120%;\n}\n\nselect{\n\tfont-size: 100%;\n}\n\ndiv.Feedback {\n\tbackground-color: #bfbfff;\n\tleft: 33%;\n\twidth: 34%;\n\ttop: 33%;\n\tz-index: 1;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tpadding: 5px;\n\ttext-align: center;\n\tcolor: #000000;\n\tposition: absolute;\n\tdisplay: none;\n\tfont-size: 100%;\n}\n\n\n\n\ndiv.ExerciseDiv{\n\tcolor: #400080;\n}\n\n\/* JMatch flashcard styles *\/\ntable.FlashcardTable{\n\tbackground-color: transparent;\n\tcolor: #400080;\n\tborder-color: #400080;\n\tmargin-left: 5%;\n\tmargin-right: 5%;\n\tmargin-top: 2em;\n\tmargin-bottom: 2em;\n\twidth: 90%;\n\tposition: relative;\n\ttext-align: center;\n\tpadding: 0px;\n}\n\ntable.FlashcardTable tr{\n\tborder-style: none;\n\tmargin: 0px;\n\tpadding: 0px;\n\tbackground-color: #FFFFFF;\n}\n\ntable.FlashcardTable td.Showing{\n\tfont-size: 140%;\n\ttext-align: center;\n\twidth: 50%;\n\tdisplay: table-cell;\n\tpadding: 2em;\n\tmargin: 0px;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tcolor: #400080;\n\tbackground-color: #FFFFFF;\n}\n\ntable.FlashcardTable td.Hidden{\n\tdisplay: none;\n}\n\n\/* JMix styles *\/\ndiv#SegmentDiv{\n\tmargin-top: 2em;\n\tmargin-bottom: 2em;\n\ttext-align: center;\n}\n\na.ExSegment{\n\tfont-size: 120%;\n\tfont-weight: bold;\n\ttext-decoration: none;\n\tcolor: #400080;\n}\n\nspan.RemainingWordList{\n\tfont-style: italic;\n}\n\ndiv.DropLine {\n\tposition: absolute;\n\ttext-align: center;\n\tborder-bottom-style: solid;\n\tborder-bottom-width: 1px;\n\tborder-bottom-color: #000000;\n\twidth: 80%;\n}\n\n\/* JCloze styles *\/\n\n.ClozeWordList{\n\ttext-align: center;\n\tfont-weight: bold;\n}\n\ndiv.ClozeBody{\n\ttext-align: left;\n\tmargin-top: 2em;\n\tmargin-bottom: 2em;\n\tline-height: 2.0\n}\n\nspan.GapSpan{\n\tfont-weight: bold;\n}\n\n\/* JCross styles *\/\n\ntable.CrosswordGrid{\n\tmargin: auto auto 1em auto;\n\tborder-collapse: collapse;\n\tpadding: 0px;\n\tbackground-color: #000000;\n}\n\ntable.CrosswordGrid tbody tr td{\n\twidth: 1.5em;\n\theight: 1.5em;\n\ttext-align: center;\n\tvertical-align: middle;\n\tfont-size: 140%;\n\tpadding: 1px;\n\tmargin: 0px;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-color: #000000;\n\tcolor: #000000;\n}\n\ntable.CrosswordGrid span{\n\tcolor: #000000;\n}\n\ntable.CrosswordGrid td.BlankCell{\n\tbackground-color: #000000;\n\tcolor: #000000;\n}\n\ntable.CrosswordGrid td.LetterOnlyCell{\n\ttext-align: center;\n\tvertical-align: middle;\n\tbackground-color: #ffffff;\n\tcolor: #000000;\n\tfont-weight: bold;\n}\n\ntable.CrosswordGrid td.NumLetterCell{\n\ttext-align: left;\n\tvertical-align: top;\n\tbackground-color: #ffffff;\n\tcolor: #000000;\n\tpadding: 1px;\n\tfont-weight: bold;\n}\n\n.NumLetterCellText{\n\tcursor: pointer;\n\tcolor: #000000;\n}\n\n.GridNum{\n\tvertical-align: super;\n\tfont-size: 66%;\n\tfont-weight: bold;\n\ttext-decoration: none;\n\tcolor: #000000;\n}\n\n.GridNum:hover, .GridNum:visited{\n\tcolor: #000000;\n}\n\ntable#Clues{\n\tmargin: auto;\n\tvertical-align: top;\n}\n\ntable#Clues td{\n\tvertical-align: top;\n}\n\ntable.ClueList{\n  margin: auto;\n}\n\ntd.ClueNum{\n\ttext-align: right;\n\tfont-weight: bold;\n\tvertical-align: top;\n}\n\ntd.Clue{\n\ttext-align: left;\n}\n\ndiv#ClueEntry{\n\ttext-align: left;\n\tmargin-bottom: 1em;\n}\n\n\/* Keypad styles *\/\n\ndiv.Keypad{\n\ttext-align: center;\n\tdisplay: none; \/* initially hidden, shown if needed *\/\n\tmargin-bottom: 0.5em;\n}\n\ndiv.Keypad button{\n\tfont-family: Arial,Geneva,sans-serif;\n\tfont-size: 120%;\n\tbackground-color: #ffffff;\n\tcolor: #000000;\n\twidth: 2em;\n}\n\n\/* JQuiz styles *\/\n\ndiv.QuestionNavigation{\n\ttext-align: center;\n}\n\n.QNum{\n\tmargin: 0em 1em 0.5em 1em;\n\tfont-weight: bold;\n\tvertical-align: middle;\n}\n\ntextarea{\n\tfont-family: Arial,Geneva,sans-serif;\n}\n\n.QuestionText{\n\ttext-align: left;\n\tmargin: 0px;\n\tfont-size: 100%;\n}\n\n.Answer{\n\tfont-size: 120%;\n\tletter-spacing: 0.1em;\n}\n\n.PartialAnswer{\n\tfont-size: 120%;\n\tletter-spacing: 0.1em;\n\tcolor: #000000;\n}\n\n.Highlight{\n\tcolor: #000000;\n\tbackground-color: #ffff00;\n\tfont-weight: bold;\n\tfont-size: 120%;\n}\n\nol.QuizQuestions{\n\ttext-align: left;\n\tlist-style-type: none;\n}\n\nli.QuizQuestion{\n\tpadding: 1em;\n\tborder-style: solid;\n\tborder-width: 0px 0px 1px 0px;\n}\n\nol.MCAnswers{\n\ttext-align: left;\n\tlist-style-type: upper-alpha;\n\tpadding: 1em;\n}\n\nol.MCAnswers li{\n\tmargin-bottom: 1em;\n}\n\nol.MSelAnswers{\n\ttext-align: left;\n\tlist-style-type: lower-alpha;\n\tpadding: 1em;\n}\n\ndiv.ShortAnswer{\n\tpadding: 1em;\n}\n\n.FuncButton {\n\ttext-align: center;\n\tborder-style: solid;\n\n\tborder-left-color: #ffffff;\n\tborder-top-color: #ffffff;\n\tborder-right-color: #7f7f7f;\n\tborder-bottom-color: #7f7f7f;\n\tcolor: #400080;\n\tbackground-color: #FFFFFF;\n\n\tborder-width: 2px;\n\tpadding: 3px 6px 3px 6px;\n\tcursor: pointer;\n}\n\n.FuncButtonUp {\n\tcolor: #FFFFFF;\n\ttext-align: center;\n\tborder-style: solid;\n\n\tborder-left-color: #ffffff;\n\tborder-top-color: #ffffff;\n\tborder-right-color: #7f7f7f;\n\tborder-bottom-color: #7f7f7f;\n\n\tbackground-color: #400080;\n\tcolor: #FFFFFF;\n\tborder-width: 2px;\n\tpadding: 3px 6px 3px 6px;\n\tcursor: pointer;\n}\n\n.FuncButtonDown {\n\tcolor: #FFFFFF;\n\ttext-align: center;\n\tborder-style: solid;\n\n\tborder-left-color: #7f7f7f;\n\tborder-top-color: #7f7f7f;\n\tborder-right-color: #ffffff;\n\tborder-bottom-color: #ffffff;\n\tbackground-color: #400080;\n\tcolor: #FFFFFF;\n\n\tborder-width: 2px;\n\tpadding: 3px 6px 3px 6px;\n\tcursor: pointer;\n}\n\n\/*BeginNavBarStyle*\/\n\ndiv.NavButtonBar{\n\tbackground-color: #400080;\n\ttext-align: center;\n\tmargin: 2px 0px 2px 0px;\n\tclear: both;\n\tfont-size: 100%;\n}\n\n.NavButton {\n\tborder-style: solid;\n\t\n\tborder-left-color: #9f7fbf;\n\tborder-top-color: #9f7fbf;\n\tborder-right-color: #200040;\n\tborder-bottom-color: #200040;\n\tbackground-color: #400080;\n\tcolor: #ffffff;\n\n\tborder-width: 2px;\n\tcursor: pointer;\t\n}\n\n.NavButtonUp {\n\tborder-style: solid;\n\n\tborder-left-color: #9f7fbf;\n\tborder-top-color: #9f7fbf;\n\tborder-right-color: #200040;\n\tborder-bottom-color: #200040;\n\tcolor: #400080;\n\tbackground-color: #ffffff;\n\n\tborder-width: 2px;\n\tcursor: pointer;\t\n}\n\n.NavButtonDown {\n\tborder-style: solid;\n\n\tborder-left-color: #200040;\n\tborder-top-color: #200040;\n\tborder-right-color: #9f7fbf;\n\tborder-bottom-color: #9f7fbf;\n\tcolor: #400080;\n\tbackground-color: #ffffff;\n\n\tborder-width: 2px;\n\tcursor: pointer;\t\n}\n\n\/*EndNavBarStyle*\/\n\na{\n\tcolor: #0000FF;\n}\n\na:visited{\n\tcolor: #0000CC;\n}\n\na:hover{\n\tcolor: #0000FF;\n}\n\ndiv.CardStyle {\n\tposition: absolute;\n\tfont-family: Arial,Geneva,sans-serif;\n\tfont-size: 100%;\n\tpadding: 5px;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tcolor: #400080;\n\tbackground-color: #FFFFFF;\n\tleft: -50px;\n\ttop: -50px;\n\toverflow: visible;\n}\n\n.rtl{\n\ttext-align: right;\n\tfont-size: 140%;\n}\n\n\n<\/style>\n\n<script type=\"text\/javascript\">\n\n\/\/<![CDATA[\n\n<!--\n\n\n\n\nfunction Client(){\n\/\/if not a DOM browser, hopeless\n\tthis.min = false; if (document.getElementById){this.min = true;};\n\n\tthis.ua = navigator.userAgent;\n\tthis.name = navigator.appName;\n\tthis.ver = navigator.appVersion;  \n\n\/\/Get data about the browser\n\tthis.mac = (this.ver.indexOf('Mac') != -1);\n\tthis.win = (this.ver.indexOf('Windows') != -1);\n\n\/\/Look for Gecko\n\tthis.gecko = (this.ua.indexOf('Gecko') > 1);\n\tif (this.gecko){\n\t\tthis.geckoVer = parseInt(this.ua.substring(this.ua.indexOf('Gecko')+6, this.ua.length));\n\t\tif (this.geckoVer < 20020000){this.min = false;}\n\t}\n\t\n\/\/Look for Firebird\n\tthis.firebird = (this.ua.indexOf('Firebird') > 1);\n\t\n\/\/Look for Safari\n\tthis.safari = (this.ua.indexOf('Safari') > 1);\n\tif (this.safari){\n\t\tthis.gecko = false;\n\t}\n\t\n\/\/Look for IE\n\tthis.ie = (this.ua.indexOf('MSIE') > 0);\n\tif (this.ie){\n\t\tthis.ieVer = parseFloat(this.ua.substring(this.ua.indexOf('MSIE')+5, this.ua.length));\n\t\tif (this.ieVer < 5.5){this.min = false;}\n\t}\n\t\n\/\/Look for Opera\n\tthis.opera = (this.ua.indexOf('Opera') > 0);\n\tif (this.opera){\n\t\tthis.operaVer = parseFloat(this.ua.substring(this.ua.indexOf('Opera')+6, this.ua.length));\n\t\tif (this.operaVer < 7.04){this.min = false;}\n\t}\n\tif (this.min == false){\n\t\talert('Your browser may not be able to handle this page.');\n\t}\n\t\n\/\/Special case for the horrible ie5mac\n\tthis.ie5mac = (this.ie&&this.mac&&(this.ieVer<6));\n}\n\nvar C = new Client();\n\n\/\/for (prop in C){\n\/\/\talert(prop + ': ' + C[prop]);\n\/\/}\n\n\n\n\/\/CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS\n\n\/\/[strNavBarJS]\nfunction NavBtnOver(Btn){\n\tif (Btn.className != 'NavButtonDown'){Btn.className = 'NavButtonUp';}\n}\n\nfunction NavBtnOut(Btn){\n\tBtn.className = 'NavButton';\n}\n\nfunction NavBtnDown(Btn){\n\tBtn.className = 'NavButtonDown';\n}\n\/\/[\/strNavBarJS]\n\nfunction FuncBtnOver(Btn){\n\tif (Btn.className != 'FuncButtonDown'){Btn.className = 'FuncButtonUp';}\n}\n\nfunction FuncBtnOut(Btn){\n\tBtn.className = 'FuncButton';\n}\n\nfunction FuncBtnDown(Btn){\n\tBtn.className = 'FuncButtonDown';\n}\n\nfunction FocusAButton(){\n\tif (document.getElementById('CheckButton1') != null){\n\t\tdocument.getElementById('CheckButton1').focus();\n\t}\n\telse{\n\t\tif (document.getElementById('CheckButton2') != null){\n\t\t\tdocument.getElementById('CheckButton2').focus();\n\t\t}\n\t\telse{\n\t\t\tdocument.getElementsByTagName('button')[0].focus();\n\t\t}\n\t}\n}\n\n\n\n\n\/\/CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX\n\nvar topZ = 1000;\n\nfunction ShowMessage(Feedback){\n\tvar Output = Feedback + '<br \/><br \/>';\n\tdocument.getElementById('FeedbackContent').innerHTML = Output;\n\tvar FDiv = document.getElementById('FeedbackDiv');\n\ttopZ++;\n\tFDiv.style.zIndex = topZ;\n\tFDiv.style.top = TopSettingWithScrollOffset(30) + 'px';\n\n\tFDiv.style.display = 'block';\n\n\tShowElements(false, 'input');\n\tShowElements(false, 'select');\n\tShowElements(false, 'object');\n\n\/\/Focus the OK button\n\tsetTimeout(\"document.getElementById('FeedbackOKButton').focus()\", 50);\n\t\n\/\/\n}\n\n\/\/Added code to work around Quicktime bug for 6.0.4.24.\nfunction ShowElements(Show, TagName){\n\/\/Special for IE bug -- hide all the form elements that will show through the popup\n\tif ((C.ie)||(TagName == 'object')){\n\t\tvar Els = document.getElementsByTagName(TagName);\n\t\tfor (var i=0; i<Els.length; i++){\n\t\t\tif (Show == true){\n\t\t\t\tEls[i].style.visibility = 'visible';\n\t\t\t}\n\t\t\telse{\n\t\t\t\tEls[i].style.visibility = 'hidden';\n\t\t\t}\n\t\t}\n\t} \n}\n\nfunction HideFeedback(){\n\tdocument.getElementById('FeedbackDiv').style.display = 'none';\n\tShowElements(true, 'input');\n\tShowElements(true, 'select');\n\tShowElements(true, 'object');\n\tif (Finished == true){\n\t\tFinish();\n\t}\n}\n\n\n\/\/GENERAL UTILITY FUNCTIONS AND VARIABLES\n\n\/\/PAGE DIMENSION FUNCTIONS\nfunction PageDim(){\n\/\/Get the page width and height\n\tthis.W = 600;\n\tthis.H = 400;\n\tthis.W = document.getElementsByTagName('body')[0].clientWidth;\n\tthis.H = document.getElementsByTagName('body')[0].clientHeight;\n}\n\nvar pg = null;\n\nfunction GetPageXY(El) {\n\tvar XY = {x: 0, y: 0};\n\twhile(El){\n\t\tXY.x += El.offsetLeft;\n\t\tXY.y += El.offsetTop;\n\t\tEl = El.offsetParent;\n\t}\n\treturn XY;\n}\n\nfunction GetScrollTop(){\n\tif (document.documentElement && document.documentElement.scrollTop){\n\t\treturn document.documentElement.scrollTop;\n\t}\n\telse{\n\t\tif (document.body){\n \t\t\treturn document.body.scrollTop;\n\t\t}\n\t\telse{\n\t\t\treturn window.pageYOffset;\n\t\t}\n\t}\n}\n\nfunction GetViewportHeight(){\n\tif (window.innerHeight){\n\t\treturn window.innerHeight;\n\t}\n\telse{\n\t\treturn document.getElementsByTagName('body')[0].clientHeight;\n\t}\n}\n\nfunction TopSettingWithScrollOffset(TopPercent){\n\tvar T = Math.floor(GetViewportHeight() * (TopPercent\/100));\n\treturn GetScrollTop() + T; \n}\n\n\/\/CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back()\nvar InTextBox = false;\n\nfunction SuppressBackspace(e){ \n\tif (InTextBox == true){return;}\n\tif (C.ie) {\n\t\tthisKey = window.event.keyCode;\n\t}\n\telse {\n\t\tthisKey = e.keyCode;\n\t}\n\n\tvar Suppress = false;\n\n\tif (thisKey == 8) {\n\t\tSuppress = true;\n\t}\n\n\tif (Suppress == true){\n\t\tif (C.ie){\n\t\t\twindow.event.returnValue = false;\t\n\t\t\twindow.event.cancelBubble = true;\n\t\t}\n\t\telse{\n\t\t\te.preventDefault();\n\t\t}\n\t}\n}\n\nif (C.ie){\n\tdocument.attachEvent('onkeydown',SuppressBackspace);\n\twindow.attachEvent('onkeydown',SuppressBackspace);\n}\nelse{\n\tif (window.addEventListener){\n\t\twindow.addEventListener('keypress',SuppressBackspace,false);\n\t}\n}\n\nfunction ReduceItems(InArray, ReduceToSize){\n\tvar ItemToDump=0;\n\tvar j=0;\n\twhile (InArray.length > ReduceToSize){\n\t\tItemToDump = Math.floor(InArray.length*Math.random());\n\t\tInArray.splice(ItemToDump, 1);\n\t}\n}\n\nfunction Shuffle(InArray){\n\tvar Num;\n\tvar Temp = new Array();\n\tvar Len = InArray.length;\n\n\tvar j = Len;\n\n\tfor (var i=0; i<Len; i++){\n\t\tTemp[i] = InArray[i];\n\t}\n\n\tfor (i=0; i<Len; i++){\n\t\tNum = Math.floor(j  *  Math.random());\n\t\tInArray[i] = Temp[Num];\n\n\t\tfor (var k=Num; k < (j-1); k++) {\n\t\t\tTemp[k] = Temp[k+1];\n\t\t}\n\t\tj--;\n\t}\n\treturn InArray;\n}\n\nfunction WriteToInstructions(Feedback) {\n\tdocument.getElementById('InstructionsDiv').innerHTML = Feedback;\n\n}\n\n\n\n\nfunction EscapeDoubleQuotes(InString){\n\treturn InString.replace(\/\"\/g, '&quot;')\n}\n\nfunction TrimString(InString){\n        var x = 0;\n\n        if (InString.length != 0) {\n                while ((InString.charAt(InString.length - 1) == 'u0020') || (InString.charAt(InString.length - 1) == 'u000A') || (InString.charAt(InString.length - 1) == 'u000D')){\n                        InString = InString.substring(0, InString.length - 1)\n                }\n\n                while ((InString.charAt(0) == 'u0020') || (InString.charAt(0) == 'u000A') || (InString.charAt(0) == 'u000D')){\n                        InString = InString.substring(1, InString.length)\n                }\n\n                while (InString.indexOf('  ') != -1) {\n                        x = InString.indexOf('  ')\n                        InString = InString.substring(0, x) + InString.substring(x+1, InString.length)\n                 }\n\n                return InString;\n        }\n\n        else {\n                return '';\n        }\n}\n\nfunction FindLongest(InArray){\n\tif (InArray.length < 1){return -1;}\n\n\tvar Longest = 0;\n\tfor (var i=1; i<InArray.length; i++){\n\t\tif (InArray[i].length > InArray[Longest].length){\n\t\t\tLongest = i;\n\t\t}\n\t}\n\treturn Longest;\n}\n\n\/\/UNICODE CHARACTER FUNCTIONS\nfunction IsCombiningDiacritic(CharNum){\n\tvar Result = (((CharNum >= 0x0300)&&(CharNum <= 0x370))||((CharNum >= 0x20d0)&&(CharNum <= 0x20ff)));\n\tResult = Result || (((CharNum >= 0x3099)&&(CharNum <= 0x309a))||((CharNum >= 0xfe20)&&(CharNum <= 0xfe23)));\n\treturn Result;\n}\n\nfunction IsCJK(CharNum){\n\treturn ((CharNum >= 0x3000)&&(CharNum < 0xd800));\n}\n\n\/\/SETUP FUNCTIONS\n\/\/BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED\nfunction ClearTextBoxes(){\n\tvar NList = document.getElementsByTagName('input');\n\tfor (var i=0; i<NList.length; i++){\n\t\tif ((NList[i].id.indexOf('Guess') > -1)||(NList[i].id.indexOf('Gap') > -1)){\n\t\t\tNList[i].value = '';\n\t\t}\n\t\tif (NList[i].id.indexOf('Chk') > -1){\n\t\t\tNList[i].checked = '';\n\t\t}\n\t}\n}\n\n\/\/EXTENSION TO ARRAY OBJECT\nfunction Array_IndexOf(Input){\n\tvar Result = -1;\n\tfor (var i=0; i<this.length; i++){\n\t\tif (this[i] == Input){\n\t\t\tResult = i;\n\t\t}\n\t}\n\treturn Result;\n}\nArray.prototype.indexOf = Array_IndexOf;\n\n\/\/IE HAS RENDERING BUG WITH BOTTOM NAVBAR\nfunction RemoveBottomNavBarForIE(){\n\tif ((C.ie)&&(document.getElementById('Reading') != null)){\n\t\tif (document.getElementById('BottomNavBar') != null){\n\t\t\tdocument.getElementById('TheBody').removeChild(document.getElementById('BottomNavBar'));\n\t\t}\n\t}\n}\n\n\n\n\n\/\/HOTPOTNET-RELATED CODE\n\nvar HPNStartTime = (new Date()).getTime();\nvar SubmissionTimeout = 30000;\nvar Detail = ''; \/\/Global that is used to submit tracking data\n\nfunction Finish(){\n\/\/If there's a form, fill it out and submit it\n\tif (document.store != null){\n\t\tFrm = document.store;\n\t\tFrm.starttime.value = HPNStartTime;\n\t\tFrm.endtime.value = (new Date()).getTime();\n\t\tFrm.mark.value = Score;\n\t\tFrm.detail.value = Detail;\n\t\tFrm.submit();\n\t}\n}\n\n\n\n\n\n\/\/JMATCH CORE JAVASCRIPT CODE\n\nvar CorrectIndicator = ':-)';\nvar IncorrectIndicator = 'X';\nvar YourScoreIs = 'Eredm&#x00E9;nyed:';\nvar CorrectResponse = 'Helyes! J&#x00F3; munka volt!';\nvar IncorrectResponse = 'Nem, sajnos nem j&#x00F3; a megold&#x00E1;s!';\nvar TotalUnfixedLeftItems = 0;\nvar TotCorrectChoices = 0;\nvar Penalties = 0;\nvar Finished = false;\nvar TimeOver = false;\n\nvar Score = 0;\nvar Locked = false;\nvar ShuffleQs = false;\nvar QsToShow = 8;\n\n\nfunction StartUp(){\n\tRemoveBottomNavBarForIE();\n\n\n\t\n\n\n\n\n\tSetUpItems(ShuffleQs,QsToShow);\n\n\tTotalUnfixedLeftItems = document.getElementById('MatchDiv').getElementsByTagName('select').length;\n\n\/\/Create arrays\n\tCreateStatusArrays();\n\n\n}\n\nStatus = new Array();\n\n\nfunction CreateStatusArrays(){\n\tvar Selects = document.getElementById('Questions').getElementsByTagName('select');\n\tfor (var x=0; x<Selects.length; x++){\n\t\tStatus[x] = new Array();\n\t\tStatus[x][0] = 0; \/\/ Item not matched correctly yet\n\t\tStatus[x][1] = 0; \/\/Tries at this item so far\n\t\tStatus[x][2] = Selects[x].id; \/\/Store a ref to the original drop-down\n\t\tStatus[x][3] = new Array(); \/\/Sequence of guesses for this item\n\t}\n}\n\nfunction GetKeyFromSelectContainer(Container){\n\tvar Result = -1;\n\tif (Container.getElementsByTagName('select').length > 0){\n\t\tvar Select = Container.getElementsByTagName('select')[0];\n\t\tif (Select != null){\n\t\t\tResult = parseInt(Select.id.substring(1, Select.id.length));\n\t\t}\n\t}\n\treturn Result;\n}\n\nfunction GetKeyFromSelect(Select){\n\tvar Result = -1;\n\tif (Select != null){\n\t\tResult = parseInt(Select.id.substring(1, Select.id.length));\n\t}\n\treturn Result;\n}\n\nvar OriginalKeys = new Array();\nvar ReducedKeys = new Array();\n\nfunction GetUniqueKeys(Container, TargetArray){\n\tTargetArray.length = 0;\n\tvar x = -1;\n\tvar SList = Container.getElementsByTagName('select');\n\tif (SList.length > 0){\n\t\tfor (var i=0; i<SList.length; i++){\n\t\t\tx = GetKeyFromSelect(SList[i]);\n\t\t\tif (TargetArray.indexOf(x) < 0){\n\t\t\t\tTargetArray.push(x);\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction SetUpItems(ShuffleQs, ReduceTo){\n\tvar QList = new Array();\n\tvar i, j, k, Selects, Options;\n\n\/\/Remove all the table rows and put them in an array for processing\n\tvar Qs = document.getElementById('Questions');\n\t\n\/\/First, get a list of keys\n\tGetUniqueKeys(Qs, OriginalKeys);\n\n\/\/Remove the table rows to an array\n\twhile (Qs.getElementsByTagName('tr').length > 0){\n\t\tQList.push(Qs.removeChild(Qs.getElementsByTagName('tr')[0]));\n\t}\n\n\tvar Reducing = (QList.length > ReduceTo);\n\t\n\/\/If required, select random rows to delete\n\tif (Reducing == true){\n\t\tvar DumpItem = 0;\n\t\twhile (ReduceTo < QList.length){\n\t\n\/\/Get a number to delete from the array\n\t\t\tDumpItem = Math.floor(QList.length*Math.random());\n\t\t\tfor (i=DumpItem; i<(QList.length-1); i++){\n\t\t\t\tQList[i] = QList[i+1];\n\t\t\t}\n\t\t\tQList.length = QList.length-1;\n\t\t}\n\t}\n\/\/Shuffle the rows if necessary\n\tif (ShuffleQs == true){\n\t\tQList = Shuffle(QList);\n\t}\n\n\tTotalUnfixedLeftItems = QList.length;\n\t\n\/\/Write the rows back to the table body\n\tfor (i=0; i<QList.length; i++){\n\t\tQs.appendChild(QList[i]);\n\t}\n\t\n\/\/Now we need to remove any drop-down options that no longer have associated select items\n\tif (Reducing == true){\n\t\tGetUniqueKeys(Qs, ReducedKeys);\n\t\t\n\t\tSelects = Qs.getElementsByTagName('select');\n\t\tfor (i=0; i<Selects.length; i++){\n\t\t\tOptions = Selects[i].getElementsByTagName('option');\n\t\t\tfor (j=Options.length-1; j>=0; j--){\n\t\t\t\tif (OptionRequired(Options[j].value) == false){\n\t\t\t\t\tSelects[i].removeChild(Options[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction OptionRequired(Key){\n\tif (ReducedKeys.indexOf(Key) > -1){\n\t\treturn true;\n\t}\n\telse{\n\t\tif (OriginalKeys.indexOf(Key) > -1){\n\t\t\treturn false;\n\t\t}\n\t\telse{\n\t\t\treturn true;\n\t\t}\n\t}\n}\n\nfunction CheckAnswers(){\n\tif (Locked == true){return;}\n\tvar Select = null;\n\tvar Key = -1;\n\tvar Parent = null;\n\tvar Answer = null;\n\tvar AnsText = '';\n\tvar AllDone = true;\n\tTotCorrectChoices = 0;\n\t\n\/\/for each item not fixed or a distractor\n\tfor (var i=0; i<Status.length; i++){\n\t\n\/\/if it hasn't been answered correctly yet\n\t\tif (Status[i][0] < 1){\n\t\t\n\/\/Add one to the number of tries for this item\n\t\t\tStatus[i][1]++;\n\t\t\t\n\/\/Get a pointer to the drop-down\n\t\t\tSelect = document.getElementById(Status[i][2]);\n\t\t\tKey = GetKeyFromSelect(Select);\n\/\/Save the answer given\n\t\t\tStatus[i][3].push(Select.options[Select.selectedIndex].value);\n\t\t\t\n\/\/Check the answer\n\t\t\tif (Select.options[Select.selectedIndex].value == Key){\n\t\t\t\t\tStatus[i][0] = 1;\n\t\t\t\t\tAnsText = Select.options[Select.selectedIndex].innerHTML;\n\t\t\t\t\tParent = Select.parentNode;\n\t\t\t\t\tParent.removeChild(Select);\n\t\t\t\t\tParent.innerHTML = AnsText;\n\t\t\t\t\tParent.nextSibling.innerHTML = CorrectIndicator;\n\t\t\t} \n\t\t\telse{\n\t\t\t\tAllDone = false;\n\t\t\t\tParent = Select.parentNode;\n\t\t\t\tParent.nextSibling.innerHTML = IncorrectIndicator;\n\t\t\t}\n\t\t}\n\t\telse{\n\/\/Add a copy of the last (correct) answer.\n\t\t\tStatus[i][3].push(Status[i][3][Status[i][3].length-1]);\n\t\t}\n\/\/If it's correct, count it\n\t\tif (Status[i][0] == 1){\n\t\t\tTotCorrectChoices++;\n\t\t}\n\t}\n\/\/Calculate the score\n\tScore = Math.floor(((TotCorrectChoices-Penalties)\/TotalUnfixedLeftItems)*100);\n\tif (Score<0){Score = 0;}\n\tvar Feedback = '';\n\n\/\/Build the feedback\n\tif (AllDone == true){\n\t\tFeedback = CorrectResponse + '<br \/>' + YourScoreIs + Score + '%.';\n\t}\n\telse{\n\t\tFeedback = IncorrectResponse + '<br \/>' + YourScoreIs + Score + '%.';\n\/\/Penalty for incorrect check\n\t\tPenalties++;\n\t}\n\n\/\/If the exercise is over, deal with that\n\tif ((AllDone == true)||(TimeOver == true)){\n\n\n\t\tTimeOver = true;\n\t\tLocked = true;\n\t\tFinished = true;\n\t\tsetTimeout('Finish()', SubmissionTimeout);\n\t\tWriteToInstructions(Feedback);\n\t}\n\n\/\/Show the feedback\n\tShowMessage(Feedback);\n\t\n\n}\n\n\n\n\n\n\n\n\n\n\/\/-->\n\n\/\/]]>\n\n<\/script>\n\n\n<\/head>\n\n<body onload=\"StartUp()\" id=\"TheBody\" >\n\n<!-- BeginTopNavButtons -->\n\n<div class=\"NavButtonBar\" id=\"TopNavBar\">\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\" onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"history.back(); return false;\">Vissza<\/button>\n\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\"  onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"location='www.abbcenter.com\/nyelvtanulas'; return false;\"> Index <\/button>\n\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\" onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"location='http:\/\/www.lingvico.hu'; return false;\">K&#x00F6;vetkez&#x0151; feladat<\/button>\n\n\n<\/div>\n\n\n\n<!-- EndTopNavButtons -->\n\n<div class=\"Titles\">\n\t<h2 class=\"ExerciseTitle\">Infinitive (Aktiv-Passiv)<\/h2>\n\n\t<h3 class=\"ExerciseSubtitle\">P&#x00E1;ros&#x00ED;t&#x00F3;s feladat<\/h3>\n\n\n\n<\/div>\n\n<div id=\"InstructionsDiv\" class=\"StdDiv\">\n\t<div id=\"Instructions\">Keresse meg az &#x00F6;sszeill&#x0151; p&#x00E1;rokat!<\/div>\n<\/div>\n\n\n\n<div id=\"MainDiv\" class=\"StdDiv\">\n\n<button id=\"CheckButton1\" class=\"FuncButton\" onmouseover=\"FuncBtnOver(this)\" onfocus=\"FuncBtnOver(this)\" onmouseout=\"FuncBtnOut(this)\" onblur=\"FuncBtnOut(this)\" onmousedown=\"FuncBtnDown(this)\" onmouseup=\"FuncBtnOut(this)\" onclick=\"CheckAnswers()\">&nbsp;Ellen&#x0151;rz&#x00E9;s&nbsp;<\/button>\n\n<div id=\"MatchDiv\" style=\"text-align: center;\">\n\n<form id=\"QForm\" method=\"post\" action=\"\" onsubmit=\"return false;\">\n<table border=\"0\" style=\"margin: 2em auto 2em auto;\"><tbody id=\"Questions\">\n\n<tr><td class=\"LeftItem\">lernen<\/td><td class=\"RightItem\"><select id=\"s0_0\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">kaufen<\/td><td class=\"RightItem\"><select id=\"s1_1\"><option value=\"x\">???<br \/><\/option>\n\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">l&#x00F6;sen<\/td><td class=\"RightItem\"><select id=\"s2_2\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">kochen<\/td><td class=\"RightItem\"><select id=\"s3_3\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">bauen<\/td><td class=\"RightItem\"><select id=\"s4_4\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">stellen<\/td><td class=\"RightItem\"><select id=\"s5_5\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">putzen<\/td><td class=\"RightItem\"><select id=\"s6_6\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n<option value=\"7\">gelesen werden<\/option>\n\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr><tr><td class=\"LeftItem\">lesen <\/td><td class=\"RightItem\"><select id=\"s7_7\"><option value=\"x\">???<br \/><\/option>\n<option value=\"1\">gekauft werden<\/option>\n<option value=\"5\">gestellt werden<\/option>\n\n<option value=\"7\">gelesen werden<\/option>\n<option value=\"0\">gelernt werden<\/option>\n<option value=\"3\">gekocht werden<\/option>\n<option value=\"4\">gebaut werden<\/option>\n<option value=\"6\">geputzt werden<\/option>\n<option value=\"2\">gel&#x00F6;st werden <\/option>\n<\/select><\/td><td><\/td><\/tr>\n\n<\/tbody><\/table>\n<\/form>\n\n<\/div>\n\n<button id=\"CheckButton2\" class=\"FuncButton\" onmouseover=\"FuncBtnOver(this)\" onfocus=\"FuncBtnOver(this)\" onmouseout=\"FuncBtnOut(this)\" onblur=\"FuncBtnOut(this)\" onmousedown=\"FuncBtnDown(this)\" onmouseup=\"FuncBtnOut(this)\" onclick=\"CheckAnswers()\">&nbsp;Ellen&#x0151;rz&#x00E9;s&nbsp;<\/button>\n\n<\/div>\n\n\n\n<div class=\"Feedback\" id=\"FeedbackDiv\">\n<div class=\"FeedbackText\" id=\"FeedbackContent\"><\/div>\n<button id=\"FeedbackOKButton\" class=\"FuncButton\" onfocus=\"FuncBtnOver(this)\" onblur=\"FuncBtnOut(this)\" onmouseover=\"FuncBtnOver(this)\" onmouseout=\"FuncBtnOut(this)\" onmousedown=\"FuncBtnDown(this)\" onmouseup=\"FuncBtnOut(this)\" onclick=\"HideFeedback(); return false;\">&nbsp;Rendben&nbsp;<\/button>\n<\/div>\n\n<!-- BeginBottomNavButtons -->\n\n\n<div class=\"NavButtonBar\" id=\"BottomNavBar\">\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\" onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"history.back(); return false;\">Vissza<\/button>\n\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\"  onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"location='www.abbcenter.com\/nyelvtanulas'; return false;\"> Index <\/button>\n\n\n\n<button class=\"NavButton\" onfocus=\"NavBtnOver(this)\" onblur=\"NavBtnOut(this)\" onmouseover=\"NavBtnOver(this)\" onmouseout=\"NavBtnOut(this)\" onmousedown=\"NavBtnDown(this)\" onmouseup=\"NavBtnOut(this)\" onclick=\"location='http:\/\/www.lingvico.hu'; return false;\">K&#x00F6;vetkez&#x0151; feladat<\/button>\n\n\n<\/div>\n\n\n\n<!-- EndBottomNavButtons -->\n\n<!-- BeginSubmissionForm -->\n\n<!-- EndSubmissionForm -->\n\n<\/body>\n\n<\/html>","type":"rich"}