var fDesc=new Array();
fDesc[0] = "Also known as SDN String Calculator, the Somfy Command Calculator generates command strings for speaking to SDN systems via a third party automation system.
The Somfy Command Calculator presents 3 command types: Motor Commands, Group Commands, and ACK commands.
The data tab presents the source group address, the destination motor address and the node type.";
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 = '';
}
}