var fDesc=new Array(); fDesc[0] = "The SAMSON Valve Sizing Program is a software for calculating and sizing control valves. This program calculates the valve-specific data (Kvs value, required nominal valve size, etc.) for up to three cases by means of the process and medium data entered by the user. Afterwards, these data are used to determine a valve which is then suggested by the program. Finally, the sound emission and other operating data are calculated for the selected valve. The software includes many additional user-friendly functions for valve sizing."; 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 = ''; } }