var fDesc=new Array(); fDesc[0] = "Visual Studio Code is a free source code editor for Windows. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C , C#, Python, PHP, Go) and runtimes (such as .NET and Unity). You get syntax highlighting and autocomplete with IntelliSense, which provides smart completions based on variable types, function definitions, and imported modules."; 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 = ''; } }