var fDesc=new Array(); fDesc[0] = "Hayagreeva is an open source Indic text editor that allows you to type in Devanagari, Grantha and Roman Transliteration. It is similar to a word processor and supports interactive and intelligent input of characters. You can also change the font type and size of your document."; 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 = ''; } }