var fDesc=new Array(); fDesc[0] = "XML Editor allows you to create new XML files as well as edit and view existing XML files using a convenient. It has a Graphical User Interface. The tool provides a range of features in an intuitive environment. Features include validation, viewing XML as a DOM tree, and a range of features to aid the editing of XML files."; 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 = ''; } }