var fDesc=new Array(); fDesc[1] = "sources of information, on a given word or phrase in any application on your PC just by Alt-clicking on the word. In the first instance, an information bubble opens up to display the definition of the word using Answers' selected information source."; fDesc[2] = "We've compiled the ultimate reference program: encyclopedias, dictionary, thesaurus, companies, celebrities, stock prices, and much more. Search engines are great for lists of links, but GuruNet goes beyond search to bring a summary to you in a simple 1-click popup window, without interrupting your work."; 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 = '...'; } }