var fDesc=new Array(); fDesc[0] = "Ladder Logic Simulator is a simulator which allows ladder or ladder+BASIC program to be simulated on a PC without purchasing the PLCs. As such the i-TRiLOGI software is an ideal training tool for learning PLC programming. Students or technicians can quickly create a ladder logic program on their laptop and instantly test the program using the simulator."; 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 = ''; } }