var fDesc=new Array(); fDesc[1] = "PC from numerous threats. The application is free, easy to use and, in a few minutes, will make your computer run much better. It scans your system searching for potential issues with your shortcuts, spyware, registry, and start up programs, and then enables you to clean them up."; fDesc[2] = "introduce your product, she can help you express more clearly to add strong impact to the meeting or training course."; fDesc[3] = "events in a way that you will never forget any activity or appointment. The program features a very nice and intuitive user interface, that provides different views of the horizontal and vertical timeline."; fDesc[7] = "workgroup. Meaning the calendar belongs to everyone and everyone can read and write to it."; 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 = '...'; } }