var fDesc=new Array(); fDesc[0] = "INGEAR Allen-Bradley Studio allows you to design, test, debug and run Windows programs, system services, console applications and more on a single machine. This software contains several DB6 example projects, it is easy to use, samll, tight and fast and works with Visual studio 2005/2008/2010."; 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 = ''; } }