var fDesc=new Array();
fDesc[0] = "Recursive Karakuri Treasure Chest Puzzle presents you with a challenge of opening a virtual treasure chest by unlocking a set of sliding levers. The 3D model is faithful to the physical world in that a lever does not move when it is blocked by another. You open the treasure chest by moving the large green lever. However, in order to move the large green lever, you must first move the large pink lever, which is blocked by the middle green lever... and so on. You move levers by clicking them with the mouse. You can rotate the box for a better viewing angle by dragging it with the mouse.
This program was written in C using a DirectX SDK. This program comes with an installer and an uninstaller, runs on XP, 7 or later, and requires DirectX 9.0c or later.";
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 = '';
}
}