var fDesc=new Array(); fDesc[0] = "STMicroelectronics STM8S-TOUCH-LIB is a touch sensing library that provides a complete and robust free source-code solution to transform any 8-bit microcontroller into a capacitive touch sensing controller. This solution allows designers familiar with the use of standard microcontrollers to create higher-end human interfaces by replacing conventional electromechanical switches by touch sensing keys. The STM8 touch sensing library is part of the application firmware."; 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 = ''; } }