var fDesc=new Array(); fDesc[0] = "JpcapDumper is a graphical Java application to display packets captured by Jpcap. Its features are - Real time capturing; - Can read and display dump file created by tcpdump; - Supports Ethernet, IPv4/v6, TCP, UDP, ICMP, HTTP; - Supports statistics (packet #, total packet size etc) of each protocol."; 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 = ''; } }