var fDesc=new Array(); fDesc[1] = "right up to 114-inch chest size.The program's easy to use Windows style interface will provide you with all the features and options you need to customize. With this program you will be able to generate your own schematics using any gauge or style."; fDesc[3] = "increases and decreases for the garment you are knitting can be difficult when you're hand knitting, but I found that Knitting Match Wizard can be a good solution for knitting calculations."; fDesc[7] = "Number stitches and rows per inch. Total number of stitches and rows. Selection of paper size. Optionally print out row and stitch numbers."; fDesc[8] = "You can create your own motif designs or make use of available textured stitches. The program lets you draw in different colors or if you are comfortable with the common knitter's symbols you can also use them."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }