var fDesc=new Array(); fDesc[0] = "WinSPS-S7 is a programming and simulation tool for S7-PLCs. You can write your PLC program in STL, LAD or FBD, simulate your PLC program with a virtual PLC (PLC-Mask), import and export your original SIEMENS S7-Project, upload only modified blocks to the PLC with ease, and more."; 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 = ''; } }