var fDesc=new Array();
fDesc[1] = "functions and features, it can help composers, students, and music teachers to easily create and edit melodies by means of a flexible score editor. Using its own built-in synthesizer that works even in computers with basic sound cards, HA is able to reproduce the melody we are creating.";
fDesc[2] = "to create, render, and print music. Melody Assistant integrates a wide array of tools that will make the process of creating music easier and precise.";
fDesc[4] = "of modules. High sample-rate control data path allows for vocoder-like and other effects to be designed.";
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 = '...';
}
}