var fDesc=new Array(); fDesc[0] = "Brackets is an open source text and code editor for designing web applications. With real-time connection to your browser, you can edit HTML and CSS code and instantly see those changes on your screen. With Brackets you can use Quick Edit and Live Highlight with your LESS and SCSS files which makes working with them easier. Brackets also supports W3C validation, CSS auto-prefixing, and Git integration."; 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 = ''; } }