var fDesc=new Array(); fDesc[0] = "Risk calculators based on equations from the Framingham Heart Study tend to underestimate risks for people with diabetes as this study included relatively few diabetic subjects. The UKPDS Risk Engine is a type 2 diabetes specific risk calculator based on 53,000 patients years of data from the UK Prospective Diabetes Study, which also provides an approximate 'margin of error' for each estimate."; 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 = ''; } }