var fDesc=new Array(); fDesc[0] = "AnalysIR is a program that allows you to analyze and decode Infrared (IR) signals recorded via various devices. The program can also send IR signals using LEARNIR, A.IR Shield, and USB IR Toy to assist in testing. It supports the following devices: LEARN IR, A.IR Shield Nano, A.IR Shield Photon, A.IR Shield rx, Arduino, Raspberry Pi, iTach Flex, ESP8266/NodeMCU, USB IR Toy, TI LaunchPads, Teensy, Photon, PSOC4, and ChipKit/Fubarino."; 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 = ''; } }