var fDesc=new Array(); fDesc[0] = "Use RS485 to establish a communication link between your laptop and the Somfy RS485 product. The RS485 demo tool software is used to control, from a computer, Somfy motorised applications through a RS485 network. It is possible to control the Sonesse 30 RS485 motor directly, or control RTS devices via the RS485 RTS Transmitter."; 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 = ''; } }