var fDesc=new Array(); fDesc[1] = "OK, at best. It is still in an experimental stage, so I will be easy on them. BitTornado attempts to be a fast BitTorrent client, thus the name. Or messy, maybe?"; fDesc[2] = "data. This application scans your files and deletes stored private information to protect your privacy. In its free scan version some features are disabled."; fDesc[6] = "Torrent Ratio Keeper Monster is the ultimate tool that will enable you to dramatically increase the speed of your downloads and have a high share ratio in the same time."; 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 = '...'; } }