var fDesc=new Array(); fDesc[0] = "Autoware Ladder Tool allows you to program Arduino boards in Ladder and STL languages. The program allows you to edit a logic in Ladder language and/or STL ( AWL), simulates on the PC the programmed logic, allows you to load the logic on any Arduino board which runs this logic as a real PLC, 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 = ''; } }