var fDesc=new Array(); fDesc[0] = "The Still Capture Library is a set of functions that allow C/C developers to add still capture from webcams to their applications in just a few lines of code. The library is based on the DirectShow API but all the complexity is invisible to the developer. The Still Capture library is composed of the include file (scapi.h), the library file (scapi32.lib) to link to your modules, the redistributable library (scapi32.dll), the sample source codes in C and the binaries."; 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 = ''; } }