var fDesc=new Array(); fDesc[1] = "accurate Export Preview; five anti-aliasing levels. Includes fonts, objects, etc. FREE. Registration required."; fDesc[2] = "easy, simple and efficient way. This amazing program will become an excellent utility when you have to develop your 3D projects, because it will allow you to create any image from scratch, or modify any model that you already have on your PC."; 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 = '...'; } }