var fDesc=new Array(); fDesc[0] = "EDIParserViewer is a viewer application for viewing EDI messages in SCRIPT, X12 and HL7 standards. The intent of the EDIParserViewer is to make your job easier when looking at EDI messages by displaying the EDI message in a tree like structure format. EDIParserViewer also allow you to view the EDI message in raw text, hex and hierarchical formats."; 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 = ''; } }