var fDesc=new Array(); fDesc[0] = "WinSPS is a programming system for programmable logic controllers (PLC). It runs under Windows and is oriented at the programming language Step-5. WinSPS provides the possibility for the programming, diagnosis and simulation of a PLC. With its powerful simulator WinSPS is also useful for education and training. It is adapted to different ADs by drivers. Other AD can be programmed by the user."; 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 = ''; } }