var fDesc=new Array();
fDesc[0] = "MagCAD is a simple low-cost software tool for calculation (computation, modeling) of spatial distribution of the magnetic field created by permanent magnets and electric coils at presence of nonlinear ferromagnetic materials in cylindrically symmetrical systems.
The magnetic field is calculated by numerical solution of the equation for vector potential on a uniform grid in two dimensions.";
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 = '';
}
}