var fDesc=new Array(); fDesc[0] = "Adapt It WX is an open source program that provides you the necessary tools for translating either text or scripture from one language to another. It can be an appropriate tool for native speakers who have no linguistic training. It maintains a Knowledge Base which stores word and phrase adaptations that can be automatically inserted into the target text, thus speeding the translation process."; 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 = ''; } }