var fDesc=new Array(); fDesc[0] = "The current version of SilkQuit calculates the time you have been quit, the total amount of money not spent on your habit, and the time you've saved by not smoking. Your quit duration is shown in years, calendar months, weeks, hours, minutes and seconds. By using a configurable hot-key combination you can paste detailed quit information into any document, handy if you're involved with an online support forum."; 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 = ''; } }