var fDesc=new Array(); fDesc[1] = "pressure, blood sugar or weight. Stores multiple reading per day and calculates averages. Great software for people with diabetics and hypertension."; fDesc[2] = "through readings and graphs that plot the input data in a clear way. The program features a beautiful, well-organized and very customizable user interface that will please anyone. Users can change the way readings are classified and the way they should be entered, and many more."; fDesc[3] = "their systolic and diastolic values and their pulse rate. In the comments field the users can also add any other information they consider to be relevant."; fDesc[4] = "body height and weight. This index is an indicator of body wellness and lets a person know where he stands."; fDesc[5] = "ideal body weight of a person which is calculated based on the gender and height of the person. This software gives best results when used for adults."; 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 = '...'; } }