var fDesc=new Array(); fDesc[0] = "Projected Capacitive Demo is a program that illustrates the functions of the PCAP controller. To begin using the demo, first select one of the three buttons on the left side of the display. The draw icon is for multi-touch drawing, the phone icon is for a demonstration of button pressing, and the photos icons is a demonstration of a simple photo viewer demonstrating the pinch, un-pinch, two-finger translate and swipe gestures."; 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 = ''; } }