var fDesc=new Array(); fDesc[0] = "Alternate Dictionary is an open source program that allows you to create dictionary for abbreviations or foreign words. The program contains a CSV-interface, which allows you to even edit data with an external application (e.g. MS Excel or Open Office/Libre Office Calc). Additionally, it offers the ability to translate whole sentences or short text passages (the quality strongly depends on the used dictionary)."; 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 = ''; } }