var fDesc=new Array(); fDesc[0] = "FlyCarpet works on different kinds of component models from different industries. By assembling components, FlyCarpet can build system models with huge combination, and accomplish system modeling in a very short time, this help users focus on their key works without wasting time on modeling process."; 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 = ''; } }