var fDesc=new Array(); fDesc[0] = "IC Capture can capture and display images and videos from DirectShow devices. This application scans and displays all available capture devices in a list box; simply select the required device to view its realtime video feed. You can also change the exposure, gamma and sharpness, white balance, color & backlight, and zoom & focus using the given sliders."; 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 = ''; } }