var fDesc=new Array(); fDesc[1] = "letters, and instead of creating pairs as in a regular Mah Jong game, here you will have to spell words with the available letters in the board."; fDesc[2] = "knowledge and thinking areas like literacy,numeracy, concept and idea, in a visual way.We can download on-line and try this program for free for a 30-days period. There is a Quick Tour at the developer's site where we can see the program on work."; fDesc[3] = "Pre-Primer, Primer, First Grade, Second Grade and Third Grade levels - High-quality audio - Colorful skins - Results chart - Free for pers"; fDesc[7] = "providing hours of sheer fun. Words Rock combines an engaging gameplay with an excellent grammar content that will make them succeed at school."; fDesc[12] = "Grammar and Spelling board game file."; 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 = '...'; } }