var fDesc=new Array(); fDesc[0] = "This easy to use program helps you learn Chinese by unlocking the meaning and structure of the Chinese characters in the texts you want to read. With this tool you can read Chinese stories and articles on the topics that interest you and you can build your vocabulary by exploring connections among related words and characters."; 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 = ''; } }