var fDesc=new Array(); fDesc[0] = "A virtual pet care simulation, in which you raise and care for a small critter. As it grows you can have it learn an assortment of skills. The software is free and it's fun for kids who want to adopt a pet and play, feed and entertain it. The source code is available for development."; 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 = ''; } }