var fDesc=new Array(); fDesc[0] = "LuaEdit is powerful script editor and debugger for the 5.1 and/or 5.2 version of Lua. It features many tools such as advanced breakpoint management, syntax highlighting, completion proposal list, local and global variable windows. Its interface has been designed to look as close as possible to MS Visual Studio IDE."; 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 = ''; } }