var fDesc=new Array();
fDesc[1] = "these games are brainy games. Brain Workout presently has verbal, numerical, spatial, memory and logic types of games. Under Verbal category you will find games of Anagrams, Spelling Test, Split Words, Word Ladders, word Search and Word Wise to enhance your English vocabulary.";
fDesc[2] = "performing two or more activities at the same time. Brain Workshop is based on a mental exercise called Dual N-Back, which has been scientifically tested and proved as having a real impact on short term memory and even on fluid intelligence.";
fDesc[3] = "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[4] = "division or fractions for an exercise.";
fDesc[5] = "with positive and negative numbers. Supports 1-2 players with multiple difficulty levels. Intuitive interface and easy TicTacToe based rules.";
fDesc[6] = "equations. The gameplay is quite dynamic and absorbing, requiring a fast and analytical mind. The game will show you an equation and will challenge you to solve it in the least time possible.";
fDesc[7] = "Use the Brain-sharpener to improve your maths skills Overlay any image on your board. Real darts scorer.";
fDesc[8] = "or practice addition, multiplication, subtraction and division. The application is very easy-to-use, but that does not mean the answers are easy at 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 = '...';
}
}