var fDesc=new Array(); fDesc[0] = "SmartWorks EZ software is very simple to use and designed for operation by non-specialist users. Choose your preferred method of controlling the SmartLF scanner with either keyboard, mouse or touch-screen modes, while providing all the basic scan to file and scan to copy functionality you need."; 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 = ''; } }