var fDesc=new Array(); fDesc[0] = "Witty Dictionary is an English to Hindi translation software for Windows users. The program has a user-friendly interface and offers a quick and easy way of searching for words. Also, it provides the ability to add new words and to modify existing ones. The program's database is offline, so you don't need an Internet connection in order to use the program."; 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 = ''; } }