var fDesc=new Array();
fDesc[1] = "injections and more. Statistics give you graphical feedback of your profile, including an A1C value.";
fDesc[2] = "insurance, contacts, allergies, illnesses, surgeries, appointments, medications, vaccinations, blood pressure, weight, glucose.";
fDesc[3] = "doctor visits. Ability to scan in documents, save studies, print emergency permission slips, charts and more.";
fDesc[4] = "field. This program can assist you in managing Type 2 diabetes, but not by replacing a formal medical assessment. The calculator uses the HOMA2 model for its estimation of %S and %B.";
fDesc[6] = "saves all statistics about changes in a user’s glucose level for a certain period of time. The program can be very useful for people who has diabetes and for doctors who institute therapy.";
fDesc[7] = "blood sugar records. Print to standard 8 1/2 inch x 11 inch paper using your printer.";
fDesc[8] = "their glucose test results in many different ways. All records are kept perfectly ordered by date and time. Data entry is easy.";
fDesc[11] = "installer. The main GlucoseOne application is very useful for the user in monitoring the Diabetes level of a particular person. The program can generate and produce detailed reports for a physician to study and provide remedial steps.";
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 = '...';
}
}