var fDesc=new Array();
fDesc[1] = "called brainwave entrainment. You can sit through and experience specific sessions, each designed to stimulate a specific brainwave pattern, thereby bringing about a long-lasting change.";
fDesc[2] = "This brainteaser will keep your attention focused and bring lots of fun and the same time.";
fDesc[3] = "develop stress management skills and develop creativity. By tracking your brain capacity over time, Brain Challenge will help you identify your mental strengths and weaknesses and help you become stronger overall. Try this game for 30 minutes before buying.";
fDesc[5] = "to enhance some mind processes. In Brainiversity there are four categories in which all the tests are divided, these are: Language, Memory, Math and Analysis.";
fDesc[7] = "for all age groups. In the refined online league system you can match yourself with the rest of the world. Have fun - just be quicker!";
fDesc[8] = "works out two of these skills, for double the mental muscle building. There are 15 different Brain Builder games so you won’t get bored, that's for sure. Try this game for 60 minutes before you buy the licensed version.";
fDesc[9] = "runs out. On the left side of the screen we can see the words we are correctly adding. When time runs out we will get to the next stage if our score, and number of correct answers is enough, otherwise, game will be over.";
fDesc[11] = "downloading and purchasing. The game provides players with a fun, brain-training arcade experience. Triangles of same colors should be correctly lined up by rotating - thus disappearing and allowing other tiles to fall. The object of the game is to try to get rid of them all.";
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 = '...';
}
}