var fDesc=new Array(); fDesc[0] = "Laz4Android is a Lazarus for Android package that can be run on Windows. This package comes with Lazarus:1.4.4 and Android NDK r10e. It is compatible with Android 6.0 and Jmpessoa's LazAndroidModuleWizard. You get various programming examples as a starting point for app programming."; 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 = ''; } }