var fDesc=new Array(); fDesc[0] = "My Pattern Designer can be used to design clothes for men, women, and children. The program comes with a set of patterns for easy design. You can also buy additional designs from the developer. The program comes with both detailed sewing instructions for every pattern of the product and indepth fully illustrated construction articles that show you exactly how to assemble your project."; 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 = ''; } }