var fDesc=new Array(); fDesc[0] = "Wahm is an application that enables you to set up an ad-hoc Wi-Fi connection. It allows you to easily configure and control the connection without having to use the command line every time that you want the connection running. You can also specify a Default Gateway and a Primary DNS server address for your connection."; 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 = ''; } }