var fDesc=new Array();
fDesc[1] = "have to sort the similar colors together in order to get an atomic reaction. Atomica has two modes of game-play, a strategic turn-based mode and a fast-paced real time mode. This game will definitely take up some of your time if you play it.";
fDesc[2] = "simulation. Model ChemLab consists of a real-time animated interactive simulation engine. It features lab wizard tools which can be used to create lab simulations. The simulation so made can be replayed using the demonstration mode.";
fDesc[3] = "a sequel to the original game Jezzball. The story tells that a very strange atom was discovered in a very far world. the J-Atom. They pay for you for every atom collected. The smaller the carrier, the better for you, cause the atoms preserve best their energy, and you will be better paid.";
fDesc[4] = "Avogadro, a simple and powerful program that will let you see and create all kind of chemical compounds. Besides, you can manipulate molecules and generate 3D graphics easily and with just a couple of clicks.";
fDesc[5] = "elements, atoms and molecules, word equations, chemical symbols, Periodic Table, chemical formulas, balancing chemical equations.";
fDesc[6] = "structure, ionic bonding, covalent bonding, bond energies and the Periodic Table.";
fDesc[7] = "2x2 patterns called molecules eliminates them and adds energy to your power meter. Filling the meter completes the level, but each move adds more atoms to the board, blocking potential matches and risking a board overflow that'll end the game.";
fDesc[9] = "connected to eachother fill the space at the beginning of the game. Every atom has its own speed and direction and all of them are moving in every direction.";
fDesc[10] = "screen. Learn how atoms are formed from electrons, protons and neutrons and how the electrons are arranged in shells or energy levels.";
fDesc[11] = "are formed by atoms sharing electrons. Includes a reference section to support students learning with basic facts and information.";
fDesc[12] = "compounds are formed by atoms gaining and losing electrons. Includes a reference section to support students learning.";
fDesc[14] = "elements of several classic puzzle games like Tetris, Bejewelled and Collapse. Includes a time and puzzle mode of play.";
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 = '...';
}
}