var fDesc=new Array();
fDesc[0] = "A memory game is where you match cards to win. A set of cards will be shown to you facing down. Click two cards to play the game - if they match, both of them face up. Remembering the combinations is required to win the game in the least number of tries.
There is also a provision for making such interactive memory games, using the pictures, sound files, etc. that you specify. The output will be as an HTML application, that can be run using a web browser.";
function tShowHide(id, show)
{
var s = document.getElementById("desc");
if ((s.innerHTML.length<=212 || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
if (document.getElementById('m1'))
document.getElementById('m1').style.display='none';
if (document.getElementById('m2'))
document.getElementById('m2').style.display='none';
if (document.getElementById('more_txt'))
document.getElementById('more_txt').style.display='inline';
}
else
{
s.innerHTML = '';
}
}