var fDesc=new Array(); fDesc[0] = "Optimized for web applications, Dynamic Webcam SDK is a browser plugin which enables users to acquire an image from a webcam, edit and then upload/save it to a database, web server or local disk. Also, it can capture a live video stream into a container and grab a snapshot to be exported to a file/binary."; 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 = ''; } }