var fDesc=new Array(); fDesc[0] = "OpenSharpLCA is a tool written in C#, let the user communicate with a tcp-ip gateway OpenWebNet thanks to Open commands. The purpose is to show how to control Light points, Camera and Automation points (LCA) in an animated way. In the main form user set the Web Server IP address and open the three different control’s windows."; 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 = ''; } }