var fDesc=new Array(); fDesc[0] = "The S7 Simulation PLC executes a program in the same manner as a hardware PLC. The advantage of executing a PLC program this way is, that the PLC status can be displayed in real time without any recompile activities. Since the Soft PLC behaves like a original SIMATIC® PLC, the programming tools S7 for Windows® and STEP®7 can be used."; 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 = ''; } }