var fDesc=new Array();
fDesc[0] = "Cadrail is a powerful CAD program with many different railroad design tools. You can create track plans of any size and shape. There are easy-to-use drag-and-drop tools that allow you to snap track sections together end-to-end and align them automatically. Flexible CAD tools let you create complex shapes that your train will run on and that you can build.";
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 = '';
}
}