var fDesc=new Array(); fDesc[1] = "number of Chinese words as quickly as possible.All words include a native speaker's recording of its pronunciation."; fDesc[4] = "using other applications - without having to leave the current window."; fDesc[5] = "simple , efficient , and comprehensive tool and designed for the beginners and senior learners to learn Chinese Calligraphy and culture. (1) It helps you learning Chinese Calligraphy as quickly as possible. (2) There are 100 the most popular used Chinese idiom writing demo. (3) All Chinese idiom writing demo are with translation and pronunciation. (4) There are 10 Chinese Calligraphy opuses for appreciate. (5) It helps you manage the web site of Chinese Calligraphy. (6) It can be worked well in English system, Chinese system, Japanese system, it needn't other softs supporting."; fDesc[9] = "stunning interactive websites."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }