var fDesc=new Array();
fDesc[3] = "holes and warp portals. Smash your way through more than 70 levels and even create your own!";
fDesc[4] = "with a graduated level of difficulty. Play with an alphabetically sorted word list, blanks and for some puzzles questions are available offering a whole new dimension to gameplay. Each puzzle has an underlying theme or subject, making the question and blank options a real test of intellect. Generate your own puzzles, edit current ones, download new puzzles or upload your own for other players to enjoy. Virtual WordSearch is very possibly the most powerful WordSearch game and editor available for your computer.";
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 = '...';
}
}