var fDesc=new Array(); fDesc[0] = "Find Flow, Find Pressure Loss, Size Pipe Diameters and Calculate Pipe Lengths. This is a "What if?" Piping calculations for Liquids and Gases. Pipe Flow Wizard is able to perform four different flow and pressure drop calculations on a single pipe depending on the known information."; 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 = ''; } }