var fDesc=new Array();
fDesc[0] = "This program enables physicians and the general public to readily assess a person's risk of dying within 5 years from cardiovascular disease, including both stroke and heart disease.
To calculate the risk score you need to know the following: age, sex, systolic blood pressure, serum total cholesterol, serum creatinine and height.
Also you must know if the person is a current smoker, diabetic, left ventricular hypertrophy, previous heart attack/myocardial infarction and previous strokes.";
function tShowHide(id, show)
{
var s = document.getElementById("desc");
if ((s.innerHTML.length<=212 || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
if (document.getElementById('m1'))
document.getElementById('m1').style.display='none';
if (document.getElementById('m2'))
document.getElementById('m2').style.display='none';
if (document.getElementById('more_txt'))
document.getElementById('more_txt').style.display='inline';
}
else
{
s.innerHTML = '';
}
}