var fDesc=new Array(); fDesc[0] = "The rePatcher Shield gives you a hardware interface to control your Pure Data and MAX/MSP patches as if they were old-school analog modular synthesizers. The rePatcher Shield attaches to an Arduino compatible board, and gives you 6 potentiometers for 10b data input, and a 6 x 6 patchbay matrix. The data streams over USB, and easily integrates into MAX/MSP and Pure Data via a special patch."; 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 = ''; } }