var fDesc=new Array(); fDesc[0] = "SMI Mass Production Tool is a free SM32X Test Program that enables you to scan your USB port and configure the connected device. The program allows you to configure the HUB, to decode CMB files, to create UDisk images and to enable a PLC show. It also gives you detailed information regarding the status of the SM32X devices."; 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 = ''; } }