var fDesc=new Array(); fDesc[0] = "This drawing program helps you create knitting patterns. KnitBird comes with all the common symbols used in charts. Before publishing your chart, you can customize the description for each symbol to give instructions to those who will knit it. You can open image files from your computer or write text directly into your chart."; 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 = ''; } }