var fDesc=new Array(); fDesc[1] = "allows up to six players to sing along with the music that sounds through your speakers, reading the lyrics in your screen, using microphones in order to introduce your voice and score points, depending on the pitch of the voice and the rhythm of singing."; fDesc[2] = "voice pitch. You control the program using the keyboard (cursor movement keys, Enter key, F2...). No mouse control here."; fDesc[3] = "through a standard sound card and headphones."; fDesc[4] = "avoiding death raining down from above."; 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 = '...'; } }