var fDesc=new Array(); fDesc[0] = "DNV Software Waveship is a program that calculates wave motions based on 2D strip theory of, and loads on, ships moving with forward speed. It is a general purpose hydrodynamic analysis program that provides information regarding the wave loads on slender vessels. It is designed to work with the Sesam application."; 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 = ''; } }