var fDesc=new Array(); fDesc[1] = "dictionary from the wide range they offer. Each dictionary module is a complete language reference, including tens of thousands of indexed entries. Conjugation information is provided for each language."; fDesc[2] = "find the necessary definition using the main search or the alphabetical search. The program requires the Internet connection and also offers web search with the help of a built-in Google search. No illustrations or examples, but the ads by Google and the banners related to medicine and health."; fDesc[4] = "here is a best quality XTerm medical dictionary. This medical dictionary not only contains detailed description of medical terms but it is also full of chemical formulas and diagrams."; 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 = '...'; } }