var fDesc=new Array(); fDesc[2] = "our own customized DVD. This program is very easy to manage even for those users with just basic Windows skills. The wizards will guide us along the DVD creation process in five easy to follow steps. First, we need to name our project, and select the output format (NTSC or PAL)."; fDesc[7] = "many functions, including encrypt images,batch convert and rename image files, animation controls and html album maker."; 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 = '...'; } }