var fDesc=new Array(); fDesc[0] = "yGen came about when I realised most of my web pages had multiple repeated elements. E.g. the header, menu bar, sidebar and so on. So, yGen is a combination text editor and compiler, generating finished files (be they html, text, php or any extension you like) from template files and includes. Includes can be nested, allowing you to build complex files from duplicated parts - without manually duplicating anything."; 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 = ''; } }