var fDesc=new Array(); fDesc[0] = "Microsoft Office Word is a program that allows you to create documents. It includes tools for the creation of tables, word arts, charts, etc. You can insert various shapes, images, flow-diagrams, and clip-arts to your document. Cross-referencing allows you to manage a list of references, or a numbered list of illustrations and tables."; 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 = ''; } }