var fDesc=new Array(); fDesc[1] = "sound, such as your favorite song, a soundtrack from your favorite movie, your friends' voices, your kids laugh, your cat , etc."; fDesc[2] = "create music. Kids enjoy recording their own vocals; and be creative in their own way."; fDesc[3] = "so you can play for a while and have some fun. It's extremely simple to use. All you have to do is to run the application and start playing. This application is freeware meaning that you won’t have to pay a buck to enjoy it."; fDesc[4] = ", digitized sounds, dozens of built-in word categories, thousands of words, unlimited lists of your own wor..."; 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 = '...'; } }