var fDesc=new Array(); fDesc[0] = "StickWriter is a compact and lightweight type of flash writer used to write program data into a micro-computer with built-in flash memory. It allows for both “on-board writing” in which the micro-computer is implemented on a customer-built board, or “off-board writing” in which the device is mounted on the IC socket of our SS board."; 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 = ''; } }