var fDesc=new Array(); fDesc[1] = "choose between RSS 2.0, RSS 0.91, RSS 0.92, and Podcast feed formats. It allows us to create feeds containing non-Latin characters, such as Russian, Japanese, etc."; fDesc[2] = "settings that you can adjust according to your needs. You can program and display personal or business appointments, as well as training topics on negotiation, pricing, recruitment and so on. A very useful tool, indeed."; 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 = '...'; } }