';}}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();}