var fDesc=new Array(); fDesc[1] = "and will captivate you while you are playing. The game consists in a bunch of words mixed up on the screen that you will have to find to get points."; fDesc[2] = ", he must pass through different levels. Along the way, he will encounter emenies that will try to stop him. the way Lex defends himself from these enemies is by spelling out words."; fDesc[6] = "and lexical analysers. This includes both Unicode and Multibyte Character Set (MBCS) variants."; fDesc[7] = "files as well as entire directories. Preset (changeable) count rules for almost all types of source code files."; fDesc[12] = "easily look up words, listen to pronunciations, highlight words and make gap filling exercises. Furthermore you can build up your own glossary."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }