var fDesc=new Array(); fDesc[0] = "Ink Ball is a physics game where you will place objects to guide the ink balls towards the inkpot. With increasingly complex levels, this game will test your puzzle skill to the maximum. You will have to place objects to fill the inkpot with at least eight balls. Every object you use and every ball costs points. You must clear the level before the 100 points run out."; 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 = ''; } }