var fDesc=new Array(); fDesc[0] = "Touch Mouse Mate is a little utility to alter some default behaviors of the Touch Mouse by Microsoft. This application offers new controls for the Touch Mouse such as Double finger swipe up/down to minimize and maximize windows, these new options makes the mouse more user friendly."; 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 = ''; } }