var fDesc=new Array();
fDesc[0] = "MAG3D is a program for carrying out forward modelling and smooth inversion of surface, airborne, and/or borehole magnetic data in three dimensions.
MAG3D uses a semi-regular 3D mesh where each volume element (voxel) is allocated a magnetic susceptibility and the distribution of magnetic properties created by the inversion assists with the understanding of the subsurface geology.";
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 = '';
}
}