var fDesc=new Array(); fDesc[0] = "You get to supercharge your IoT workflow with MQTTBox. You also may connect to Mqtt brokers with TCP, TLS,Web Sockets and Secure Web Sockets, connect with wide range of Mqtt client settings, publish/subscribe to multiple topics, and more. It supports Single Level(+) and Multilevel(#) subscription to topics, Copy/Republish payload, and lets you view history of published/subscribed messages for each topic."; 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 = ''; } }