var fDesc=new Array(); fDesc[0] = "The DFL-SJ1939 simulator IC is designed to simulate the truck or car's ECU using J1939 protocol. The IC can be used in the test equipment for J1939 device in the production line. It supports both 8 bytes data and length up to 1785 bytes data. You can use free configuration software to customize the source address and 8 bytes of device name, and provide 2 extra customized PGNs."; 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 = ''; } }