var fDesc=new Array();
fDesc[0] = "Pipe Poperties is a calculator that help you to calculate some properties for different types of pipe.
The program will report:
* Pipe Outside Diameter
* Inside Diameter
* Wall Thickness
* Inside CS Area
* Traverse Metal Area
* Moment of Inertia
* Section Modulus
* Radius of Gyration
* Outside Surface Area
* Inside Surface Area
* Weight
PIPE PROPERTIES CALCULATOR WILL REPORT FOR:
* ADMIRALTY PIPES
* ALUMINIUM PIPES
* BRASS PIPES
* CAST IRON PIPES
* COPPER PIPES
* NICKEL PIPES
* FERRITIC STAINLESS STEEL PIPE
* AUSTENITIC STAINLESS STEEL
* STEEL PIPE
* TITANIUM PIPE
* WROUGHT IRON PIPE";
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 = '';
}
}