var fDesc=new Array(); fDesc[0] = "The STLUX Software Patch adds support of the STLUX devices when using the RKit-STM8 software package with Ride7. STLUX is a PWM based programmable digital controller for LED lighting applications. After installing this patch, you can program STLUX devices in C language using Ride7 software package. RKit-STM8 is required to be installed before STLUX to add support for STM8/ST7 microcontrollers."; 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 = ''; } }