var fDesc=new Array(); fDesc[0] = "We are happy to present you the A-class logic game! The main point is simple electric circuit is out of order, and you must assemble it. Make it faster, and you'll get a good Time Bonus. Make it better, and it will increase your Rotation Bonus. Many points are good, and few are not bad, too! Oh, yes, the only condition is: the circuit should not make circles. It must spread out from one point, like the branches of a tree, not crossing or locking itself."; 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 = ''; } }