var fDesc=new Array(); fDesc[0] = "SPIGen is a fully customizable SPI generator package, which can easily adapt to a wide variety of SPI protocol specifications. It supports the Freescale USB SPI dongle/interface. It can save common SPI commands by name, batches of SPI commands can be sent with one click, take control of nine extra non-SPI pins and much 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 = ''; } }