var fDesc=new Array(); fDesc[0] = "You are a sailor who has lost his ship, besides you are still a sailor who cannot swim, but can jump very well for that. This will have to deal with the game Sailor Jump. Sailor Jump - This is a 2D acrad with a side view, the task is to jump on platforms as long as possible and not fall into the water. Compete with your friends and set new records! The game is not as simple as it may seem at first glance, the main thing is not to hurry and accurately calculate the trajectory and force of the jump."; 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 = ''; } }