var fDesc=new Array(); fDesc[0] = "The RCV-5000 is controlled using custom infrared code sets Celadon has developed for the Philips/Marantz Pronto (.ccf and .pcf file formats). The tables accessible below provide the IR code mapping for the functions available for each device listed. For example, Pronto Button 1 may control ON and Pronto Button 2 may control OFF."; 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 = ''; } }