var fDesc=new Array(); fDesc[0] = "The JPEG2000 Video Decoder is a DirectShow filter that can be used in all DirectShow-based applications. The JPEG2000 decoder offers RGB32 as the preferred output format on its output pin. If the JPEG2000 video stream uses a YUV color space, it performs a dynamic format change before delivering the first frame. If the downstream filter does not accept the format change, the decoder converts from YUV to RGB."; 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 = ''; } }