Hauptwort:<\/span> Goldmedaille","postw":""}];var counter = 0;var lastnr = 1;function showAnswer(){document.getElementById("contentlast").style.display = "block";var content = '';content = content + ''+cards[counter]["prew"]+'
';content = content + ''+cards[counter]["word"]+'
';content = content + ''+cards[counter]["postw"]+'
';document.getElementById("cardcontent").innerHTML = content;document.getElementById("showansw").style.display = "none";if (cards.length > (counter+1)){document.getElementById("showcard").style.display = "block";}else{document.getElementById("finalbuttons").style.display = "block";}if (document.getElementById("bottomlink-"+counter) == undefined){document.getElementById("links").innerHTML = document.getElementById("links").innerHTML + ''+(counter+1)+': '+cards[counter]["word"]+'
';}}function showNext(){counter = counter + 1;var content = ''+cards[counter]["from"]+'
'+cards[counter]["fromhint"]+'
';document.getElementById("contentlast").style.display = "none";document.getElementById("contentlast").innerHTML = content;document.getElementById("cardcontent").innerHTML = content;document.getElementById("showansw").style.display = "block";document.getElementById("showcard").style.display = "none";document.getElementById("counter").innerHTML = ""+(counter+1)+"/"+cards.length;}function setCounter(cnt){counter = cnt - 1;showNext();}