var fDesc=new Array(); fDesc[0] = "DesignSpark Mechanical is a powerful 3D design program that allows you to produce highly detailed dimensioned worksheets. You can combine your creation with off-the-shelf components from RS Components and the Allied Electronics 3D library, create geometry easily with powerful and intuitive gesture-based modeling."; 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 = ''; } }