var fDesc=new Array(); fDesc[0] = "There are many occupations in the world, but we can only try several of them during our lifetime. Luckily we have computer games which help us to understand how people work around the world. This game introduces to us the profession of crane-operator in the docks. Load up the ships with heavy crates and try not to miss the deck!"; 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 = ''; } }